Home
last modified time | relevance | path

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

12345678910>>...13

/third_party/qrcodegen/c/
Dqrcodegen-test.c611 {9831, SIZE_MAX}, in testCalcSegmentBufferSize()
612 {9832, SIZE_MAX}, in testCalcSegmentBufferSize()
613 {12000, SIZE_MAX}, in testCalcSegmentBufferSize()
614 {28453, SIZE_MAX}, in testCalcSegmentBufferSize()
615 {55555, SIZE_MAX}, in testCalcSegmentBufferSize()
616 {SIZE_MAX / 6, SIZE_MAX}, in testCalcSegmentBufferSize()
617 {SIZE_MAX / 4, SIZE_MAX}, in testCalcSegmentBufferSize()
618 {SIZE_MAX / 2, SIZE_MAX}, in testCalcSegmentBufferSize()
619 {SIZE_MAX / 1, SIZE_MAX}, in testCalcSegmentBufferSize()
641 {5958, SIZE_MAX}, in testCalcSegmentBufferSize()
[all …]
/third_party/libxml2/
Dbackport-Reserve-byte-for-NUL-terminator-and-report-errors-co.patch46 - if (len > SIZE_MAX - buf->use)
48 + if (len >= SIZE_MAX - buf->use) {
49 + xmlBufMemoryError(buf, "growing buffer past SIZE_MAX");
54 size = buf->size > SIZE_MAX / 2 ? SIZE_MAX : buf->size * 2;
79 - if ((size_t) len >= SIZE_MAX - buf->use)
80 + if ((size_t) len >= SIZE_MAX - buf->use) {
81 + xmlBufMemoryError(buf, "growing buffer past SIZE_MAX");
Dbackport-regexp-Add-sanity-check-in-xmlRegCalloc2.patch25 - if (dim1 > SIZE_MAX / dim2 / elemSize)
27 + (dim1 > SIZE_MAX / dim2 / elemSize))
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_op_fail.function52 size_t length = SIZE_MAX;
83 size_t length = SIZE_MAX;
129 size_t length = SIZE_MAX;
175 size_t length = SIZE_MAX;
223 size_t length = SIZE_MAX;
298 size_t length = SIZE_MAX;
362 size_t public_key_length = SIZE_MAX;
364 size_t length = SIZE_MAX;
/third_party/musl/src/passwd/
Dgetgr_a.c74 if (groupbuf[GRNAMELEN] > SIZE_MAX - groupbuf[GRPASSWDLEN]) { in __getgr_a()
89 if (name_len > SIZE_MAX - grlist_len in __getgr_a()
90 || name_len > SIZE_MAX - len) { in __getgr_a()
114 if (groupbuf[GRMEMCNT] + 1 > SIZE_MAX/sizeof(char*)) { in __getgr_a()
/third_party/node/deps/uv/include/uv/
Dstdint-msvc2008.h202 #ifndef SIZE_MAX // [
204 # define SIZE_MAX _UI64_MAX macro
206 # define SIZE_MAX _UI32_MAX macro
/third_party/libuv/include/uv/
Dstdint-msvc2008.h202 #ifndef SIZE_MAX // [
204 # define SIZE_MAX _UI64_MAX macro
206 # define SIZE_MAX _UI32_MAX macro
/third_party/node/deps/base64/base64/lib/
Denv.h51 #elif SIZE_MAX == UINT32_MAX
53 #elif SIZE_MAX == UINT64_MAX
/third_party/node/deps/cares/src/lib/
Dares__buf.c96 buf->tag_offset = SIZE_MAX; in ares__buf_create()
160 if (buf->tag_offset != SIZE_MAX && buf->tag_offset < buf->offset) { in ares__buf_reclaim()
176 if (buf->tag_offset != SIZE_MAX) { in ares__buf_reclaim()
403 if (buf == NULL || buf->tag_offset == SIZE_MAX) { in ares__buf_tag_rollback()
408 buf->tag_offset = SIZE_MAX; in ares__buf_tag_rollback()
414 if (buf == NULL || buf->tag_offset == SIZE_MAX) { in ares__buf_tag_clear()
418 buf->tag_offset = SIZE_MAX; in ares__buf_tag_clear()
424 if (buf == NULL || buf->tag_offset == SIZE_MAX || len == NULL) { in ares__buf_tag_fetch()
434 if (buf == NULL || buf->tag_offset == SIZE_MAX) { in ares__buf_tag_length()
/third_party/openssl/test/
Dconstant_time_test.c46 0, 1, 1024, 12345, 32000, SIZE_MAX / 2 - 1,
47 SIZE_MAX / 2, SIZE_MAX / 2 + 1, SIZE_MAX - 1,
48 SIZE_MAX
Dsanitytest.c113 if (SIZE_MAX < INT_MAX) { in test_sanity_range()
119 if (SIZE_MAX - INT_MAX <= INT_MAX) { in test_sanity_range()
/third_party/skia/src/core/
DSkMath.cpp47 return tmp.ok() ? sum : SIZE_MAX; in Add()
53 return tmp.ok() ? prod : SIZE_MAX; in Mul()
/third_party/openssl/ohos_lite/include/internal/
Dnumbers.h63 # ifndef SIZE_MAX
64 # define SIZE_MAX __MAXUINT__(size_t) macro
/third_party/openssl/include/internal/
Dnumbers.h74 # ifndef SIZE_MAX
75 # define SIZE_MAX __MAXUINT__(size_t) macro
/third_party/node/deps/openssl/openssl/include/internal/
Dnumbers.h74 # ifndef SIZE_MAX
75 # define SIZE_MAX __MAXUINT__(size_t) macro
/third_party/toybox/toys/pending/
Dvi.c320 if (!(s = slice_offset(&spos, offset))) return SIZE_MAX; in text_strchr()
331 return SIZE_MAX; in text_strchr()
341 if (!(s = slice_offset(&spos, offset))) return SIZE_MAX; in text_strrchr()
352 return SIZE_MAX; in text_strrchr()
419 else if ((pos = text_strrchr(offset-1, '\n')) == SIZE_MAX) return 0; in text_sol()
428 else if ((offset = text_strchr(offset, '\n')) == SIZE_MAX) in text_eol()
458 if ((end = text_strchr(offset, '\n')) == SIZE_MAX) in text_getline()
494 return SIZE_MAX; in text_strstr()
789 if (pos != SIZE_MAX) TT.cursor = pos; in search_str()
1018 if ((TT.cursor = text_strchr(TT.cursor, '\n')) == SIZE_MAX) in vi_push()
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
Dscrypt.c262 return OSSL_PARAM_set_size_t(p, SIZE_MAX); in kdf_scrypt_get_ctx_params()
390 #ifndef SIZE_MAX
391 # define SIZE_MAX ((size_t)-1) macro
478 if (maxmem > SIZE_MAX) in scrypt_alg()
479 maxmem = SIZE_MAX; in scrypt_alg()
/third_party/openssl/providers/implementations/kdfs/
Dscrypt.c262 return OSSL_PARAM_set_size_t(p, SIZE_MAX); in kdf_scrypt_get_ctx_params()
390 #ifndef SIZE_MAX
391 # define SIZE_MAX ((size_t)-1) macro
478 if (maxmem > SIZE_MAX) in scrypt_alg()
479 maxmem = SIZE_MAX; in scrypt_alg()
/third_party/musl/porting/linux/user/src/malloc/
Dlite_malloc.c49 if (n > SIZE_MAX/2) { in __simple_malloc()
71 if (brk == end && req < SIZE_MAX-brk in __simple_malloc()
/third_party/musl/src/malloc/
Dlite_malloc.c49 if (n > SIZE_MAX/2) { in __simple_malloc()
71 if (brk == end && req < SIZE_MAX-brk in __simple_malloc()
/third_party/openssl/crypto/
Dpacket.c58 if (reflen > SIZE_MAX / 2) { in WPACKET_reserve_bytes()
59 newlen = SIZE_MAX; in WPACKET_reserve_bytes()
95 return SIZE_MAX; in maxmaxsize()
192 pkt->maxsize = SIZE_MAX; in WPACKET_init_null_der()
/third_party/node/deps/openssl/openssl/crypto/
Dpacket.c58 if (reflen > SIZE_MAX / 2) { in WPACKET_reserve_bytes()
59 newlen = SIZE_MAX; in WPACKET_reserve_bytes()
95 return SIZE_MAX; in maxmaxsize()
192 pkt->maxsize = SIZE_MAX; in WPACKET_init_null_der()
/third_party/astc-encoder/Source/
Dastcenccli_image_external.cpp122 if (num_pixels > (SIZE_MAX / 4)) in load_png_with_wuffs()
136 if (workbuf_len > SIZE_MAX) in load_png_with_wuffs()
/third_party/python/Include/internal/
Dpycore_asdl.h59 (size && (((size_t)size - 1) > (SIZE_MAX / sizeof(void *))))) { \
65 if (n > SIZE_MAX - sizeof(asdl_ ## NAME ## _seq)) { \
/third_party/mbedtls/library/
Dnist_kw.c163 #if SIZE_MAX > 0x1FFFFFFFFFFFFF8 in mbedtls_nist_kw_wrap()
186 #if SIZE_MAX > 0xFFFFFFFF in mbedtls_nist_kw_wrap()
351 #if SIZE_MAX > 0x200000000000000 in mbedtls_nist_kw_unwrap()
380 #if SIZE_MAX > 0x100000000 in mbedtls_nist_kw_unwrap()

12345678910>>...13