Home | History | Annotate | Download | only in sed

Lines Matching full:s_accum

162 static struct line s_accum;
1190 line_reset(&s_accum, &line);
1229 str_append(&s_accum, line.active + start, offset - start);
1247 repl_mod = append_replacement (&s_accum, sub->replacement, &regs, repl_mod);
1263 str_append(&s_accum, line.active + offset, matched);
1279 str_append(&s_accum, line.active + start, line.length-start);
1280 s_accum.chomped = line.chomped;
1282 /* Exchange line and s_accum. This can be much cheaper
1283 than copying s_accum.active into line.text (for huge lines). */
1284 s_accum, false);
1298 line_reset(&s_accum, NULL);
1310 str_append(&s_accum, buf, n);
1315 /* Exchange line and s_accum. This can be much cheaper than copying
1316 s_accum.active into line.text (for huge lines). See comment above
1318 line_exchange(&line, &s_accum, true);
1458 line_reset(&s_accum, NULL);
1480 str_append(&s_accum, buf, n);
1489 if (s_accum.length &&
1490 s_accum.active[s_accum.length - 1] == '\n')
1491 s_accum.length--;
1493 /* Exchange line and s_accum. This can be much
1494 cheaper than copying s_accum.active into line.text
1497 line_exchange(&line, &s_accum, true);
1881 FREE(s_accum.text);