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

/haiku/src/bin/addattr/
H A DaddAttr.h14 status_t addAttr(const char* file, type_code attrType, const char* attrName,
H A Dmain.cpp164 type_code attrType = B_STRING_TYPE; local
214 if (typeForString(optarg, &attrType) != B_OK)
222 if (typeForString(code, &attrType) == B_OK)
256 status_t status = addAttr(argv[optind], attrType, attrName, attrValue,
260 if (status == B_BAD_VALUE && attrType == B_BOOL_TYPE)
/haiku/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.cpp694 uint32 attrType = 0; local
700 attrType = B_MINI_ICON_TYPE;
706 attrType = B_LARGE_ICON_TYPE;
734 error = _ReadData(attribute, -1, attrType, buffer, attrSize,
738 error = _ReadData(attribute, -1, attrType, icon->Bits(), attrSize,
798 uint32 attrType = 0; local
805 attrType = B_MINI_ICON_TYPE;
813 attrType = B_LARGE_ICON_TYPE;
853 error = _WriteData(attribute, resourceID, attrType,
857 error = _WriteData(attribute, resourceID, attrType,
896 uint32 attrType = B_VECTOR_ICON_TYPE; local
[all...]
/haiku/src/kits/storage/
H A DAppFileInfo.cpp692 uint32 attrType = 0; local
698 attrType = B_MINI_ICON_TYPE;
704 attrType = B_LARGE_ICON_TYPE;
732 error = _ReadData(attribute, -1, attrType, buffer, attrSize,
736 error = _ReadData(attribute, -1, attrType, icon->Bits(), attrSize,
796 uint32 attrType = 0; local
803 attrType = B_MINI_ICON_TYPE;
811 attrType = B_LARGE_ICON_TYPE;
851 error = _WriteData(attribute, resourceID, attrType,
855 error = _WriteData(attribute, resourceID, attrType,
892 uint32 attrType = B_VECTOR_ICON_TYPE; local
[all...]
H A DNodeInfo.cpp173 uint32 attrType = 0; local
180 attrType = B_MINI_ICON_TYPE;
187 attrType = B_LARGE_ICON_TYPE;
216 written = fNode->WriteAttr(attribute, attrType, 0,
220 written = fNode->WriteAttr(attribute, attrType, 0,
/haiku/src/kits/tracker/
H A DViewState.h50 alignment align, const char* attributeName, uint32 attrType,
53 alignment align, const char* attributeName, uint32 attrType,
83 alignment align, const char* attributeName, uint32 attrType,
H A DViewState.cpp85 alignment align, const char* attributeName, uint32 attrType,
88 _Init(title, width, align, attributeName, attrType, displayAs,
94 alignment align, const char* attributeName, uint32 attrType,
97 _Init(title, width, align, attributeName, attrType, NULL,
182 alignment align, const char* attributeName, uint32 attrType,
191 fAttrHash = AttrHashString(attributeName, attrType);
192 fAttrType = attrType;
84 BColumn(const char* title, float width, alignment align, const char* attributeName, uint32 attrType, const char* displayAs, bool statField, bool editable) argument
93 BColumn(const char* title, float width, alignment align, const char* attributeName, uint32 attrType, bool statField, bool editable) argument
181 _Init(const char* title, float width, alignment align, const char* attributeName, uint32 attrType, const char* displayAs, bool statField, bool editable) argument
H A DPose.h105 uint32 attrType, int32 poseIndex, BPoint poseLoc,
H A DTrackerInitialState.cpp106 uint32 attrType; member in struct:ColumnData
230 src[i].attrType, src[i].statField, src[i].editable);
H A DWidgetAttributeText.h101 const char* attrName, int32 attrType, float width,
H A DPose.cpp245 uint32 attrType, int32, BPoint poseLoc, BPoseView* poseView, bool visible)
259 uint32 attrHash = AttrHashString(attrName, attrType);
265 } else if (attrType == 0) {
244 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* outString, const char* attrName, int32 attrType, float width, BView* view, int64* resultingValue) argument
H A DPoseView.cpp2894 uint32 attrType;
2895 if (message->FindInt32("attr_type", (int32*)&attrType) != B_OK)
2918 attrName, attrType, displayAs, isStatfield, isEditable);
/haiku/src/apps/packageinstaller/
H A DPackageItem.cpp288 uint32 attrType = 0; // type_code type local
295 ret = ParseAttribute(buffer, node, &attrName, &nameSize, &attrType,
317 uint32* nameSize, uint32* attrType, uint8** attrData, uint64* dataSize,
359 fPackage->Read(attrType, 4);
360 swap_data(B_UINT32_TYPE, attrType, sizeof(*attrType),
407 ssize_t wrote = node->WriteAttr(*attrName, *attrType, 0, *attrData,
972 uint32 attrType = 0; // type_code type local
991 &attrType, &attrData, &dataSize, &temp, &tempSize,
316 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/src/libs/icon/
H A DIconUtils.cpp402 type_code attrType = B_VECTOR_ICON_TYPE;
404 if (attrInfo.type != attrType)
417 ssize_t bytesRead = node->ReadAttr(attrName, attrType, 0, buffer,
540 uint32 attrType = 0; local
546 attrType = B_MINI_ICON_TYPE;
553 attrType = B_LARGE_ICON_TYPE;
568 if (result == B_OK && attrInfo.type != attrType)
591 bytesRead = node->ReadAttr(attribute, attrType, 0, buffer,
595 bytesRead = node->ReadAttr(attribute, attrType, 0, icon->Bits(),
/haiku/src/kits/storage/mime/
H A DDatabase.cpp433 int32 attrType = 0;
438 attrType = kMiniIconType;
441 attrType = kLargeIconType;
471 err = node.WriteAttr(attr.c_str(), attrType, 0, data, attrSize);
514 int32 attrType = B_VECTOR_ICON_TYPE;
532 err = node.WriteAttr(attr.c_str(), attrType, 0, data, dataSize);
/haiku/src/tests/kits/storage/
H A DNodeTest.cpp906 uint32 attrType = attrInfos[i].type; local
907 CPPUNIT_ASSERT( node.WriteAttr(attrName, attrType, 0, attrValue,

Completed in 123 milliseconds