Home
last modified time | relevance | path

Searched refs:nleft (Results 1 – 3 of 3) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/string/
Dstrlcpy.c33 size_t nleft = dsize; in strlcpy() local
36 if (nleft != 0) { in strlcpy()
37 while (--nleft != 0) { in strlcpy()
44 if (nleft == 0) { in strlcpy()
Dwcslcpy.c58 size_t nleft = dsize; in wcslcpy() local
61 if (nleft != 0) { in wcslcpy()
62 while (--nleft != 0) { in wcslcpy()
69 if (nleft == 0) { in wcslcpy()
/picolibc-3.7.0-3.6.0/test/
Dt_fmemopen.c1174 size_t len0, len1, nleft, written, writelen; in ATF_TC_BODY() local
1192 nleft = t0->n - len0; in ATF_TC_BODY()
1194 if (nleft == 0 || len1 == nleft - 1) { in ATF_TC_BODY()
1195 writelen = nleft; in ATF_TC_BODY()
1199 writelen = nleft - 1; in ATF_TC_BODY()
1202 writelen = nleft; in ATF_TC_BODY()
1208 if (t1->s[t1->n - 1] != '\0' && nleft <= 1) in ATF_TC_BODY()