Searched refs:SIZE_MAX (Results 1 – 15 of 15) sorted by relevance
/haiku/src/system/libroot/posix/crypt/ |
H A D | crypto_scrypt.cpp | 65 #if SIZE_MAX > UINT32_MAX in crypto_scrypt() 79 if ((r > SIZE_MAX / 128 / p) || in crypto_scrypt() 80 #if SIZE_MAX / 256 <= UINT32_MAX in crypto_scrypt() 81 (r > (SIZE_MAX - 64) / 256) || in crypto_scrypt() 83 (N > SIZE_MAX / 128 / r)) { in crypto_scrypt()
|
/haiku/src/tests/system/libroot/posix/ |
H A D | calloc_test.c | 16 if (calloc(SIZE_MAX, SIZE_MAX) != NULL) { in main()
|
/haiku/src/system/libroot/posix/stdlib/ |
H A D | reallocarray.cpp | 16 if (elsize != 0 && nelem != 0 && nelem > SIZE_MAX / elsize) { in reallocarray()
|
/haiku/src/system/libroot/posix/musl/dirent/ |
H A D | scandir.c | 24 if (len > SIZE_MAX/sizeof *names) break; in scandir()
|
/haiku/headers/posix/ |
H A D | stdint.h | 132 #define SIZE_MAX __HAIKU_ADDR_MAX macro
|
/haiku/src/tests/system/kernel/fs/ |
H A D | KPathTest.cpp | 119 status = path.SetTo(NULL, KPath::DEFAULT, SIZE_MAX); in TestSetToAndPath() 145 status_t status = path.SetTo(NULL, KPath::LAZY_ALLOC, SIZE_MAX); in TestLazyAlloc()
|
/haiku/src/kits/shared/ |
H A D | MemoryRingIO.cpp | 63 #if SIZE_MAX >= UINT64_MAX in next_power_of_two()
|
/haiku/src/add-ons/kernel/drivers/disk/mmc/ |
H A D | mmc_disk.cpp | 585 if (size > SIZE_MAX) in mmc_block_ioctl()
|
/haiku/src/system/libroot/posix/glibc/regex/ |
H A D | regex_internal.h | 179 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
|
H A D | regexec.c | 664 if (BE ((MIN (IDX_MAX, SIZE_MAX / sizeof (re_dfastate_t *)) in re_search_internal() 933 if (BE (MIN (IDX_MAX, SIZE_MAX / sizeof (re_dfastate_t *)) <= match_last, 0)) in prune_impossible_nodes() 2868 if (BE (SIZE_MAX / sizeof (re_dfastate_t *) < new_alloc, 0)) in check_arrival() 3342 if (BE ((((SIZE_MAX - (sizeof (re_node_set) + sizeof (bitset_t)) * SBC_MAX) in build_trtable() 4054 if (BE (MIN (IDX_MAX, SIZE_MAX / sizeof (re_dfastate_t *)) / 2 in extend_buffers() 4124 if (BE (MIN (IDX_MAX, SIZE_MAX / max_object_size) < n, 0)) in match_ctx_init()
|
H A D | regex_internal.c | 149 if (BE (MIN (IDX_MAX, SIZE_MAX / max_object_size) < new_buf_len, 0)) in re_string_realloc_buffers() 1417 if (BE (MIN (IDX_MAX, SIZE_MAX / max_object_size) < new_nodes_alloc, 0)) in re_dfa_add_node()
|
H A D | regcomp.c | 867 if (BE (MIN (IDX_MAX, SIZE_MAX / max_object_size) / 2 <= pat_len, 0)) in init_dfa()
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | File.cpp | 719 std::min(size, (uint64)SIZE_MAX), bytesWritten); in _WriteZeroes()
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSEVolume.cpp | 331 if (pos < 0 || (uint64)pos > SIZE_MAX || (size_t)pos > fSize - 1) { in Read()
|
/haiku/src/system/kernel/cache/ |
H A D | block_cache.cpp | 291 size_t max = SIZE_MAX);
|