Lines Matching defs:attribute

188 		Attribute* attribute = new Attribute(attributeID);
189 parentAttribute->AddChild(attribute);
193 attribute->value.SetTo(value.signedInt);
197 attribute->value.SetTo(value.unsignedInt);
205 attribute->value.SetTo(string);
211 attribute->value.SetToData(value.data.size,
215 attribute->value.SetToData(value.data.size, value.data.raw);
217 fErrorOutput->PrintError("Invalid attribute value encoding "
218 "%d (attribute %d)\n", value.encoding, attributeID);
225 fErrorOutput->PrintError("Invalid attribute value type %d "
226 "(attribute %d)\n", value.type, attributeID);
230 _token = attribute;
401 void ProcessAttribute(Attribute* attribute)
403 // If the attribute refers to a heap value, adjust it
404 AttributeValue& value = attribute->value;
414 = attribute->children.GetIterator();
943 Attribute* attribute = fRootAttribute;
946 while (attribute != NULL) {
954 return attribute->FindEntryChild(fileName) != NULL;
962 attribute = attribute->FindEntryChild(fileName, nextSlash - fileName);
974 // get the .PackageInfo entry attribute
975 Attribute* attribute = fRootAttribute->FindEntryChild(
977 if (attribute == NULL) {
983 // get the data attribute
984 Attribute* dataAttribute = attribute->ChildWithID(B_HPKG_ATTRIBUTE_ID_DATA);
994 "attribute (not of type raw).\n", B_HPKG_PACKAGE_INFO_FILE_NAME);
1054 // Check whether there's an entry attribute for this entry. If not, we can
1147 "Failed to stat attribute \"%s\" of directory \"%s\": "
1152 // check whether the attribute exists
1161 "attribute.\n", pathBuffer);
1232 PackageWriterImpl::_AttributeRemoved(Attribute* attribute)
1234 AttributeValue& value = attribute->value;
1243 = attribute->children.GetIterator();
1355 PackageWriterImpl::_WriteAttributeChildren(Attribute* attribute)
1358 = attribute->children.GetIterator();
1442 // In update mode we don't need to add an entry attribute for an implicit
1474 // add attribute entry, if it doesn't already exist (update mode, directory)
1532 "Failed to stat attribute \"%s\" of file \"%s\": %s\n",
1537 // create attribute entry
1605 Attribute* attribute = new Attribute(id);
1607 attribute->value = value;
1608 fTopAttribute->AddChild(attribute);
1610 return attribute;