Lines Matching refs:patbeg
596 int start = patbeg - s + 1; in matchop()
1251 temp = *patbeg; in split()
1252 *patbeg = '\0'; in split()
1257 *patbeg = temp; in split()
1258 s = patbeg + patlen; in split()
1259 if (*(patbeg+patlen-1) == 0 || *s == 0) { in split()
1768 adjbuf(&buf, &bufsz, 1+patbeg-sptr, recsize, 0, "sub"); in sub()
1770 while (sptr < patbeg) in sub()
1780 for (q = patbeg; q < patbeg+patlen; ) in sub()
1788 sptr = patbeg + patlen; in sub()
1789 if ((patlen == 0 && *patbeg) || (patlen && *(sptr-1))) { in sub()
1834 if (patlen == 0 && *patbeg != 0) { /* matched empty string */ in gsub()
1845 for (q = patbeg; q < patbeg+patlen; ) in gsub()
1862 adjbuf(&buf, &bufsz, 1+(patbeg-sptr)+pb-buf, recsize, &pb, "gsub"); in gsub()
1863 while (sptr < patbeg) in gsub()
1873 for (q = patbeg; q < patbeg+patlen; ) in gsub()
1878 t = patbeg + patlen; in gsub()