/external/e2fsprogs/intl/ |
D | xsize.h | 50 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) 60 return (sum >= size1 ? sum : SIZE_MAX); in xsum() 100 ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX) 104 ((SIZE) == SIZE_MAX) 107 ((SIZE) != SIZE_MAX)
|
/external/bison/lib/ |
D | xsize.h | 53 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) 63 return (sum >= size1 ? sum : SIZE_MAX); in xsum() 103 ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX) 107 ((SIZE) == SIZE_MAX) 110 ((SIZE) != SIZE_MAX)
|
D | vsprintf.c | 32 #ifndef SIZE_MAX 33 # define SIZE_MAX ((size_t) -1) macro 52 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX); in vsprintf()
|
D | sprintf.c | 32 #ifndef SIZE_MAX 33 # define SIZE_MAX ((size_t) -1) macro 53 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX); in sprintf()
|
D | quotearg.c | 49 #ifndef SIZE_MAX 50 # define SIZE_MAX ((size_t) -1) macro 343 for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) in quotearg_buffer_restyled() 453 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) in quotearg_buffer_restyled() 537 if (argsize == SIZE_MAX) in quotearg_buffer_restyled() 823 return quotearg_n_options (n, arg, SIZE_MAX, &default_quoting_options); in quotearg_n() 848 return quotearg_n_options (n, arg, SIZE_MAX, &o); in quotearg_n_style() 883 return quotearg_char_mem (arg, SIZE_MAX, ch); in quotearg_char() 903 SIZE_MAX); in quotearg_n_custom() 956 return quote_n_mem (n, arg, SIZE_MAX); in quote_n()
|
D | getdelim.c | 34 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) 98 SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX; in getdelim()
|
D | bitrotate.h | 75 return ((x << n) | (x >> ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotl_sz() 84 return ((x >> n) | (x << ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotr_sz()
|
D | stdint.in.h | 530 #undef SIZE_MAX 533 # define SIZE_MAX _STDINT_MAX (0, 64, 0ul) 535 # define SIZE_MAX _STDINT_MAX (0, 32, 0ul) 538 # define SIZE_MAX _STDINT_MAX (0, @BITSIZEOF_SIZE_T@, 0@SIZE_T_SUFFIX@)
|
/external/bison/m4/ |
D | size_max.m4 | 12 dnl First test whether the system already has SIZE_MAX. 13 AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [ 20 #ifdef SIZE_MAX 35 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type 61 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], definition 64 dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after 67 AH_VERBATIM([SIZE_MAX], 70 #ifndef SIZE_MAX 71 # undef SIZE_MAX
|
/external/flac/include/share/ |
D | alloc.h | 51 #ifndef SIZE_MAX 63 # define SIZE_MAX SIZE_T_MAX macro 125 if(size1 > SIZE_MAX / size2) in safe_malloc_mul_3op_() 128 if(size1 > SIZE_MAX / size3) in safe_malloc_mul_3op_() 138 if(size1 > SIZE_MAX / size2) in safe_malloc_mul2add_() 151 if(size1 > SIZE_MAX / size2) in safe_malloc_muladd2_() 193 if(size1 > SIZE_MAX / size2) in safe_realloc_mul_2op_()
|
/external/flac/libFLAC/ |
D | memory.c | 75 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_int32_array() 104 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_uint32_array() 133 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_uint64_array() 162 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_unsigned_array() 193 if(elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_real_array() 215 if(size1 > SIZE_MAX / size2) in safe_malloc_mul_2op_p()
|
/external/scrypt/lib/crypto/ |
D | crypto_scrypt-neon.c | 204 #if SIZE_MAX > UINT32_MAX in crypto_scrypt() 218 if ((r > SIZE_MAX / 128 / p) || in crypto_scrypt() 219 #if SIZE_MAX / 256 <= UINT32_MAX in crypto_scrypt() 220 (r > SIZE_MAX / 256) || in crypto_scrypt() 222 (N > SIZE_MAX / 128 / r)) { in crypto_scrypt()
|
D | crypto_scrypt-ref.c | 230 #if SIZE_MAX > UINT32_MAX in crypto_scrypt() 244 if ((r > SIZE_MAX / 128 / p) || in crypto_scrypt() 245 #if SIZE_MAX / 256 <= UINT32_MAX in crypto_scrypt() 246 (r > SIZE_MAX / 256) || in crypto_scrypt() 248 (N > SIZE_MAX / 128 / r)) { in crypto_scrypt()
|
D | crypto_scrypt-sse.c | 277 #if SIZE_MAX > UINT32_MAX in crypto_scrypt() 291 if ((r > SIZE_MAX / 128 / p) || in crypto_scrypt() 292 #if SIZE_MAX / 256 <= UINT32_MAX in crypto_scrypt() 293 (r > (SIZE_MAX - 64) / 256) || in crypto_scrypt() 295 (N > SIZE_MAX / 128 / r)) { in crypto_scrypt()
|
/external/clang/test/Headers/ |
D | cxx11.cpp | 23 #ifndef SIZE_MAX 24 #error SIZE_MAX should be defined in C++
|
/external/nanopb-c/examples/network_server/ |
D | common.c | 32 pb_ostream_t stream = {&write_callback, (void*)(intptr_t)fd, SIZE_MAX, 0}; in pb_ostream_from_socket() 38 pb_istream_t stream = {&read_callback, (void*)(intptr_t)fd, SIZE_MAX}; in pb_istream_from_socket()
|
/external/mesa3d/include/c99/ |
D | stdint.h | 202 #ifndef SIZE_MAX // [ 204 # define SIZE_MAX _UI64_MAX macro 206 # define SIZE_MAX _UI32_MAX macro
|
/external/jemalloc/include/msvc_compat/C99/ |
D | stdint.h | 202 #ifndef SIZE_MAX // [ 204 # define SIZE_MAX _UI64_MAX macro 206 # define SIZE_MAX _UI32_MAX macro
|
/external/openssh/ |
D | xmalloc.c | 49 if (SIZE_MAX / nmemb < size) in xcalloc() 66 if (SIZE_MAX / nmemb < size) in xrealloc()
|
D | sshbuf-misc.c | 82 if (SIZE_MAX / 2 <= len || (ret = malloc(len * 2 + 1)) == NULL) in sshbuf_dtob16() 103 if (SIZE_MAX / 2 <= len || (ret = malloc(plen)) == NULL) in sshbuf_dtob64()
|
/external/safe-iop/src/ |
D | safe_iop.c | 333 a=1; b=SIZE_MAX; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_sizet() 334 a=SIZE_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_sizet() 335 a=SIZE_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_sizet() 336 a=SIZE_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_sizet() 338 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_sizet() 543 a=SIZE_MAX-1; b=SIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_sizet() 544 a=SIZE_MAX; b=SIZE_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); in T_sub_sizet() 788 a=SIZE_MAX-1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet() 789 a=2; b=SIZE_MAX-1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet() 790 a=SIZE_MAX; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet() [all …]
|
/external/bison/darwin-lib/ |
D | stdint.h | 531 #undef SIZE_MAX 534 # define SIZE_MAX _STDINT_MAX (0, 64, 0ul) 536 # define SIZE_MAX _STDINT_MAX (0, 32, 0ul) 539 # define SIZE_MAX _STDINT_MAX (0, 64, 0ul) macro
|
/external/lldb/include/lldb/Host/ |
D | FileSpec.h | 497 MemoryMapFileContents (off_t offset = 0, size_t length = SIZE_MAX) const; 527 ReadFileContents (off_t offset = 0, size_t length = SIZE_MAX, Error *error_ptr = NULL) const;
|
/external/lldb/include/lldb/Core/ |
D | StreamTee.h | 103 size_t min_bytes_written = SIZE_MAX; in Write() 119 if (min_bytes_written == SIZE_MAX) in Write()
|
/external/elfutils/src/libelf/ |
D | elf_newscn.c | 91 #if SIZE_MAX <= 4294967295U 93 < SIZE_MAX / 2 / sizeof (Elf_Scn) - sizeof (Elf_ScnList))
|