Home
last modified time | relevance | path

Searched refs:maxsize (Results 1 – 5 of 5) sorted by relevance

/picolibc-latest/newlib/libc/string/
Dstrnlen_s.c41 strnlen_s(const char *s, size_t maxsize) in strnlen_s() argument
49 s_end = memchr((const void *)s, (int)'\0', maxsize); in strnlen_s()
52 rtn = maxsize; in strnlen_s()
/picolibc-latest/newlib/libc/time/
Dstrftime.c344 #define CHECK_LENGTH() if (len < 0 || (count += len) >= maxsize) \
676 __strftime (CHAR *s, size_t maxsize, const CHAR *format, in __strftime() argument
681 __strftime (CHAR *s, size_t maxsize, const CHAR *format, in __strftime()
704 if (count < maxsize - 1) in __strftime()
762 if (count < maxsize - 1) in __strftime()
772 if (count < maxsize - 1) in __strftime()
783 if (count < maxsize - 1) in __strftime()
793 if (count < maxsize - 1) in __strftime()
829 len = __strftime (&s[count], maxsize - count, ctloc, tim_p, in __strftime()
861 len = t_snprintf (&s[count], maxsize - count, CQ("%" SFLG "s"), in __strftime()
[all …]
/picolibc-latest/newlib/libc/xdr/
Dxdr_array.c61 u_int maxsize, in xdr_array() argument
77 if ((c > maxsize || UINT_MAX / elsize < c) && (xdrs->x_op != XDR_FREE)) in xdr_array()
Dxdr.c644 u_int maxsize) in xdr_bytes() argument
656 if ((nodesize > maxsize) && (xdrs->x_op != XDR_FREE)) in xdr_bytes()
767 u_int maxsize) in xdr_string() argument
795 if (size > maxsize) in xdr_string()
/picolibc-latest/newlib/
DChangeLog-201512971 Avoid core dumps on valid inputs (maxsize == 0, or