Lines Matching defs:attribute

27 // attribute names
113 Writes the contents of the "BEOS:TYPE" attribute into the supplied buffer
123 attribute is longer than \c B_MIME_TYPE_LENGTH.
124 - \c B_BAD_TYPE: The attribute the type string is stored in has the wrong
136 // get the attribute info and check type and length of the attr contents
162 The supplied string is written into the node's "BEOS:TYPE" attribute.
164 If \a type is \c NULL, the respective attribute is removed.
184 // write/remove the attribute
205 "BEOS:M:STD_ICON" (mini) attribute is retrieved.
224 const char *attribute = NULL;
230 attribute = kNIMiniIconAttribute;
236 attribute = kNILargeIconAttribute;
252 // get the attribute info and check type and size of the attr contents
255 error = fNode->GetAttrInfo(attribute, &attrInfo);
260 // read the attribute
266 // other color space than stored in attribute
271 read = fNode->ReadAttr(attribute, attrType, 0, buffer,
275 read = fNode->ReadAttr(attribute, attrType, 0, icon->Bits(),
285 // other color space than stored in attribute
300 "BEOS:M:STD_ICON" (mini) attribute.
302 If \a icon is \c NULL, the respective attribute is removed.
320 const char *attribute = NULL;
326 attribute = kNIMiniIconAttribute;
332 attribute = kNILargeIconAttribute;
348 // write/remove the attribute
359 written = fNode->WriteAttr(attribute, attrType, 0,
363 written = fNode->WriteAttr(attribute, attrType, 0,
373 error = fNode->RemoveAttr(attribute);
381 Writes the contents of the "BEOS:PREF_APP" attribute into the supplied
403 // get the attribute info and check type and length of the attr contents
429 The supplied string is written into the node's "BEOS:PREF_APP" attribute.
431 If \a signature is \c NULL, the respective attribute is removed.
454 // write/remove the attribute
475 The path contained in the node's "BEOS:PPATH" attribute is converted into
493 // get the attribute info and check type and length of the attr contents
497 // NOTE: The attribute type should be B_STRING_TYPE, but R5 uses
526 "BEOS:PPATH" attribute.
528 If \a ref is \c NULL, the respective attribute is removed.
545 // write/remove the attribute