Searched refs:attrType (Results 1 - 18 of 18) sorted by relevance

/haiku-fatelf/src/bin/addattr/
H A DaddAttr.h14 status_t addAttr(const char *file, type_code attrType, const char *attrName,
H A Dmain.cpp151 type_code attrType = B_STRING_TYPE; local
201 if (typeForString(optarg, &attrType) != B_OK)
234 status_t status = addAttr(argv[optind], attrType, attrName, attrValue,
238 if (status == B_BAD_VALUE && attrType == B_BOOL_TYPE)
/haiku-fatelf/src/build/libbe/storage/
H A DNodeInfo.cpp226 uint32 attrType = 0; local
232 attrType = B_MINI_ICON_TYPE;
238 attrType = B_LARGE_ICON_TYPE;
256 if (error == B_OK && attrInfo.type != attrType)
271 read = fNode->ReadAttr(attribute, attrType, 0, buffer,
275 read = fNode->ReadAttr(attribute, attrType, 0, icon->Bits(),
322 uint32 attrType = 0; local
328 attrType = B_MINI_ICON_TYPE;
334 attrType = B_LARGE_ICON_TYPE;
359 written = fNode->WriteAttr(attribute, attrType,
[all...]
H A DAppFileInfo.cpp854 uint32 attrType = 0; local
860 attrType = B_MINI_ICON_TYPE;
866 attrType = B_LARGE_ICON_TYPE;
903 error = _ReadData(attribute, -1, attrType, buffer, attrSize,
907 error = _ReadData(attribute, -1, attrType, icon->Bits(), attrSize,
954 uint32 attrType = 0; local
961 attrType = B_MINI_ICON_TYPE;
969 attrType = B_LARGE_ICON_TYPE;
1006 error = _WriteData(attribute, resourceID, attrType,
1010 error = _WriteData(attribute, resourceID, attrType,
[all...]
/haiku-fatelf/src/kits/tracker/
H A DViewState.cpp82 alignment align, const char* attributeName, uint32 attrType,
85 _Init(title, offset, width, align, attributeName, attrType, displayAs,
91 alignment align, const char* attributeName, uint32 attrType,
94 _Init(title, offset, width, align, attributeName, attrType, NULL,
147 alignment align, const char* attributeName, uint32 attrType,
156 fAttrHash = AttrHashString(attributeName, attrType);
157 fAttrType = attrType;
81 BColumn(const char* title, float offset, float width, alignment align, const char* attributeName, uint32 attrType, const char* displayAs, bool statField, bool editable) argument
90 BColumn(const char* title, float offset, float width, alignment align, const char* attributeName, uint32 attrType, bool statField, bool editable) argument
146 _Init(const char* title, float offset, float width, alignment align, const char* attributeName, uint32 attrType, const char* displayAs, bool statField, bool editable) argument
H A DViewState.h50 alignment align, const char* attributeName, uint32 attrType,
53 alignment align, const char* attributeName, uint32 attrType,
82 alignment align, const char* attributeName, uint32 attrType,
H A DPose.h105 uint32 attrType, int32 poseIndex, BPoint poseLoc,
H A DWidgetAttributeText.h100 const char* attrName, int32 attrType, float width,
H A DPose.cpp238 uint32 attrType, int32, BPoint poseLoc, BPoseView* poseView, bool visible)
252 uint32 attrHash = AttrHashString(attrName, attrType);
258 } else if (attrType == 0) {
237 UpdateWidgetAndModel(Model* resolvedModel, const char* attrName, uint32 attrType, int32, BPoint poseLoc, BPoseView* poseView, bool visible) argument
H A DWidgetAttributeText.cpp392 const char* attrName, int32 attrType, float width, BView* view,
401 switch (attrType) {
391 AttrAsString(const Model* model, BString* result, const char* attrName, int32 attrType, float width, BView* view, int64* resultingValue) argument
H A DPoseView.cpp2778 uint32 attrType;
2779 if (message->FindInt32("attr_type", (int32*)&attrType) != B_OK)
2802 attrName, attrType, displayAs, isStatfield, isEditable);
/haiku-fatelf/src/kits/storage/
H A DAppFileInfo.cpp995 uint32 attrType = 0; local
1001 attrType = B_MINI_ICON_TYPE;
1007 attrType = B_LARGE_ICON_TYPE;
1041 error = _ReadData(attribute, -1, attrType, buffer, attrSize,
1045 error = _ReadData(attribute, -1, attrType, icon->Bits(), attrSize,
1148 uint32 attrType = 0; local
1155 attrType = B_MINI_ICON_TYPE;
1163 attrType = B_LARGE_ICON_TYPE;
1200 error = _WriteData(attribute, resourceID, attrType,
1204 error = _WriteData(attribute, resourceID, attrType,
1252 uint32 attrType = B_VECTOR_ICON_TYPE; local
[all...]
H A DNodeInfo.cpp241 // uint32 attrType = 0;
247 // attrType = B_MINI_ICON_TYPE;
253 // attrType = B_LARGE_ICON_TYPE;
273 // if (error == B_OK && attrInfo.type != attrType)
289 // read = fNode->ReadAttr(attribute, attrType, 0, buffer,
293 // read = fNode->ReadAttr(attribute, attrType, 0, icon->Bits(),
340 uint32 attrType = 0; local
346 attrType = B_MINI_ICON_TYPE;
352 attrType = B_LARGE_ICON_TYPE;
379 written = fNode->WriteAttr(attribute, attrType,
[all...]
/haiku-fatelf/src/apps/packageinstaller/
H A DPackageItem.cpp242 uint32 attrType = 0; // type_code type local
249 ret = ParseAttribute(buffer, node, &attrName, &nameSize, &attrType,
271 uint32 *nameSize, uint32 *attrType, uint8 **attrData, uint64 *dataSize,
313 fPackage->Read(attrType, 4);
314 swap_data(B_UINT32_TYPE, attrType, sizeof(*attrType),
361 ssize_t wrote = node->WriteAttr(*attrName, *attrType, 0, *attrData,
865 uint32 attrType = 0; // type_code type local
884 &attrType, &attrData, &dataSize, &temp, &tempSize,
270 ParseAttribute(uint8 *buffer, BNode *node, char **attrName, uint32 *nameSize, uint32 *attrType, uint8 **attrData, uint64 *dataSize, uint8 **temp, uint64 *tempSize, uint64 *attrCSize, uint64 *attrOSize, bool *attrStarted, bool *done) argument
H A DPackageItem.h95 uint32* attrType, uint8** attrData,
/haiku-fatelf/src/libs/icon/
H A DIconUtils.cpp317 type_code attrType = B_VECTOR_ICON_TYPE;
319 if (attrInfo.type != attrType)
327 ssize_t read = node->ReadAttr(attrName, attrType, 0, buffer, attrInfo.size);
438 uint32 attrType = 0; local
444 attrType = B_MINI_ICON_TYPE;
450 attrType = B_LARGE_ICON_TYPE;
463 if (ret == B_OK && attrInfo.type != attrType)
485 read = node->ReadAttr(attribute, attrType, 0, buffer, attrSize);
488 read = node->ReadAttr(attribute, attrType, 0, icon->Bits(),
/haiku-fatelf/src/servers/registrar/mime/
H A DDatabase.cpp400 int32 attrType = 0;
405 attrType = kMiniIconType;
408 attrType = kLargeIconType;
438 err = node.WriteAttr(attr.c_str(), attrType, 0, data, attrSize);
481 int32 attrType = B_VECTOR_ICON_TYPE;
499 err = node.WriteAttr(attr.c_str(), attrType, 0, data, dataSize);
/haiku-fatelf/src/tests/kits/storage/
H A DNodeTest.cpp885 uint32 attrType = attrInfos[i].type; local
886 CPPUNIT_ASSERT( node.WriteAttr(attrName, attrType, 0, attrValue,

Completed in 212 milliseconds