Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dstrnlen.c30 size_t strnlen(const char* str, size_t maxlen) in strnlen() argument
32 char* p = memchr(str, 0, maxlen); in strnlen()
35 return maxlen; in strnlen()
Dfts.c553 size_t len, maxlen; in fts_build() local
639 maxlen = sp->fts_pathlen - len; in fts_build()
657 if (strlen(dp->d_name) >= maxlen) { /* include space for NUL */ in fts_build()
681 maxlen = sp->fts_pathlen - len; in fts_build()
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcsnlen.c33 wcsnlen(const wchar_t *s, size_t maxlen) in wcsnlen() argument
37 for (len = 0; len < maxlen; len++, s++) { in wcsnlen()
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrndup.c26 strndup(const char *str, size_t maxlen) in strndup() argument
31 len = strnlen(str, maxlen); in strndup()
/bionic/libc/upstream-netbsd/lib/libc/inet/
Dnsap_addr.c58 inet_nsap_addr(const char *ascii, u_char *binary, int maxlen) { in inet_nsap_addr() argument
69 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) { in inet_nsap_addr()