Lines Matching defs:attribute

1423 			// get next attribute
1424 Attribute *attribute = NULL;
1425 if (iterator->GetNext(&attribute) == B_OK) {
1426 const char *name = attribute->GetName();
1518 // try to find the attribute
1519 Attribute *attribute = NULL;
1520 node->FindAttribute(name, &attribute);
1522 // in case the attribute exists we fail if required by the openMode
1523 if (attribute && (openMode & O_EXCL))
1528 if (!attribute || (openMode & O_TRUNC))
1547 // if not existing yet, create the attribute and set its type
1548 if (!attribute) {
1549 error = node->CreateAttribute(name, &attribute);
1553 attribute->SetType(type);
1560 error = attribute->SetSize(0);
1592 // find the attribute
1593 Attribute *attribute = NULL;
1595 error = node->FindAttribute(name, &attribute);
1619 error = attribute->SetSize(0);
1683 // find the attribute
1684 Attribute *attribute = NULL;
1686 error = node->FindAttribute(cookie->GetName(), &attribute);
1695 error = attribute->ReadAt(pos, buffer, *bufferSize, bufferSize);
1717 // FUNCTION(("failed: node: %s, attribute: %s\n",
1725 // find the attribute
1726 Attribute *attribute = NULL;
1728 error = node->FindAttribute(cookie->GetName(), &attribute);
1737 error = attribute->WriteAt(pos, buffer, *bufferSize, bufferSize);
1763 // find the attribute
1764 Attribute *attribute = NULL;
1766 error = node->FindAttribute(cookie->GetName(), &attribute);
1775 st->st_type = attribute->GetType();
1776 st->st_size = attribute->GetSize();
1809 // find the attribute
1810 Attribute *attribute = NULL;
1812 error = node->FindAttribute(name, &attribute);
1816 error = node->DeleteAttribute(attribute);
2225 /* attribute directory operations */
2232 /* attribute operations */