Home
last modified time | relevance | path

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

12345

/dragonfly/contrib/cvs-1.12/lib/
H A Dxsize.h49 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX)
59 return (sum >= size1 ? sum : SIZE_MAX); in xsum()
99 ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX)
103 ((SIZE) == SIZE_MAX)
106 ((SIZE) != SIZE_MAX)
H A Dxreadlink.c37 #ifndef SIZE_MAX
38 # define SIZE_MAX ((size_t) -1) macro
41 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
44 #define MAXSIZE (SIZE_MAX < SSIZE_MAX ? SIZE_MAX : SSIZE_MAX)
H A Dgetndelim2.c44 # define PTRDIFF_MAX ((ptrdiff_t) (SIZE_MAX / 2))
46 #ifndef SIZE_MAX
47 # define SIZE_MAX ((size_t) -1) macro
50 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
H A Dquotearg.c74 #ifndef SIZE_MAX
75 # define SIZE_MAX ((size_t) -1) macro
265 for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) in quotearg_buffer_restyled()
339 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) in quotearg_buffer_restyled()
420 if (argsize == SIZE_MAX) in quotearg_buffer_restyled()
626 return quotearg_n_options (n, arg, SIZE_MAX, &default_quoting_options); in quotearg_n()
649 return quotearg_n_options (n, arg, SIZE_MAX, &o); in quotearg_n_style()
672 return quotearg_n_options (0, arg, SIZE_MAX, &options); in quotearg_char()
H A Dxmalloc.c29 #ifndef SIZE_MAX
30 # define SIZE_MAX ((size_t) -1) macro
171 if (SIZE_MAX / 2 / s < n) in x2nrealloc_inline()
/dragonfly/contrib/diffutils/lib/
H A Dxsize.h56 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX)
66 return (sum >= size1 ? sum : SIZE_MAX); in xsum()
106 ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX)
110 ((SIZE) == SIZE_MAX)
113 ((SIZE) != SIZE_MAX)
H A Dcareadlinkat.c31 #ifndef SIZE_MAX
32 # define SIZE_MAX ((size_t) -1) macro
36 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
72 SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX; in careadlinkat()
145 else if (buf_size_max < SIZE_MAX) in careadlinkat()
H A Dquotearg.c51 #ifndef SIZE_MAX
52 # define SIZE_MAX ((size_t) -1) macro
412 <= (argsize == SIZE_MAX && 1 < quote_string_len in quotearg_buffer_restyled()
526 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) in quotearg_buffer_restyled()
626 if (argsize == SIZE_MAX) in quotearg_buffer_restyled()
933 return quotearg_n_options (n, arg, SIZE_MAX, &default_quoting_options); in quotearg_n()
958 return quotearg_n_options (n, arg, SIZE_MAX, &o); in quotearg_n_style()
993 return quotearg_char_mem (arg, SIZE_MAX, ch); in quotearg_char()
1014 return quotearg_n_options (n, arg, SIZE_MAX, &options); in quotearg_n_style_colon()
1022 SIZE_MAX); in quotearg_n_custom()
[all …]
H A Dxalloc-oversized.h31 ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) < (n))
33 #if PTRDIFF_MAX < SIZE_MAX
H A Dcmpbuf.c49 size_t readlim = MIN (SSIZE_MAX, SIZE_MAX); in block_read()
77 return SIZE_MAX; in block_read()
H A Dbitrotate.h78 return ((x << n) | (x >> ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotl_sz()
87 return ((x >> n) | (x << ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotr_sz()
H A Dtime_rz.c39 #ifndef SIZE_MAX
40 # define SIZE_MAX ((size_t) -1) macro
155 if (SIZE_MAX - zone_used < zone_size) in save_abbr()
H A Dstriconv.c35 #ifndef SIZE_MAX
36 # define SIZE_MAX ((size_t) -1) macro
263 size_t approx_sqrt_SIZE_MAX = SIZE_MAX >> (sizeof (size_t) * CHAR_BIT / 2); in str_cd_iconv()
/dragonfly/contrib/xz/src/common/
H A Dsysdefs.h110 # undef SIZE_MAX
114 #ifndef SIZE_MAX
116 # define SIZE_MAX UINT32_MAX macro
118 # define SIZE_MAX UINT64_MAX macro
123 #if SIZE_MAX != UINT32_MAX && SIZE_MAX != UINT64_MAX
/dragonfly/contrib/grep/lib/
H A Dstr-two-way.h67 # define LONG_NEEDLE_THRESHOLD SIZE_MAX
136 max_suffix = SIZE_MAX; in critical_factorization()
171 max_suffix_rev = SIZE_MAX; in critical_factorization()
302 while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) in two_way_short_needle()
305 if (i == SIZE_MAX) in two_way_short_needle()
434 while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) in two_way_long_needle()
437 if (i == SIZE_MAX) in two_way_long_needle()
H A Dquotearg.c51 #ifndef SIZE_MAX
52 # define SIZE_MAX ((size_t) -1) macro
412 <= (argsize == SIZE_MAX && 1 < quote_string_len in quotearg_buffer_restyled()
526 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) in quotearg_buffer_restyled()
626 if (argsize == SIZE_MAX) in quotearg_buffer_restyled()
933 return quotearg_n_options (n, arg, SIZE_MAX, &default_quoting_options); in quotearg_n()
958 return quotearg_n_options (n, arg, SIZE_MAX, &o); in quotearg_n_style()
993 return quotearg_char_mem (arg, SIZE_MAX, ch); in quotearg_char()
1014 return quotearg_n_options (n, arg, SIZE_MAX, &options); in quotearg_n_style_colon()
1022 SIZE_MAX); in quotearg_n_custom()
[all …]
H A Dxalloc-oversized.h31 ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) < (n))
33 #if PTRDIFF_MAX < SIZE_MAX
H A Dbitrotate.h78 return ((x << n) | (x >> ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotl_sz()
87 return ((x >> n) | (x << ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; in rotr_sz()
H A Dstriconv.c35 #ifndef SIZE_MAX
36 # define SIZE_MAX ((size_t) -1) macro
263 size_t approx_sqrt_SIZE_MAX = SIZE_MAX >> (sizeof (size_t) * CHAR_BIT / 2); in str_cd_iconv()
/dragonfly/contrib/gdb-7/gdb/gnulib/import/
H A Dstr-two-way.h67 # define LONG_NEEDLE_THRESHOLD SIZE_MAX
136 max_suffix = SIZE_MAX; in critical_factorization()
171 max_suffix_rev = SIZE_MAX; in critical_factorization()
302 while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) in two_way_short_needle()
305 if (i == SIZE_MAX) in two_way_short_needle()
434 while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) in two_way_long_needle()
437 if (i == SIZE_MAX) in two_way_long_needle()
/dragonfly/contrib/flex/src/
H A Dflexint.h61 #ifndef SIZE_MAX
62 #define SIZE_MAX (~(size_t)0) macro
/dragonfly/lib/libc/stdlib/
H A Drecallocarray.c40 newnmemb > 0 && SIZE_MAX / newnmemb < size) { in recallocarray()
47 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray()
/dragonfly/contrib/elftoolchain/libelf/
H A Delf_data.c113 if (sh_size / fsz > SIZE_MAX) { in elf_getdata()
122 if (count > 0 && msz > SIZE_MAX / count) { in elf_getdata()
128 assert(count <= SIZE_MAX); in elf_getdata()
129 assert(msz * count <= SIZE_MAX); in elf_getdata()
/dragonfly/contrib/mdocml/
H A Dout.c155 tbl->cols[++maxcol].spacing = SIZE_MAX; in tblcalc()
171 if (dp->layout->spacing != SIZE_MAX && in tblcalc()
172 (col->spacing == SIZE_MAX || in tblcalc()
230 if (col->spacing == SIZE_MAX || icol == maxcol) in tblcalc()
266 min1 = min2 = SIZE_MAX; in tblcalc()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_platform.h133 #define SIZE_MAX (~(size_t)0) macro
136 #define SSIZE_MAX ((ssize_t)(SIZE_MAX >> 1))

12345