Lines Matching refs:srclen
202 const CTYPE* source, size_t srclen = SIZE_UNKNOWN) {
206 if (srclen == SIZE_UNKNOWN) {
207 srclen = strlenn(source, buflen - 1);
208 } else if (srclen >= buflen) {
209 srclen = buflen - 1;
211 memcpy(buffer, source, srclen * sizeof(CTYPE));
212 buffer[srclen] = 0;
213 return srclen;
218 const CTYPE* source, size_t srclen = SIZE_UNKNOWN) {
223 return bufpos + strcpyn(buffer + bufpos, buflen - bufpos, source, srclen);
273 const char* source, size_t srclen = SIZE_UNKNOWN) {
274 return strcpyn(buffer, buflen, source, srclen);
297 const char* source, size_t srclen = SIZE_UNKNOWN);