Home
last modified time | relevance | path

Searched refs:l2used (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/posix/
Dsed.c427 int mflags = 0, count = 0, l2used = 0, zmatch = 1, l2l = len, l2old = 0, in sed_line() local
438 l2[l2used++] = *rline++; in sed_line()
446 if (l2) memcpy(l2+l2used, rline, match[0].rm_eo); in sed_line()
447 l2used += match[0].rm_eo; in sed_line()
475 memcpy(l2+l2used, rline, match[0].rm_so); in sed_line()
476 l2used += match[0].rm_so; in sed_line()
486 if (!(l2[l2used+mlen++] = unescape(new[off]))) in sed_line()
487 l2[l2used+mlen-1] = new[off]; in sed_line()
492 l2[l2used+mlen++] = new[off]; in sed_line()
499 memcpy(l2+l2used+mlen, rline+match[cc].rm_so, ll); in sed_line()
[all …]