Home
last modified time | relevance | path

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

12

/external/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)
/external/bison/lib/
Dxsize.h53 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX)
63 return (sum >= size1 ? sum : SIZE_MAX); in xsum()
103 ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX)
107 ((SIZE) == SIZE_MAX)
110 ((SIZE) != SIZE_MAX)
Dvsprintf.c32 #ifndef SIZE_MAX
33 # define SIZE_MAX ((size_t) -1) macro
52 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX); in vsprintf()
Dsprintf.c32 #ifndef SIZE_MAX
33 # define SIZE_MAX ((size_t) -1) macro
53 lenbuf = (SIZE_MAX < INT_MAX ? SIZE_MAX : INT_MAX); in sprintf()
Dgetdelim.c34 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
98 SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX; in getdelim()
Dquotearg.c49 #ifndef SIZE_MAX
50 # define SIZE_MAX ((size_t) -1) macro
343 for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) in quotearg_buffer_restyled()
453 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) in quotearg_buffer_restyled()
537 if (argsize == SIZE_MAX) in quotearg_buffer_restyled()
823 return quotearg_n_options (n, arg, SIZE_MAX, &default_quoting_options); in quotearg_n()
848 return quotearg_n_options (n, arg, SIZE_MAX, &o); in quotearg_n_style()
883 return quotearg_char_mem (arg, SIZE_MAX, ch); in quotearg_char()
903 SIZE_MAX); in quotearg_n_custom()
956 return quote_n_mem (n, arg, SIZE_MAX); in quote_n()
Dbitrotate.h75 return ((x << n) | (x >> ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotl_sz()
84 return ((x >> n) | (x << ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotr_sz()
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@)
Dhash.c472 while (SIZE_MAX != candidate && !is_prime (candidate)) in next_prime()
549 if (SIZE_MAX <= new_candidate) in compute_bucket_size()
1079 if (SIZE_MAX <= candidate) in hash_insert_if_absent()
Derror.c240 if (__builtin_expect (len >= SIZE_MAX / 2, 0)) in error_tail()
/external/bison/m4/
Dsize_max.m412 dnl First test whether the system already has SIZE_MAX.
13 AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [
20 #ifdef SIZE_MAX
35 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
61 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], definition
64 dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after
67 AH_VERBATIM([SIZE_MAX],
70 #ifndef SIZE_MAX
71 # undef SIZE_MAX
/external/flac/libFLAC/
Dmemory.c87 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_int32_array()
116 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_uint32_array()
145 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_uint64_array()
174 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_unsigned_array()
205 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ in FLAC__memory_alloc_aligned_real_array()
Dmetadata_object.c553 …if(to->data.seek_table.num_points > SIZE_MAX / sizeof(FLAC__StreamMetadata_SeekPoint)) { /* overfl… in FLAC__metadata_object_clone()
946 if((size_t)new_num_points > SIZE_MAX / sizeof(FLAC__StreamMetadata_SeekPoint)) in FLAC__metadata_object_seektable_resize_points()
1177 if((size_t)new_num_comments > SIZE_MAX / sizeof(FLAC__StreamMetadata_VorbisComment_Entry)) in FLAC__metadata_object_vorbiscomment_resize_comments()
1489 if((size_t)new_num_indices > SIZE_MAX / sizeof(FLAC__StreamMetadata_CueSheet_Index)) in FLAC__metadata_object_cuesheet_track_resize_indices()
1577 if((size_t)new_num_tracks > SIZE_MAX / sizeof(FLAC__StreamMetadata_CueSheet_Track)) in FLAC__metadata_object_cuesheet_resize_tracks()
1736 if(new_length >= SIZE_MAX) /* overflow check */ in FLAC__metadata_object_picture_set_mime_type()
1768 if(new_length >= SIZE_MAX) /* overflow check */ in FLAC__metadata_object_picture_set_description()
/external/webkit/Source/JavaScriptCore/os-win32/
Dstdint.h45 #ifndef SIZE_MAX
47 #define SIZE_MAX _UI64_MAX macro
49 #define SIZE_MAX _UI32_MAX macro
/external/libusb_aah/msvc/
Dstdint.h203 #ifndef SIZE_MAX
205 #define SIZE_MAX UINT64_MAX macro
207 #define SIZE_MAX UINT32_MAX macro
/external/bison/darwin-lib/
Dstdint.h531 #undef SIZE_MAX
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
/external/safe-iop/src/
Dsafe_iop.c333 a=1; b=SIZE_MAX; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_sizet()
334 a=SIZE_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_sizet()
335 a=SIZE_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_sizet()
336 a=SIZE_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_sizet()
338 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_sizet()
543 a=SIZE_MAX-1; b=SIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_sizet()
544 a=SIZE_MAX; b=SIZE_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); in T_sub_sizet()
788 a=SIZE_MAX-1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet()
789 a=2; b=SIZE_MAX-1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet()
790 a=SIZE_MAX; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_sizet()
[all …]
/external/qemu/
Dbuffered_file.c214 if (new_rate > SIZE_MAX) { in buffered_set_rate_limit()
215 new_rate = SIZE_MAX; in buffered_set_rate_limit()
/external/clang/test/Preprocessor/
Dstdint.c935 SIZE_MAX_ SIZE_MAX
/external/oprofile/libpopt/
Dconfig.h281 #undef SIZE_MAX
/external/openssh/
Ddefines.h300 #ifndef SIZE_MAX
301 #define SIZE_MAX SIZE_T_MAX macro
/external/oprofile/opjitconv/
Djitsymbol.c257 if (strlen(split->symbol_name) > SIZE_MAX - 3) { in split_entry()
286 if (strlen(split->symbol_name) > SIZE_MAX - 3) { in split_entry()
/external/elfutils/src/
Dstrings.c474 # if SIZE_MAX > 0xffffffff in map_file()
482 const size_t map_size_min = MAX (MAX (SIZE_MAX / 16, 2 * ps), in map_file()
/external/mksh/src/
Dsh.h313 #ifndef SIZE_MAX
315 #define SIZE_MAX SIZE_T_MAX macro
317 #define SIZE_MAX ((size_t)-1) macro
1612 #define notoktomul(val, cnst) notok2mul(SIZE_MAX, (val), (cnst))
1613 #define notoktoadd(val, cnst) notok2add(SIZE_MAX, (val), (cnst))
/external/llvm/unittests/ADT/
DHashingTest.cpp212 #if SIZE_MAX == UINT64_MAX in TEST()
265 #elif SIZE_MAX == UINT32_MAX in TEST()

12