Home
last modified time | relevance | path

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

12345678910

/third_party/qrcodegen/c/
Dqrcodegen-test.c584 {9831, SIZE_MAX}, in testCalcSegmentBufferSize()
585 {9832, SIZE_MAX}, in testCalcSegmentBufferSize()
586 {12000, SIZE_MAX}, in testCalcSegmentBufferSize()
587 {28453, SIZE_MAX}, in testCalcSegmentBufferSize()
588 {55555, SIZE_MAX}, in testCalcSegmentBufferSize()
589 {SIZE_MAX / 6, SIZE_MAX}, in testCalcSegmentBufferSize()
590 {SIZE_MAX / 4, SIZE_MAX}, in testCalcSegmentBufferSize()
591 {SIZE_MAX / 2, SIZE_MAX}, in testCalcSegmentBufferSize()
592 {SIZE_MAX / 1, SIZE_MAX}, in testCalcSegmentBufferSize()
614 {5958, SIZE_MAX}, in testCalcSegmentBufferSize()
[all …]
/third_party/e2fsprogs/intl/
Dxsize.h50 ((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)
/third_party/gettext/gettext-runtime/intl/
Dxsize.h59 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX)
66 return (sum >= size1 ? sum : SIZE_MAX); in xsum()
97 ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX)
101 ((SIZE) == SIZE_MAX)
104 ((SIZE) != SIZE_MAX)
/third_party/gettext/gettext-runtime/m4/
Dsize_max.m414 dnl First test whether the system already has SIZE_MAX.
15 AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [
22 #ifdef SIZE_MAX
37 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
63 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], definition
66 dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after
69 AH_VERBATIM([SIZE_MAX],
72 #ifndef SIZE_MAX
73 # undef SIZE_MAX
/third_party/uboot/u-boot-2020.01/include/
Dcharset.h63 #define utf8_utf16_strlen(a) utf8_utf16_strnlen((a), SIZE_MAX)
82 #define utf8_utf16_strcpy(d, s) utf8_utf16_strncpy((d), (s), SIZE_MAX)
134 #define utf16_utf8_strlen(a) utf16_utf8_strnlen((a), SIZE_MAX)
153 #define utf16_utf8_strcpy(d, s) utf16_utf8_strncpy((d), (s), SIZE_MAX)
184 #define u16_strcmp(s1, s2) u16_strncmp((s1), (s2), SIZE_MAX)
/third_party/python/Python/
Dasdl.c12 (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()
/third_party/flutter/skia/third_party/externals/wuffs/internal/cgen/base/
Dmemory-public.h34 if (malloc_func && (num_u8 <= (SIZE_MAX / sizeof(uint8_t)))) { in wuffs_base__malloc_slice_u8()
45 if (malloc_func && (num_u16 <= (SIZE_MAX / sizeof(uint16_t)))) { in wuffs_base__malloc_slice_u16()
56 if (malloc_func && (num_u32 <= (SIZE_MAX / sizeof(uint32_t)))) { in wuffs_base__malloc_slice_u32()
67 if (malloc_func && (num_u64 <= (SIZE_MAX / sizeof(uint64_t)))) { in wuffs_base__malloc_slice_u64()
/third_party/giflib/
Dopenbsd-reallocarray.c11 #ifndef SIZE_MAX
12 #define SIZE_MAX UINTPTR_MAX macro
25 nmemb > 0 && SIZE_MAX / nmemb < size) { in openbsd_reallocarray()
Dgif_lib_private.h15 #ifndef SIZE_MAX
16 #define SIZE_MAX UINTPTR_MAX macro
/third_party/mingw-w64/mingw-w64-headers/crt/
Dlimits.h74 #ifndef SIZE_MAX
76 #define SIZE_MAX _UI64_MAX macro
78 #define SIZE_MAX UINT_MAX macro
Dstdint.h152 #ifndef SIZE_MAX
154 #define SIZE_MAX UINT64_MAX macro
156 #define SIZE_MAX UINT32_MAX macro
/third_party/uboot/u-boot-2020.01/test/
Dunicode_ut.c266 ut_assert(!unicode_test_u16_strcmp(buf, c1, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
271 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
276 ut_assert(!unicode_test_u16_strcmp(buf, c3, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
281 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
287 ut_assert(!unicode_test_u16_strcmp(buf, L"j1?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
292 ut_assert(!unicode_test_u16_strcmp(buf, L"j2?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
297 ut_assert(!unicode_test_u16_strcmp(buf, L"j3?", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
320 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
341 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
509 ut_assert(!strncmp(buf, d2, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()
[all …]
/third_party/glib/glib/gnulib/
Dglib-gnulib.patch23 * glib has G_MAXSIZE instead of SIZE_MAX, so use that
370 -/* Get SIZE_MAX. */
379 - The convention is that SIZE_MAX represents overflow.
380 - malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc
390 - ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX)
399 - return (sum >= size1 ? sum : SIZE_MAX);
408 - max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX. */
416 - when N is of a wider type and N > SIZE_MAX. */
419 - ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX)
424 - ((SIZE) == SIZE_MAX)
[all …]
/third_party/gstreamer/gstreamer/m4/
Dsize_max.m412 dnl First test whether the system already has SIZE_MAX.
13 AC_MSG_CHECKING([for SIZE_MAX])
21 #ifdef SIZE_MAX
36 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
59 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], definition
/third_party/libxml2/
Dbuf.c33 #ifndef SIZE_MAX
34 #define SIZE_MAX ((size_t) -1) macro
163 if (size == SIZE_MAX) in xmlBufCreateSize()
454 if (len > SIZE_MAX - buf->use) in xmlBufGrowInternal()
458 size = buf->size > SIZE_MAX / 2 ? SIZE_MAX : buf->size * 2; in xmlBufGrowInternal()
461 size = size > SIZE_MAX - 100 ? SIZE_MAX : size + 100; in xmlBufGrowInternal()
777 newSize = (size > SIZE_MAX - 10 ? SIZE_MAX : size + 10); in xmlBufResize()
782 if (newSize > SIZE_MAX / 2) { in xmlBufResize()
790 newSize = (size > SIZE_MAX - 10 ? SIZE_MAX : size + 10); in xmlBufResize()
798 if (newSize > SIZE_MAX / 2) { in xmlBufResize()
[all …]
/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/openssl/crypto/evp/
Dpbe_scrypt.c118 #ifndef SIZE_MAX
119 # define SIZE_MAX ((size_t)-1) macro
151 # define SCRYPT_MAX_MEM (SIZE_MAX/2)
228 if (maxmem > SIZE_MAX) in EVP_PBE_scrypt()
229 maxmem = SIZE_MAX; in EVP_PBE_scrypt()
/third_party/ffmpeg/libavutil/
Dvideo_enc_params.c36 if (nb_blocks > SIZE_MAX / sizeof(AVVideoBlockParams) || in av_video_enc_params_alloc()
37 nb_blocks * sizeof(AVVideoBlockParams) > SIZE_MAX - size) in av_video_enc_params_alloc()
/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/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/openssl/include/internal/
Dnumbers.h63 # ifndef SIZE_MAX
64 # define SIZE_MAX __MAXUINT__(size_t) macro
/third_party/musl/src/malloc/
Dexpand_heap.c47 if (n > SIZE_MAX/2 - PAGE_SIZE) { in __expand_heap()
58 if (n < SIZE_MAX-brk && !traverses_stack_p(brk, brk+n) in __expand_heap()
/third_party/flutter/skia/src/core/
DSkMath.cpp76 return tmp.ok() ? sum : SIZE_MAX; in Add()
82 return tmp.ok() ? prod : SIZE_MAX; in Mul()
/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
/third_party/boost/libs/hof/doc/html/_sources/include/boost/hof/
Dfunction_param_limit.hpp.txt19 /// parameters. Everything else, it returns `SIZE_MAX`, but this can be
47 : std::integral_constant<std::size_t, SIZE_MAX>

12345678910