Lines Matching defs:size

42 // that have to do with size, reading/writing and name collisions.
1400 ssize_t size = srcLink.ReadLink(linkpath, MAXPATHLEN - 1);
1401 if (size < 0)
1402 ThrowOnError(size);
1431 // File bigger than the buffer size: determine an optimal buffer size
1573 // Special case for a size 0 attribute. It wouldn't be written at all
1575 if (info.size == 0)
1579 ssize_t numToRead = (ssize_t)info.size;
1896 // for "Move" the size for status is always 1 - since file
1897 // size is irrelevant when simply moving to a new folder
1986 ssize_t numToRead = (ssize_t)info.size;
2222 BString size;
2225 format.Format(size, stat->st_size);
2226 uint32 pos = snprintf(buffer, length, "\n\t(%s ", size.String());
2617 // check block size for sanity
2619 // This would point at an error to retrieve the block size from
2621 // meant to get the block size when item operations happen on
2634 // File systems like ReiserFS may advertize a large block size, but
2635 // stuff is still packed into blocks, so clamp maximum block size.
2708 size_t size;
2711 data = GetTrackerResources()->LoadResource('ICON', R_TrashIcon, &size);
2713 trashDir->WriteAttr(kAttrLargeIcon, 'ICON', 0, data, size);
2717 data = GetTrackerResources()->LoadResource('MICN', R_TrashIcon, &size);
2719 trashDir->WriteAttr(kAttrMiniIcon, 'MICN', 0, data, size);
2724 R_TrashIcon, &size);
2726 trashDir->WriteAttr(kAttrIcon, B_VECTOR_ICON_TYPE, 0, data, size);
2750 size_t size;
2753 data = GetTrackerResources()->LoadResource('ICON', R_DeskIcon, &size);
2755 deskDir->WriteAttr(kAttrLargeIcon, 'ICON', 0, data, size);
2759 data = GetTrackerResources()->LoadResource('MICN', R_DeskIcon, &size);
2761 deskDir->WriteAttr(kAttrMiniIcon, 'MICN', 0, data, size);
2766 R_DeskIcon, &size);
2768 deskDir->WriteAttr(kAttrIcon, B_VECTOR_ICON_TYPE, 0, data, size);
3320 const char* foreignAttrName, type_code* type, size_t* size)
3327 if (size)
3328 *size = (size_t)info.size;
3336 if (size)
3337 *size = (size_t)info.size;
4075 uint32 count = entries.size();