Searched refs:attrSize (Results 1 - 6 of 6) sorted by relevance

/haiku-fatelf/src/build/libbe/storage/
H A DNodeInfo.cpp227 size_t attrSize = 0; local
233 attrSize = 16 * 16;
239 attrSize = 32 * 32;
258 if (error == B_OK && attrInfo.size != (off_t)attrSize)
267 buffer = new(nothrow) char[attrSize];
272 attrSize);
276 attrSize);
287 error = icon->ImportBits(buffer, attrSize, B_ANY_BYTES_PER_ROW,
323 size_t attrSize = 0; local
329 attrSize
[all...]
H A DAppFileInfo.cpp855 size_t attrSize = 0; local
861 attrSize = 16 * 16;
867 attrSize = 32 * 32;
899 buffer = new(nothrow) char[attrSize];
903 error = _ReadData(attribute, -1, attrType, buffer, attrSize,
907 error = _ReadData(attribute, -1, attrType, icon->Bits(), attrSize,
910 if (error == B_OK && read != attrSize)
915 error = icon->ImportBits(buffer, attrSize, B_ANY_BYTES_PER_ROW,
955 size_t attrSize = 0; local
962 attrSize
[all...]
/haiku-fatelf/src/kits/storage/
H A DAppFileInfo.cpp996 size_t attrSize = 0; local
1002 attrSize = 16 * 16;
1008 attrSize = 32 * 32;
1037 buffer = new(nothrow) uint8[attrSize];
1041 error = _ReadData(attribute, -1, attrType, buffer, attrSize,
1045 error = _ReadData(attribute, -1, attrType, icon->Bits(), attrSize,
1048 if (error == B_OK && read != attrSize)
1149 size_t attrSize = 0; local
1156 attrSize = 16 * 16;
1164 attrSize
[all...]
H A DNodeInfo.cpp242 // size_t attrSize = 0;
248 // attrSize = 16 * 16;
254 // attrSize = 32 * 32;
275 // if (error == B_OK && attrInfo.size != attrSize)
285 // buffer = new(nothrow) char[attrSize];
290 // attrSize);
294 // attrSize);
305 // error = icon->ImportBits(buffer, attrSize, B_ANY_BYTES_PER_ROW,
341 size_t attrSize = 0; local
347 attrSize
[all...]
/haiku-fatelf/src/libs/icon/
H A DIconUtils.cpp439 size_t attrSize = 0; local
445 attrSize = 16 * 16;
451 attrSize = 32 * 32;
465 if (ret == B_OK && attrInfo.size != attrSize)
481 buffer = new(nothrow) uint8[attrSize];
485 read = node->ReadAttr(attribute, attrType, 0, buffer, attrSize);
489 attrSize);
494 else if (read != (ssize_t)attrSize)
/haiku-fatelf/src/servers/registrar/mime/
H A DDatabase.cpp415 size_t attrSize = (size_t)which * (size_t)which; local
417 if (dataSize != attrSize)
438 err = node.WriteAttr(attr.c_str(), attrType, 0, data, attrSize);
440 err = err == (ssize_t)attrSize ? (status_t)B_OK : (status_t)B_FILE_ERROR;

Completed in 112 milliseconds