Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/stdlib/
Dmul_overflow.h26 if ( (ia > SIZE_MAX / ib) || (ib > SIZE_MAX / ia)) { in mul_overflow_size_t()
31 if ( (a > SIZE_MAX / b) || (b > SIZE_MAX / a)) { in mul_overflow_size_t()
Dlocal_s.h43 #if RSIZE_MAX == SIZE_MAX
46 #define CHECK_RSIZE(s) (RSIZE_MAX == SIZE_MAX ? 0 : (s) > RSIZE_MAX)
Darc4random.c53 #if SIZE_MAX <= 65535
55 #elif SIZE_MAX <= 1048575
Dnano-malloc.h111 #define MALLOC_MAXSIZE (SIZE_MAX - (MALLOC_HEAD + 2*MALLOC_CHUNK_ALIGN))
/picolibc-latest/test/
Dmalloc.c124 r = malloc(SIZE_MAX); in main()
132 r = calloc(1, SIZE_MAX); in main()
140 r = reallocarray(NULL, 1, SIZE_MAX); in main()
149 r = calloc(SIZE_MAX >> pow, SIZE_MAX >> pow); in main()
156 r = reallocarray(NULL, SIZE_MAX >> pow, SIZE_MAX >> pow); in main()
Dt_fmemopen.c420 fp = fmemopen(NULL, SIZE_MAX, *p); in ATF_TC_BODY()
/picolibc-latest/newlib/testsuite/newlib.stdlib/
Dsize_max.c14 s = SIZE_MAX; in main()
17 if (s != SIZE_MAX) in main()
/picolibc-latest/newlib/libc/string/
Dstr-two-way.h55 # define LONG_NEEDLE_THRESHOLD SIZE_MAX
111 max_suffix = SIZE_MAX; in critical_factorization()
146 max_suffix_rev = SIZE_MAX; in critical_factorization()
265 while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) in two_way_short_needle()
268 if (i == SIZE_MAX) in two_way_short_needle()
397 while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) in two_way_long_needle()
400 if (i == SIZE_MAX) in two_way_long_needle()
/picolibc-latest/newlib/libc/include/
Dstdint.h342 #define SIZE_MAX (__SIZE_MAX__) macro
344 #define SIZE_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1) macro
463 #define RSIZE_MAX SIZE_MAX
/picolibc-latest/newlib/libc/stdio/
Dopen_memstream.c335 #if (SIZE_MAX >= 64 * 1024) in internalopen_memstream()
Dvfwscanf.c913 width = SIZE_MAX; /* `infinity' */ in _SVFWSCANF()
1009 width = SIZE_MAX; in _SVFWSCANF()
Dvfscanf.c1056 width = SIZE_MAX; in _SVFSCANF()
1193 width = SIZE_MAX; in _SVFSCANF()
/picolibc-latest/newlib/libc/tinystdio/
Dvfprintf.c1070 size = (flags & FL_PREC) ? (size_t) prec : SIZE_MAX; in vfprintf()
1090 size = (flags & FL_PREC) ? (size_t) prec : SIZE_MAX; in vfprintf()
/picolibc-latest/newlib/
DChangeLog-20154420 Don't limit c->max to 64*1024 on targets with SIZE_MAX < 64*1024.
7459 (SIZE_MAX): Define using __SIZE_MAX__ if available.
7846 operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
7850 * libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
8678 (SIZE_MAX): Define.