Lines Matching refs:srclen
689 size_t srclen; /* Length of source string */ in _cups_strlcat() local
707 srclen = strlen(src); in _cups_strlcat()
713 if (srclen > size) in _cups_strlcat()
714 srclen = size; in _cups_strlcat()
716 memmove(dst + dstlen, src, srclen); in _cups_strlcat()
717 dst[dstlen + srclen] = '\0'; in _cups_strlcat()
719 return (dstlen + srclen); in _cups_strlcat()
734 size_t srclen; /* Length of source string */ in _cups_strlcpy() local
743 srclen = strlen(src); in _cups_strlcpy()
749 if (srclen > size) in _cups_strlcpy()
750 srclen = size; in _cups_strlcpy()
752 memmove(dst, src, srclen); in _cups_strlcpy()
753 dst[srclen] = '\0'; in _cups_strlcpy()
755 return (srclen); in _cups_strlcpy()