Lines Matching refs:from
432 static void line_copy P_((struct line *from, struct line *to, int state));
434 line_copy(from, to, state) in line_copy() argument
435 struct line *from; in line_copy()
442 if (to->alloc < from->length)
445 if (to->alloc < from->length)
446 to->alloc = from->length;
456 to->length = from->length;
457 to->chomped = from->chomped;
458 MEMCPY(to->active, from->active, from->length);
462 MEMCPY(&to->mbstate, &from->mbstate, sizeof (from->mbstate));
468 static void line_append P_((struct line *from, struct line *to, int state));
470 line_append(from, to, state) in line_append() argument
471 struct line *from; in line_append()
476 str_append(to, from->active, from->length);
477 to->chomped = from->chomped;
481 MEMCPY (&to->mbstate, &from->mbstate, sizeof (from->mbstate));