Searched refs:patlen (Results 1 – 6 of 6) sorted by relevance
/ndk/sources/host-tools/nawk-20071023/ |
D | b.c | 73 int patlen; variable 502 patlen = -1; in pmatch() 507 patlen = q-p; in pmatch() 514 if (patlen >= 0) { in pmatch() 523 patlen = q-p-1; /* don't count $ */ in pmatch() 524 if (patlen >= 0) { in pmatch() 560 patlen = -1; in nematch() 565 patlen = q-p; in nematch() 572 if (patlen > 0) { in nematch() 580 patlen = q-p-1; /* don't count $ */ in nematch() [all …]
|
D | run.c | 597 if (patlen < 0) in matchop() 600 setfval(rlengthloc, (Awkfloat) patlen); in matchop() 1258 s = patbeg + patlen; in split() 1259 if (*(patbeg+patlen-1) == 0 || *s == 0) { in split() 1779 adjbuf(&buf, &bufsz, 1+patlen+pb-buf, recsize, &pb, "sub"); 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() 1844 adjbuf(&buf, &bufsz, 1+patlen+pb-buf, recsize, &pb, "gsub"); in gsub() [all …]
|
D | awk.h | 74 extern int patlen; /* length of pattern matched. set in b.c */
|
D | lib.c | 439 dprintf( ("match %s (%d chars)\n", patbeg, patlen) ); in refldbld() 443 rec = patbeg + patlen; in refldbld()
|
/ndk/sources/host-tools/make-3.81/ |
D | vpath.c | 34 unsigned int patlen;/* Length of the pattern. */ member 303 path->patlen = strlen (pattern); in construct_vpath_list()
|
/ndk/sources/host-tools/make-3.81/glob/ |
D | glob.c | 1248 size_t patlen = strlen (pattern); variable 1250 char *fullname = (char *) __alloca (dirlen + 1 + patlen + 1); 1255 pattern, patlen + 1); 1259 memcpy (&fullname[dirlen + 1], pattern, patlen + 1);
|