Home
last modified time | relevance | path

Searched refs:SIZE_T_MAX (Results 1 – 25 of 42) sorted by relevance

12

/external/jemalloc_new/include/jemalloc/internal/
Djemalloc_internal_decls.h51 #ifndef SIZE_T_MAX
52 # define SIZE_T_MAX SIZE_MAX macro
55 # define SSIZE_MAX ((ssize_t)(SIZE_T_MAX >> 1))
/external/jemalloc/test/integration/
Doverflow.c25 assert_ptr_null(malloc(SIZE_T_MAX), in TEST_BEGIN()
30 assert_ptr_null(calloc(1, SIZE_T_MAX), in TEST_BEGIN()
37 assert_ptr_null(realloc(p, SIZE_T_MAX), in TEST_BEGIN()
Dxallocx.c171 assert_zu_le(xallocx(p, SIZE_T_MAX, 0, 0), hugemax, in TEST_BEGIN()
201 assert_zu_le(xallocx(p, SIZE_T_MAX-2, 2, 0), hugemax, in TEST_BEGIN()
203 assert_zu_le(xallocx(p, SIZE_T_MAX-1, 1, 0), hugemax, in TEST_BEGIN()
235 assert_zu_eq(xallocx(p, small0, SIZE_T_MAX - small0, 0), small0, in TEST_BEGIN()
356 assert_zu_le(xallocx(p, huge1, SIZE_T_MAX - huge1, flags), hugemax, in TEST_BEGIN()
Dmallocx.c78 assert_ptr_null(mallocx(SIZE_T_MAX, 0), in TEST_BEGIN()
79 "Expected OOM for mallocx(size=%#zx, 0)", SIZE_T_MAX); in TEST_BEGIN()
Drallocx.c238 assert_ptr_null(rallocx(p, SIZE_T_MAX, 0), in TEST_BEGIN()
239 "Expected OOM for rallocx(p, size=%#zx, 0)", SIZE_T_MAX); in TEST_BEGIN()
/external/jemalloc_new/test/integration/
Doverflow.c24 assert_ptr_null(malloc(SIZE_T_MAX), in TEST_BEGIN()
29 assert_ptr_null(calloc(1, SIZE_T_MAX), in TEST_BEGIN()
36 assert_ptr_null(realloc(p, SIZE_T_MAX), in TEST_BEGIN()
Dxallocx.c138 assert_zu_le(xallocx(p, SIZE_T_MAX, 0, 0), largemax, in TEST_BEGIN()
167 assert_zu_le(xallocx(p, SIZE_T_MAX-2, 2, 0), largemax, in TEST_BEGIN()
169 assert_zu_le(xallocx(p, SIZE_T_MAX-1, 1, 0), largemax, in TEST_BEGIN()
200 assert_zu_eq(xallocx(p, small0, SIZE_T_MAX - small0, 0), small0, in TEST_BEGIN()
255 assert_zu_le(xallocx(p, large1, SIZE_T_MAX - large1, flags), largemax, in TEST_BEGIN()
Dmallocx.c65 assert_ptr_null(mallocx(SIZE_T_MAX, 0), in TEST_BEGIN()
66 "Expected OOM for mallocx(size=%#zx, 0)", SIZE_T_MAX); in TEST_BEGIN()
Drallocx.c226 assert_ptr_null(rallocx(p, SIZE_T_MAX, 0), in TEST_BEGIN()
227 "Expected OOM for rallocx(p, size=%#zx, 0)", SIZE_T_MAX); in TEST_BEGIN()
/external/flac/include/share/
Dalloc.h52 # ifndef SIZE_T_MAX
55 # define SIZE_T_MAX FLAC__U64L(0xffffffffffffffff) macro
57 # define SIZE_T_MAX 0xffffffff macro
63 # define SIZE_MAX SIZE_T_MAX
/external/jemalloc/test/unit/
Dsize_classes.c150 assert_u_eq(size2index(SIZE_T_MAX), NSIZES, in TEST_BEGIN()
157 assert_zu_eq(s2u(SIZE_T_MAX), 0, in TEST_BEGIN()
164 assert_u_eq(psz2ind(SIZE_T_MAX), NPSIZES, in TEST_BEGIN()
171 assert_zu_eq(psz2u(SIZE_T_MAX), 0, in TEST_BEGIN()
/external/jemalloc_new/test/unit/
Dsize_classes.c149 assert_u_eq(sz_size2index(SIZE_T_MAX), NSIZES, in TEST_BEGIN()
156 assert_zu_eq(sz_s2u(SIZE_T_MAX), 0, in TEST_BEGIN()
163 assert_u_eq(sz_psz2ind(SIZE_T_MAX), NPSIZES, in TEST_BEGIN()
172 assert_zu_eq(sz_psz2u(SIZE_T_MAX), max_psz, in TEST_BEGIN()
/external/jemalloc/include/jemalloc/internal/
Djemalloc_internal_decls.h36 #ifndef SIZE_T_MAX
37 # define SIZE_T_MAX SIZE_MAX macro
/external/epid-sdk/epid/member/tiny/src/
Dcontext.h32 #define SIZE_T_MAX ((size_t)(-1)) macro
35 #define MAX_SIGRL_ENTRIES ((SIZE_T_MAX - MIN_SIGRL_SIZE) / sizeof(SigRlEntry))
Dsign.c30 #define SIZE_T_MAX ((size_t)(-1)) macro
38 if (n2 > (SIZE_T_MAX - kMinSigSize) / sizeof(NrProof)) { in EpidGetSigSize()
/external/jemalloc_new/test/include/test/
Djemalloc_test.h6 #ifndef SIZE_T_MAX
7 # define SIZE_T_MAX SIZE_MAX macro
Djemalloc_test.h.in6 #ifndef SIZE_T_MAX
7 # define SIZE_T_MAX SIZE_MAX macro
/external/jemalloc/test/include/test/
Djemalloc_test.h2 #ifndef SIZE_T_MAX
3 # define SIZE_T_MAX SIZE_MAX macro
Djemalloc_test.h.in2 #ifndef SIZE_T_MAX
3 # define SIZE_T_MAX SIZE_MAX macro
/external/curl/lib/vauth/
Dcleartext.c77 if((ulen > SIZE_T_MAX/4) || (plen > (SIZE_T_MAX/2 - 2))) in Curl_auth_create_plain_message()
/external/openssh/
Ddefines.h317 #ifndef SIZE_T_MAX
318 #define SIZE_T_MAX ULONG_MAX macro
324 # define SIZE_T_MAX UINT_MAX macro
328 #define SIZE_MAX SIZE_T_MAX
/external/curl/lib/
Dcurl_setup.h455 #ifndef SIZE_T_MAX
458 #define SIZE_T_MAX 18446744073709551615U macro
460 #define SIZE_T_MAX 4294967295U macro
Dcurl_ntlm_core.c552 if(len > SIZE_T_MAX/2) /* avoid integer overflow */ in Curl_ntlm_core_mk_nt_hash()
657 if((userlen > SIZE_T_MAX/2) || in Curl_ntlm_core_mk_ntlmv2_hash()
658 (domlen > SIZE_T_MAX/2) || in Curl_ntlm_core_mk_ntlmv2_hash()
659 ((userlen + domlen) > SIZE_T_MAX/2)) in Curl_ntlm_core_mk_ntlmv2_hash()
/external/jemalloc/src/
Dckh.c64 return (SIZE_T_MAX); in ckh_bucket_search()
82 if (cell != SIZE_T_MAX) in ckh_isearch()
492 if (cell != SIZE_T_MAX) { in ckh_remove()
523 if (cell != SIZE_T_MAX) { in ckh_search()
/external/jemalloc_new/src/
Dckh.c74 return SIZE_T_MAX; in ckh_bucket_search()
91 if (cell != SIZE_T_MAX) { in ckh_isearch()
496 if (cell != SIZE_T_MAX) { in ckh_remove()
528 if (cell != SIZE_T_MAX) { in ckh_search()

12