Searched refs:srclen_with_zero (Results 1 – 1 of 1) sorted by relevance
26 const size_t srclen_with_zero = srclen + 1; /* include zero termination in length. */ in audio_utils_strlcpy_zerofill() local27 if (srclen_with_zero < dst_size) { in audio_utils_strlcpy_zerofill()28 const size_t num_zeroes = dst_size - srclen_with_zero; in audio_utils_strlcpy_zerofill()29 memset(dst + srclen_with_zero, 0 /* value */, num_zeroes); /* clear remaining buffer */ in audio_utils_strlcpy_zerofill()