Searched refs:SIZE_MAX (Results 1 - 25 of 35) sorted by relevance

12

/external/bison/lib/
H A Dxsize.h24 /* Get SIZE_MAX. */
42 The convention is that SIZE_MAX represents overflow.
43 malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc
53 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX)
63 return (sum >= size1 ? sum : SIZE_MAX);
94 max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX
[all...]
H A Dsprintf.c32 #ifndef SIZE_MAX
33 # define SIZE_MAX ((size_t) -1) macro
52 Therefore set lenbuf = min (SIZE_MAX, INT_MAX, - (uintptr_t) str - 1). */
53 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX);
67 /* len is near SIZE_MAX. */
H A Dvsprintf.c32 #ifndef SIZE_MAX
33 # define SIZE_MAX ((size_t) -1) macro
51 Therefore set lenbuf = min (SIZE_MAX, INT_MAX, - (uintptr_t) str - 1). */
52 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX);
64 /* len is near SIZE_MAX. */
H A Dgetdelim.c34 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
98 SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX;
H A Dbitrotate.h75 return ((x << n) | (x >> ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX;
84 return ((x >> n) | (x << ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX;
H A Dquotearg.c49 #ifndef SIZE_MAX
50 # define SIZE_MAX ((size_t) -1) macro
235 If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE.
343 for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++)
453 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1))
537 if (argsize == SIZE_MAX)
665 If ARGSIZE is SIZE_MAX, use the string length of the argument for
692 embedded null bytes only if ARGSIZE is not SIZE_MAX, SIZE is not
753 ARG is of size ARGSIZE, but if that is SIZE_MAX, ARG is a
823 return quotearg_n_options (n, arg, SIZE_MAX,
[all...]
H A Dstdint.in.h530 #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@)
H A Dhash.c472 while (SIZE_MAX != candidate && !is_prime (candidate))
549 if (SIZE_MAX <= new_candidate)
1079 if (SIZE_MAX <= candidate)
H A Derror.c240 if (__builtin_expect (len >= SIZE_MAX / 2, 0))
/external/e2fsprogs/intl/
H A Dxsize.h26 /* Get SIZE_MAX. */
39 The convention is that SIZE_MAX represents overflow.
40 malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc
50 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX)
60 return (sum >= size1 ? sum : SIZE_MAX);
91 max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX
[all...]
/external/webkit/Source/JavaScriptCore/os-win32/
H A Dstdint.h45 #ifndef SIZE_MAX
47 #define SIZE_MAX _UI64_MAX macro
49 #define SIZE_MAX _UI32_MAX macro
/external/flac/libFLAC/
H A Dmemory.c87 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
116 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
145 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
174 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
205 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */
H A Dmd5.c403 if((size_t)channels > SIZE_MAX / (size_t)bytes_per_sample)
405 if((size_t)channels * (size_t)bytes_per_sample > SIZE_MAX / (size_t)samples)
/external/libusb_aah/msvc/
H A Dstdint.h203 #ifndef SIZE_MAX
205 #define SIZE_MAX UINT64_MAX macro
207 #define SIZE_MAX UINT32_MAX macro
/external/clang/test/Preprocessor/
H A Dstdint.c935 SIZE_MAX_ SIZE_MAX
/external/bison/darwin-lib/
H A Dstdint.h531 #undef SIZE_MAX macro
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
H A Dconfig.h1960 #ifndef SIZE_MAX
1961 /* # undef SIZE_MAX */
/external/oprofile/libpopt/
H A Dconfig.h281 #undef SIZE_MAX macro
/external/safe-iop/src/
H A Dsafe_iop.c333 a=1; b=SIZE_MAX; EXPECT_FALSE(safe_add(NULL, a, b));
334 a=SIZE_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b));
335 a=SIZE_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b));
336 a=SIZE_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b));
338 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_add(NULL, a, b));
543 a=SIZE_MAX-1; b=SIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b));
544 a=SIZE_MAX; b=SIZE_MAX; EXPECT_TRUE(safe_sub(NULL, a, b));
788 a=SIZE_MAX
[all...]
/external/qemu/
H A Dbuffered_file.c214 if (new_rate > SIZE_MAX) {
215 new_rate = SIZE_MAX;
/external/openssh/
H A Ddefines.h300 #ifndef SIZE_MAX
301 #define SIZE_MAX SIZE_T_MAX macro
/external/oprofile/opjitconv/
H A Djitsymbol.c257 if (strlen(split->symbol_name) > SIZE_MAX - 3) {
286 if (strlen(split->symbol_name) > SIZE_MAX - 3) {
/external/elfutils/src/
H A Dstrings.c474 # if SIZE_MAX > 0xffffffff
482 const size_t map_size_min = MAX (MAX (SIZE_MAX / 16, 2 * ps),
/external/llvm/unittests/ADT/
H A DHashingTest.cpp212 #if SIZE_MAX == UINT64_MAX
265 #elif SIZE_MAX == UINT32_MAX
/external/bison/linux-lib/
H A Dconfig.h1960 #ifndef SIZE_MAX
1961 /* # undef SIZE_MAX */

Completed in 540 milliseconds

12