Lines Matching defs:attribute

649 	// TODO: for consistency with attribute based icon reading, we
668 const char* attribute = vectorAttributeName.String();
672 status_t error = _ReadData(attribute, -1, B_VECTOR_ICON_TYPE, NULL, 0,
711 // compose attribute name
713 attribute = attributeString.String();
727 // other color space or bitmap size than stored in attribute
732 error = _ReadData(attribute, -1, attrType, buffer, attrSize,
736 error = _ReadData(attribute, -1, attrType, icon->Bits(), attrSize,
742 // other color space than stored in attribute
831 const char* attribute = attributeString.String();
841 // write/remove the attribute
851 error = _WriteData(attribute, resourceID, attrType,
855 error = _WriteData(attribute, resourceID, attrType,
859 error = _RemoveData(attribute, attrType);
862 // set the attribute on the MIME type, if the file has a signature
903 const char* attribute = attributeString.String();
906 // write/remove the attribute
908 error = _WriteData(attribute, resourceID, attrType, data, size, true);
910 error = _RemoveData(attribute, attrType);
912 // set the attribute on the MIME type, if the file has a signature
1005 /*! Reads data from an attribute or resource.
1012 \param name The name of the attribute/resource to be read.
1015 \param type The type of the attribute/resource to be read.
1043 // get an attribute info
1126 /*! Writes data to an attribute or resource.
1133 \param name The name of the attribute/resource to be written.
1135 \param type The type of the attribute/resource to be written.
1155 // write to attribute
1183 /*! Removes an attribute or resource.
1190 \param name The name of the attribute/resource to be remove.
1191 \param type The type of the attribute/resource to be removed.
1196 \retval B_ENTRY_NOT_FOUND The attribute or resource was not found.
1206 // remove the attribute
1209 // It's no error, if there has been no attribute.