Lines Matching refs:p_len
222 const size_t p_len = __compiletime_strlen(p); in strnlen() local
226 if (__builtin_constant_p(maxlen) && p_len != SIZE_MAX) { in strnlen()
229 return p_len; in strnlen()
363 size_t p_len, copy_len; in strlcat() local
370 p_len = strnlen(p, avail); in strlcat()
372 wanted = actual = p_len + copy_len; in strlcat()
375 if (avail <= p_len) in strlcat()
379 if (p_size <= p_len) in strlcat()
380 fortify_panic(FORTIFY_FUNC_strlcat, FORTIFY_READ, p_size, p_len + 1, wanted); in strlcat()
383 copy_len = avail - p_len - 1; in strlcat()
384 actual = p_len + copy_len; in strlcat()
390 __underlying_memcpy(p + p_len, q, copy_len); in strlcat()
448 size_t p_len, copy_len, total; in strncat() local
452 p_len = strlen(p); in strncat()
454 total = p_len + copy_len + 1; in strncat()
457 __underlying_memcpy(p + p_len, q, copy_len); in strncat()
458 p[p_len + copy_len] = '\0'; in strncat()