/haiku/src/tools/fs_shell/ |
H A D | unistd.cpp | 73 get_partition_size(int fd, off_t maxSize) argument 77 off_t upper = maxSize;
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Inode.cpp | 833 off_t maxSize = oldSize; local 834 if (maxSize % blockSize != 0) 835 maxSize += blockSize - maxSize % blockSize; 837 if (size <= maxSize) {
|
/haiku/src/tests/apps/partitioner/ |
H A D | Partitioner.cpp | 559 off_t maxSize = spaceOffset + spaceSize - start; local 562 get_size_string(maxSize, maxSizeString); 565 if (!_ReadSize(prompt.String(), maxSize, size))
|
/haiku/src/libs/alm/ |
H A D | Area.cpp | 452 BSize maxSize = fLayoutItem->MaxSize(); local 455 _UpdateMaxSizeConstraint(maxSize);
|
/haiku/src/apps/debuganalyzer/gui/chart/ |
H A D | LegendChartAxis.cpp | 190 LegendChartAxis::PreferredSize(BView* view, BSize maxSize) argument 194 int32 maxLegends = _EstimateMaxLegendCount(view, maxSize, &hSpacing,
|
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | ColorField.cpp | 84 BSize maxSize(4 + MAX_X, 4 + MAX_Y); 85 return BLayoutUtils::ComposeSize(ExplicitMaxSize(), maxSize);
|
/haiku/headers/private/kernel/ |
H A D | tracing.h | 280 char* alloc_tracing_buffer_strcpy(const char* source, size_t maxSize,
|
/haiku/headers/private/libroot/ |
H A D | wchar_private.h | 80 extern size_t __wcstombs(char *string, const wchar_t *wcs, size_t maxSize);
|
/haiku/src/system/kernel/debug/ |
H A D | debug.cpp | 1998 size_t maxSize = std::min((addr_t)size, 2007 debug_strlcpy_parameters parameters = {to, from, maxSize}; 2013 if (parameters.result >= maxSize && maxSize < size) 2023 while (maxSize > 0) { 2025 size_t toCopy = std::min(maxSize, sizeof(buffer)); 2046 maxSize -= length;
|
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/ |
H A D | scsi_disk.cpp | 206 uint64 maxSize = device->capacity - blockRanges[i].lba; local 207 blockRanges[i].size = min_c(blockRanges[i].size, maxSize);
|
/haiku/src/kits/interface/ |
H A D | Slider.cpp | 1550 BSize maxSize = _ValidateMinSize(); local 1552 maxSize.width = B_SIZE_UNLIMITED; 1554 maxSize.height = B_SIZE_UNLIMITED; 1556 return BLayoutUtils::ComposeSize(ExplicitMaxSize(), maxSize);
|
H A D | Window.cpp | 1439 BSize maxSize = fTopView->MaxSize(); local 1440 SetSizeLimits(minSize.width, maxSize.width, 1441 minSize.height, maxSize.height);
|
/haiku/src/system/kernel/disk_device_manager/ |
H A D | ddm_userland_interface.cpp | 103 inline status_t Init(const char* userValue, size_t maxSize) argument 115 value = (char*)malloc(maxSize); 119 ssize_t bytesCopied = user_strlcpy(value, userValue, maxSize); 123 if ((size_t)bytesCopied >= maxSize)
|
/haiku/src/kits/debugger/controllers/ |
H A D | DebugReportGenerator.cpp | 301 char maxSize[32]; local 306 maxSize, sizeof(maxSize)),
|
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | devices.cpp | 368 get_next_check_sum_offset(int32 index, off_t maxSize) argument 377 return (maxSize >> 10) + index * 2048; 380 return ((system_time() + index) % (maxSize >> 9)) * 512;
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 318 get_next_check_sum_offset(int32 index, off_t maxSize) argument 327 return (maxSize >> 10) + index * 2048; 330 return ((system_time() + index) % (maxSize >> 9)) * 512;
|
/haiku/src/apps/cortex/addons/common/ |
H A D | AudioFilterNode.cpp | 1429 size_t maxSize = max_c( local 1435 maxSize, 1); 1439 maxSize, -1);
|
/haiku/src/system/libroot/posix/malloc_debug/ |
H A D | heap.cpp | 1432 size_t maxSize = 0; local 1436 maxSize = bin->element_size; 1443 maxSize = heap->page_size; 1452 maxSize += heap->page_size; 1459 if (newSize > minSize && newSize <= maxSize) { 1462 + maxSize - sizeof(heap_leak_check_info)); 1486 memcpy(*newAddress, address, min_c(maxSize, newSize));
|
/haiku/src/system/kernel/ |
H A D | heap.cpp | 1816 size_t maxSize = 0; local 1820 maxSize = bin->element_size; 1827 maxSize = heap->page_size; 1836 maxSize += heap->page_size; 1847 if (newSize > minSize && newSize <= maxSize) { 1851 + maxSize - sizeof(heap_leak_check_info)); 1875 memcpy(*newAddress, address, min_c(maxSize, newSize));
|
/haiku/headers/os/media/ |
H A D | MediaRoster.h | 340 size_t maxSize);
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | ReplyInterpreter.cpp | 514 ReplyInterpreter::ReadLink(void* buffer, uint32* size, uint32 maxSize) argument 523 memcpy(buffer, ptr, min_c(*size, maxSize));
|
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | kernel_interface.cpp | 1700 off_t maxSize = inode->Size() + sizeof(wav_header); 1701 if (offset >= maxSize) { 1716 if (offset + (off_t)length > maxSize) 1717 length = maxSize - offset;
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | BPlusTree.cpp | 2422 int32 maxSize; local 2427 maxSize = NUM_FRAGMENT_VALUES; 2431 maxSize = NUM_DUPLICATE_VALUES; 2435 if (arrayCount < minSize || arrayCount > maxSize) {
|
/haiku/src/system/kernel/vm/ |
H A D | vm.cpp | 5659 size_t maxSize = size; 5660 if ((addr_t)from + maxSize < (addr_t)from) 5661 maxSize -= (addr_t)from + maxSize; 5662 if (IS_USER_ADDRESS(from) && !IS_USER_ADDRESS((addr_t)from + maxSize)) 5663 maxSize = USER_TOP - (addr_t)from; 5665 if (!validate_memory_range(to, maxSize)) 5668 ssize_t result = arch_cpu_user_strlcpy(to, from, maxSize); 5673 if ((size_t)result >= maxSize && maxSize < siz [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/ |
H A D | Requests.h | 691 visitor->Visit(this, maxSize); 695 int32 maxSize; member in struct:ReadLinkRequest
|