Home
last modified time | relevance | path

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

12345

/dflybsd-src/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()
/dflybsd-src/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
/dflybsd-src/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()
H A Dfnmatch.c66 #ifndef SIZE_MAX
67 # define SIZE_MAX ((size_t) -1) macro
298 && totsize <= SIZE_MAX / sizeof (wchar_t)), in fnmatch()
/dflybsd-src/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
400 for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) in quotearg_buffer_restyled()
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()
890 int nmax = MIN (INT_MAX, MIN (PTRDIFF_MAX, SIZE_MAX) / sizeof *sv) - 1; in quotearg_n_options()
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()
[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()
H A Dxalloc.h200 if ((PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX) / 3 * 2 / s in x2nrealloc()
/dflybsd-src/contrib/flex/src/
H A Dflexint.h61 #ifndef SIZE_MAX
62 #define SIZE_MAX (~(size_t)0) macro
/dflybsd-src/lib/libc/stdlib/
H A Drecallocarray.c40 newnmemb > 0 && SIZE_MAX / newnmemb < size) { in recallocarray()
47 oldnmemb > 0 && SIZE_MAX / oldnmemb < size) { in recallocarray()
H A Dreallocarray.c33 number > 0 && SIZE_MAX / number < size) { in reallocarray()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/contrib/libarchive/libarchive/
H A Darchive_platform.h133 #define SIZE_MAX (~(size_t)0) macro
136 #define SSIZE_MAX ((ssize_t)(SIZE_MAX >> 1))
/dflybsd-src/crypto/openssh/
H A Dsshbuf-misc.c83 if (SIZE_MAX / 2 <= len || (ret = malloc(len * 2 + 1)) == NULL) in sshbuf_dtob16()
100 if (d == NULL || b64 == NULL || sshbuf_len(d) >= SIZE_MAX / 2) in sshbuf_dtob64()
221 if (s == NULL || l > SIZE_MAX) in sshbuf_dup_string()
/dflybsd-src/contrib/xz/src/liblzma/common/
H A Doutqueue.c72 #if SIZE_MAX < UINT64_MAX in lzma_outq_init()
73 if (bufs_alloc_size > SIZE_MAX) in lzma_outq_init()
/dflybsd-src/contrib/xz/src/xz/
H A Dcoder.c700 if (strm.avail_in == SIZE_MAX) in coder_normal()
790 if (strm.avail_in == SIZE_MAX) in coder_normal()
860 if (strm.avail_in == SIZE_MAX) in coder_passthru()
892 if (strm.avail_in != SIZE_MAX) { in coder_run()
/dflybsd-src/sys/dev/drm/include/linux/
H A Dlimits.h33 #define SIZE_MAX (~(size_t)0) macro
/dflybsd-src/contrib/gcc-4.7/gcc/ginclude/
H A Dstdint-gcc.h219 #undef SIZE_MAX
220 #define SIZE_MAX __SIZE_MAX__ macro

12345