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

/haiku/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.cpp695 size_t attrSize = 0; local
701 attrSize = 16 * 16;
707 attrSize = 32 * 32;
730 buffer = new(std::nothrow) uint8[attrSize];
734 error = _ReadData(attribute, -1, attrType, buffer, attrSize,
738 error = _ReadData(attribute, -1, attrType, icon->Bits(), attrSize,
741 if (error == B_OK && read != attrSize)
799 size_t attrSize = 0; local
806 attrSize = 16 * 16;
814 attrSize
[all...]
/haiku/src/kits/storage/
H A DAppFileInfo.cpp693 size_t attrSize = 0; local
699 attrSize = 16 * 16;
705 attrSize = 32 * 32;
728 buffer = new(std::nothrow) uint8[attrSize];
732 error = _ReadData(attribute, -1, attrType, buffer, attrSize,
736 error = _ReadData(attribute, -1, attrType, icon->Bits(), attrSize,
739 if (error == B_OK && read != attrSize)
797 size_t attrSize = 0; local
804 attrSize = 16 * 16;
812 attrSize
[all...]
H A DNodeInfo.cpp174 size_t attrSize = 0; local
181 attrSize = 16 * 16;
188 attrSize = 32 * 32;
217 bitmap.Bits(), attrSize);
221 icon->Bits(), attrSize);
226 else if (written != (ssize_t)attrSize)
/haiku/src/libs/icon/
H A DIconUtils.cpp541 off_t attrSize = 0; local
547 attrSize = B_MINI_ICON * B_MINI_ICON;
554 attrSize = B_LARGE_ICON * B_LARGE_ICON;
571 if (result == B_OK && attrInfo.size != attrSize)
587 buffer = new(std::nothrow) uint8[attrSize];
592 attrSize);
596 attrSize);
602 else if (bytesRead != (ssize_t)attrSize)
/haiku/src/kits/storage/mime/
H A DDatabase.cpp448 size_t attrSize = (size_t)which * (size_t)which; local
450 if (dataSize != attrSize)
471 err = node.WriteAttr(attr.c_str(), attrType, 0, data, attrSize);
473 err = err == (ssize_t)attrSize ? (status_t)B_OK : (status_t)B_FILE_ERROR;
/haiku/src/apps/showimage/
H A DShowImageWindow.cpp1645 ssize_t attrSize = node.ReadAttr(kWidthAttrName, B_INT32_TYPE, 0, local
1647 if (attrSize <= 0 || widthAttr != width)
1651 attrSize = node.ReadAttr(kHeightAttrName, B_INT32_TYPE, 0,
1653 if (attrSize <= 0 || heightAttr != height)
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp2503 int attrSize; local
2505 attrSize = fuse_ll_getxattr(fOps, node->id, name, NULL, 0);
2516 attrSize = fuse_fs_getxattr(fFS, path, name, NULL, 0);
2519 if (attrSize < 0) {
2531 return attrSize;
2537 error = cookie->Allocate(attrSize);
2545 bytesRead = fuse_ll_getxattr(fOps, node->id, name, cookie->Buffer(), attrSize);
2547 bytesRead = fuse_fs_getxattr(fFS, path, name, cookie->Buffer(), attrSize);

Completed in 81 milliseconds