Home
last modified time | relevance | path

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

/netbsd/src/external/historical/nawk/dist/
Drun.c816 int start = patbeg - s + 1; /* origin 1 */ in matchop()
823 len = u8_nextlen(patbeg+i); in matchop()
1718 temp = *patbeg; in split()
1719 setptr(patbeg, '\0'); in split()
1724 setptr(patbeg, temp); in split()
1725 s = patbeg + patlen; in split()
1726 if (*(patbeg+patlen-1) == '\0' || *s == '\0') { in split()
2574 if (patbeg == noempty && patlen == 0) { in dosub()
2583 if (patbeg > start) { in dosub()
2584 adjbuf(&buf, &bufsz, (pb - buf) + (patbeg - start), in dosub()
[all …]
Db.c80 const char *patbeg; variable
751 patbeg = (const char *)p; in pmatch()
769 patbeg = (const char *) p; in pmatch()
783 patbeg = (const char *) p; in pmatch()
807 patbeg = (const char *)p; in nematch()
822 patbeg = (const char *) p; in nematch()
835 patbeg = (const char *) p; in nematch()
900 patbeg = buf + (patbeg - obuf); in fnematch()
921 patbeg = i; in fnematch()
955 while (k > patbeg + patlen); in fnematch()
Dlib.c251 setptr(patbeg, '\0'); in readrec()
612 DPRINTF("match %s (%d chars)\n", patbeg, patlen); in refldbld()
613 strncpy(fr, rec, patbeg-rec); in refldbld()
614 fr += patbeg - rec + 1; in refldbld()
616 rec = patbeg + patlen; in refldbld()
Dawk.h92 extern const char *patbeg; /* beginning of pattern matched */