Searched refs:maxlen (Results 1 – 5 of 5) sorted by relevance
30 size_t strnlen(const char* str, size_t maxlen) in strnlen() argument32 char* p = memchr(str, 0, maxlen); in strnlen()35 return maxlen; in strnlen()
33 wcsnlen(const wchar_t *s, size_t maxlen) in wcsnlen() argument37 for (len = 0; len < maxlen; len++, s++) { in wcsnlen()
51 inet_nsap_addr(const char *ascii, u_char *binary, int maxlen) { in inet_nsap_addr() argument62 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) { in inet_nsap_addr()
49 unsigned int maxlen; member
550 size_t len, maxlen; in fts_build() local636 maxlen = sp->fts_pathlen - len; in fts_build()654 if (strlen(dp->d_name) >= maxlen) { /* include space for NUL */ in fts_build()678 maxlen = sp->fts_pathlen - len; in fts_build()