Searched refs:patlen (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | deflt.c | 226 size_t off, patlen; local 232 patlen = strlen(cp); 245 if ((*compare)(cp, buf_tmp, patlen) == 0) { 251 ret_ptr = &buf_tmp[patlen];
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | b.c | 73 int patlen; variable 459 patlen = -1; 464 patlen = q-p; 470 if (patlen >= 0) { 478 patlen = q - p - 1; /* don't count $ */ 479 if (patlen >= 0) { 516 patlen = -1; 521 patlen = q-p; 527 if (patlen > 0) { 535 patlen [all...] |
H A D | run.c | 572 if (patlen < 0) 575 (void) setfval(rlengthloc, (Awkfloat)patlen); 1259 s = patbeg + patlen; 1260 if (*(patbeg+patlen-1) == 0 || *s == 0) { 1768 expand_buf(&buf, &bsize, cnt + patlen); 1770 (void) memcpy(&buf[cnt], patbeg, patlen); 1771 cnt += patlen; 1776 sptr = patbeg + patlen; 1777 if ((patlen == 0 && *patbeg) || (patlen [all...] |
H A D | lib.c | 446 dprintf(("match %s (%d chars)\n", patbeg, patlen)); 450 rec = patbeg + patlen;
|
H A D | awk.h | 94 extern int patlen; /* length. set in b.c */
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | glob.c | 215 size_t patlen; local 220 if ((patlen = strnlen(pattern, PATH_MAX)) == PATH_MAX) 242 patlen += 1; 245 if ((n = mbtowc(&c, patnext, patlen)) > 0) { 247 patlen -= n; 259 if ((n = mbtowc(&c, patnext, patlen)) > 0) { 261 patlen -= n; 263 n = mbtowc(&c, patnext, patlen); 268 patlen -= n;
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | cgrep.c | 58 int patlen; member in struct:re_bm 1208 b->patlen = pe - pb; 1215 delta[j] = b->patlen; 1230 int m = b->patlen; 1257 s += b->patlen - 1; 1261 if ((unsigned long)s < (unsigned long)(e + b->patlen)) 1264 for (k = b->patlen-2, sp = s-1; k >= 0; k--) {
|
Completed in 123 milliseconds