Lines Matching defs:copy_len
601 SSize_t copy_len;
613 copy_len = (delim_pos) ? delim_pos - from : from_len;
616 if (copy_len > to_len) {
621 Copy(from, to, copy_len, char);
624 if (copy_len < to_len) {
625 to[copy_len] = '\0';
628 *retlen = copy_len;
631 return (char *) from + copy_len;
704 Ptrdiff_t copy_len = 0;
715 while ((copy_len = from_end - from) > 0) {
723 delim_pos = (const char *) memchr(from + 1, delim, copy_len - 1);
728 copy_len = from_end - from;
737 copy_len = delim_pos - from;
753 copy_len = delim_pos - from; /* even, copy up to delimiter */
759 copy_len = delim_pos - 1 - from;
762 if (copy_len >= to_end - to) {
768 Copy(from, to, copy_len, char);
769 to += copy_len;
780 if (stopped_early || copy_len > to_end - to) {
785 Copy(from, to, copy_len, char);
787 to += copy_len;
797 return (char *) from + copy_len;