Searched refs:SIZE_MAX (Results 1 - 25 of 132) sorted by relevance

123456

/external/e2fsprogs/intl/
H A Dxsize.h26 /* Get SIZE_MAX. */
39 The convention is that SIZE_MAX represents overflow.
40 malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc
50 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX)
60 return (sum >= size1 ? sum : SIZE_MAX);
91 max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX
[all...]
/external/clang/test/Headers/
H A Dcxx11.cpp24 #ifndef SIZE_MAX
25 #error SIZE_MAX should be defined in C++
/external/python/cpython3/Python/
H A Dasdl.c12 (size && (((size_t)size - 1) > (SIZE_MAX / sizeof(void *))))) {
19 if (n > SIZE_MAX - sizeof(asdl_seq)) {
43 (size && (((size_t)size - 1) > (SIZE_MAX / sizeof(void *))))) {
50 if (n > SIZE_MAX - sizeof(asdl_seq)) {
/external/syslinux/com32/include/bitsize32/
H A Dstdintlimits.h23 # define SIZE_MAX UINT32_MAX //(4294967295U) macro
/external/syslinux/com32/include/bitsize64/
H A Dstdintlimits.h23 # define SIZE_MAX UINT64_MAX macro
/external/nanopb-c/examples/network_server/
H A Dcommon.c32 pb_ostream_t stream = {&write_callback, (void*)(intptr_t)fd, SIZE_MAX, 0};
38 pb_istream_t stream = {&read_callback, (void*)(intptr_t)fd, SIZE_MAX};
/external/giflib/
H A Dopenbsd-reallocarray.c24 * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX
33 nmemb > 0 && SIZE_MAX / nmemb < size) {
/external/python/cpython3/Modules/_decimal/libmpdec/
H A Dio.h37 #if SIZE_MAX == MPD_SIZE_MAX
H A Dvcstdint.h187 #ifndef SIZE_MAX // [
189 # define SIZE_MAX _UI64_MAX macro
191 # define SIZE_MAX _UI32_MAX macro
193 #endif // SIZE_MAX ]
/external/flac/include/share/
H A Dalloc.h41 * before #including this file, otherwise SIZE_MAX might not be defined
44 #include <limits.h> /* for SIZE_MAX */
46 #include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
51 #ifndef SIZE_MAX
63 # define SIZE_MAX SIZE_T_MAX macro
125 if(size1 > SIZE_MAX / size2)
128 if(size1 > SIZE_MAX / size3)
138 if(size1 > SIZE_MAX / size2)
151 if(size1 > SIZE_MAX / size2)
203 if(size1 > SIZE_MAX / size
[all...]
/external/flac/libFLAC/
H A Dmemory.c75 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
104 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
133 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
162 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
193 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
215 if(size1 > SIZE_MAX / size2)
/external/elfutils/libdwelf/
H A Ddwelf_scn_gnu_compressed_size.c70 if (size + 4 + 8 + 6 + 5 < d->d_size || size > SIZE_MAX)
/external/nanopb-c/tests/basic_stream/
H A Dencode_stream.c26 pb_ostream_t stream = {&streamcallback, NULL, SIZE_MAX, 0};
/external/libevent/include/event2/
H A Devent-config-bionic.h18 #if SIZE_MAX == UINT64_MAX
20 #elif SIZE_MAX == UINT32_MAX
H A Devent-config-darwin.h18 #if SIZE_MAX == UINT64_MAX
20 #elif SIZE_MAX == UINT32_MAX
H A Devent-config-linux.h18 #if SIZE_MAX == UINT64_MAX
20 #elif SIZE_MAX == UINT32_MAX
/external/scrypt/lib/crypto/
H A Dcrypto_scrypt-neon.c203 #if SIZE_MAX > UINT32_MAX
217 if ((r > SIZE_MAX / 128 / p) ||
218 #if SIZE_MAX / 256 <= UINT32_MAX
219 (r > SIZE_MAX / 256) ||
221 (N > SIZE_MAX / 128 / r)) {
H A Dcrypto_scrypt-ref.c230 #if SIZE_MAX > UINT32_MAX
244 if ((r > SIZE_MAX / 128 / p) ||
245 #if SIZE_MAX / 256 <= UINT32_MAX
246 (r > SIZE_MAX / 256) ||
248 (N > SIZE_MAX / 128 / r)) {
/external/jemalloc/include/msvc_compat/C99/
H A Dstdint.h202 #ifndef SIZE_MAX // [
204 # define SIZE_MAX _UI64_MAX macro
206 # define SIZE_MAX _UI32_MAX macro
208 #endif // SIZE_MAX ]
/external/libusb/msvc/
H A Dstdint.h203 #ifndef SIZE_MAX
205 #define SIZE_MAX UINT64_MAX macro
207 #define SIZE_MAX UINT32_MAX macro
/external/libvncserver/compat/msvc/
H A Dstdint.h202 #ifndef SIZE_MAX // [
204 # define SIZE_MAX _UI64_MAX macro
206 # define SIZE_MAX _UI32_MAX macro
208 #endif // SIZE_MAX ]
/external/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_decls.h37 # define SIZE_T_MAX SIZE_MAX
/external/jemalloc/test/include/test/
H A Djemalloc_test.h3 # define SIZE_T_MAX SIZE_MAX
/external/libvpx/libvpx/vpx_mem/
H A Dvpx_mem.c19 #if SIZE_MAX > (1ULL << 40)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D24-1.c66 while (mapped_size < SIZE_MAX) {

Completed in 816 milliseconds

123456