/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/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_() 203 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/python/cpython3/Python/ |
D | asdl.c | 12 (size && (((size_t)size - 1) > (SIZE_MAX / sizeof(void *))))) { in _Py_asdl_seq_new() 19 if (n > SIZE_MAX - sizeof(asdl_seq)) { in _Py_asdl_seq_new() 43 (size && (((size_t)size - 1) > (SIZE_MAX / sizeof(void *))))) { in _Py_asdl_int_seq_new() 50 if (n > SIZE_MAX - sizeof(asdl_seq)) { in _Py_asdl_int_seq_new()
|
/external/scrypt/lib/crypto/ |
D | crypto_scrypt-neon.c | 203 #if SIZE_MAX > UINT32_MAX in crypto_scrypt() 217 if ((r > SIZE_MAX / 128 / p) || in crypto_scrypt() 218 #if SIZE_MAX / 256 <= UINT32_MAX in crypto_scrypt() 219 (r > SIZE_MAX / 256) || in crypto_scrypt() 221 (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 | 24 #ifndef SIZE_MAX 25 #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/grpc-grpc/third_party/nanopb/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/jemalloc_new/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 | 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() 146 if (s == NULL || l > SIZE_MAX) in sshbuf_dup_string()
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | vcstdint.h | 187 #ifndef SIZE_MAX // [ 189 # define SIZE_MAX _UI64_MAX macro 191 # define SIZE_MAX _UI32_MAX macro
|
/external/libusb/msvc/ |
D | stdint.h | 203 #ifndef SIZE_MAX 205 #define SIZE_MAX UINT64_MAX macro 207 #define SIZE_MAX UINT32_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/llvm/unittests/ADT/ |
D | ArrayRefTest.cpp | 70 ArrayRef<char> AR3((const char *)0x10000, SIZE_MAX - 0x10000); in TEST() 81 ArrayRef<char> AR3((const char *)0x10000, SIZE_MAX - 0x10000); in TEST() 114 ArrayRef<char> AR((const char *)0x10000, SIZE_MAX - 0x10000); in TEST()
|
/external/skqp/src/core/ |
D | SkMath.cpp | 92 return tmp.ok() ? sum : SIZE_MAX; in Add() 98 return tmp.ok() ? prod : SIZE_MAX; in Mul()
|
/external/libevent/include/event2/ |
D | event-config-bionic.h | 18 #if SIZE_MAX == UINT64_MAX 20 #elif SIZE_MAX == UINT32_MAX
|
D | event-config-darwin.h | 18 #if SIZE_MAX == UINT64_MAX 20 #elif SIZE_MAX == UINT32_MAX
|
D | event-config-linux.h | 18 #if SIZE_MAX == UINT64_MAX 20 #elif SIZE_MAX == UINT32_MAX
|
/external/skia/src/core/ |
D | SkMath.cpp | 92 return tmp.ok() ? sum : SIZE_MAX; in Add() 98 return tmp.ok() ? prod : SIZE_MAX; in Mul()
|
/external/epid-sdk/epid/member/tiny/math/unittests/ |
D | onetimepad.h | 55 if (uint8_data.size() > SIZE_MAX / CHAR_BIT) in InitUint8() 64 if (uint32_data.size() * sizeof(uint32_t) > SIZE_MAX / CHAR_BIT) in InitUint32()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | 0003-dwt-decode.patch | 154 - if (l_data_size > (SIZE_MAX / sizeof(OPJ_INT32))) { 155 + if (l_data_count > (SIZE_MAX / sizeof(OPJ_INT32))) { 198 - if (h_mem_size > (SIZE_MAX / PARALLEL_COLS_53 / sizeof(OPJ_INT32))) { 199 + if (h.mem_count > (SIZE_MAX / PARALLEL_COLS_53 / sizeof(OPJ_INT32))) { 236 - if (h_mem_size > (SIZE_MAX / (4 * sizeof(OPJ_INT32)))) { 237 + if (h.mem_count > (SIZE_MAX / (4 * sizeof(OPJ_INT32)))) {
|
/external/nanopb-c/tests/io_errors/ |
D | io_errors.c | 59 pb_istream_t stream = {&read_callback, NULL, SIZE_MAX}; in main() 99 pb_ostream_t stream = {&write_callback, NULL, SIZE_MAX, 0}; in main()
|
/external/grpc-grpc/third_party/nanopb/tests/io_errors/ |
D | io_errors.c | 59 pb_istream_t stream = {&read_callback, NULL, SIZE_MAX}; in main() 99 pb_ostream_t stream = {&write_callback, NULL, SIZE_MAX, 0}; in main()
|