Home
last modified time | relevance | path

Searched refs:SIZE_MAX (Results 1 – 15 of 15) sorted by relevance

/haiku/src/system/libroot/posix/crypt/
H A Dcrypto_scrypt.cpp65 #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 Dcalloc_test.c16 if (calloc(SIZE_MAX, SIZE_MAX) != NULL) { in main()
/haiku/src/system/libroot/posix/stdlib/
H A Dreallocarray.cpp16 if (elsize != 0 && nelem != 0 && nelem > SIZE_MAX / elsize) { in reallocarray()
/haiku/src/system/libroot/posix/musl/dirent/
H A Dscandir.c24 if (len > SIZE_MAX/sizeof *names) break; in scandir()
/haiku/headers/posix/
H A Dstdint.h132 #define SIZE_MAX __HAIKU_ADDR_MAX macro
/haiku/src/tests/system/kernel/fs/
H A DKPathTest.cpp119 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 DMemoryRingIO.cpp63 #if SIZE_MAX >= UINT64_MAX in next_power_of_two()
/haiku/src/add-ons/kernel/drivers/disk/mmc/
H A Dmmc_disk.cpp585 if (size > SIZE_MAX) in mmc_block_ioctl()
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregex_internal.h179 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
H A Dregexec.c664 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 Dregex_internal.c149 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 Dregcomp.c867 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 DFile.cpp719 std::min(size, (uint64)SIZE_MAX), bytesWritten); in _WriteZeroes()
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp331 if (pos < 0 || (uint64)pos > SIZE_MAX || (size_t)pos > fSize - 1) { in Read()
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp291 size_t max = SIZE_MAX);