Lines Matching refs:length
39 NULL-terminating the result. The total length of the string which
53 size_t length;
61 length=strlen(dst);
64 Copy remaining characters from src while constraining length to
67 for ( p = dst + length, q = src;
68 (*q != 0) && (length < dstsize - 1) ;
69 length++, p++, q++ )
72 dst[length]='\0';
75 Add remaining length of src to length.
78 length++;
80 return length;
86 string src to dst, NULL-terminating the result. The total length of
101 size_t length=0;
112 for ( p=dst, q=src, length=0 ;
113 (*q != 0) && (length < dstsize-1) ;
114 length++, p++, q++ )
117 dst[length]='\0';
120 Add remaining length of src to length.
123 length++;
125 return length;