Lines Matching defs:attribute
55 PackageNodeAttribute* attribute, int openMode)
59 fAttribute(attribute),
81 // get the attribute
82 PackageNodeAttribute* attribute = packageNode->FindAttribute(name);
83 if (attribute == NULL) {
84 // We don't know the attribute -- maybe it's an auto-generated one.
91 UnpackingAttributeCookie(packageNode, attribute, openMode);
120 PackageNodeAttribute* attribute, off_t offset, void* buffer,
123 const PackageData& data = attribute->Data();
156 // get the attribute
157 PackageNodeAttribute* attribute = packageNode->FindAttribute(
159 if (attribute == NULL)
165 status_t error = indexer->CreateCookie(packageNode, attribute,
166 attribute->Type(), attribute->Data().UncompressedSize(), data, toRead);
170 // read the attribute
172 // The package must be open or otherwise reading the attribute data
181 error = ReadAttribute(packageNode, attribute, 0, data, &toRead);
188 attribute->SetIndexCookie(indexer->Cookie());