Searched refs:maxlen (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
D | strnlen.c | 30 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()
|
D | fts.c | 558 size_t len, maxlen; in fts_build() local 644 maxlen = sp->fts_pathlen - len; in fts_build() 662 if (strlen(dp->d_name) >= maxlen) { /* include space for NUL */ in fts_build() 685 maxlen = sp->fts_pathlen - len; in fts_build()
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
D | wcsnlen.c | 35 wcsnlen(const wchar_t *s, size_t maxlen) in wcsnlen() argument 39 for (len = 0; len < maxlen; len++, s++) { in wcsnlen()
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strndup.c | 26 strndup(const char *str, size_t maxlen) in strndup() argument 31 len = strnlen(str, maxlen); in strndup()
|
/bionic/libc/upstream-netbsd/lib/libc/inet/ |
D | nsap_addr.c | 58 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()
|