Lines Matching refs:sbeg
496 char *s, *p, *d, *sbeg; in expand() local
531 sbeg = s; in expand()
571 if (!gmatchx(sbeg, tpat1, false)) in expand()
576 while (sbeg <= d) { in expand()
577 if (gmatchx(sbeg, tpat2, false)) in expand()
580 sbeg++; in expand()
585 while (p >= sbeg) { in expand()
590 gotmatch = tobool(gmatchx(sbeg, pat, false)); in expand()
600 record_match(sbeg); in expand()
624 size_t n1 = sbeg - s; in expand()
625 size_t n2 = p - sbeg; in expand()
629 memmove(sbeg + rreplen, in expand()
644 sbeg = s + n1 + rreplen; in expand()