/illumos-gate/usr/src/cmd/basename/ |
H A D | basename.c | 51 regmatch_t pmatch[2]; local 150 r = regexec(®, string, 2, pmatch, 0); 152 if (pmatch[0].rm_so == (regoff_t)-1 || 153 pmatch[1].rm_so == (regoff_t)-1 || 154 pmatch[1].rm_so != 0) { 161 if (pmatch[1].rm_so == pmatch[1].rm_eo) { 166 string[pmatch[1].rm_eo] = '\0';
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | engine.c | 81 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ member in struct:match 153 regmatch_t pmatch[], 178 start = string + pmatch[0].rm_so; 179 stop = string + pmatch[0].rm_eo; 237 m->pmatch = NULL; 260 if (m->pmatch != NULL) 261 free((char *)m->pmatch); 285 if (m->pmatch == NULL) 286 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * 288 if (m->pmatch 150 matcher(struct re_guts *g, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags) argument [all...] |
H A D | regexec.c | 200 regmatch_t pmatch[_RESTRICT_KYWD], int eflags) 221 return (mmatcher(g, (char *)string, nmatch, pmatch, eflags)); 227 return (smatcher(g, (char *)string, nmatch, pmatch, eflags)); 229 return (lmatcher(g, (char *)string, nmatch, pmatch, eflags)); 198 regexec(const regex_t *_RESTRICT_KYWD preg, const char *_RESTRICT_KYWD string, size_t nmatch, regmatch_t pmatch[_RESTRICT_KYWD], int eflags) argument
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | psexp.c | 115 regmatch_t pmatch; local 145 if (regexec(&psexp->ps_reg, s, 1, &pmatch, 0) != 0) 149 (pmatch.rm_so != 0 || s[pmatch.rm_eo] != '\0'))
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | awk.h | 270 extern int pmatch(fa *, uchar *);
|
H A D | run.c | 555 mf = pmatch; 1750 if (pmatch(pfa, t)) { 1816 if (pmatch(pfa, t)) { 1886 } while (pmatch(pfa, t));
|
H A D | b.c | 447 pmatch(fa *f, uchar *p) function 491 overflo("out of space in pmatch");
|
/illumos-gate/usr/src/cmd/find/ |
H A D | find.c | 1130 regmatch_t pmatch; local 1133 if (regexec(&preg[cnpreg], name, 1, &pmatch, NULL) == 0) 1134 val = ((pmatch.rm_so == 0) && 1135 (pmatch.rm_eo == strlen(name)));
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 5583 regmatch_t *pmatch; local 5587 pmatch = 5590 pmatch = NULL; 5595 if (pmatch != NULL) { 5596 free(pmatch); 5601 if (regexec(&re1, file, nelements, pmatch, 0) == 0) { 5606 int size = pmatch[subexp].rm_eo - pmatch[subexp].rm_so; 5608 (void) strncpy(*id, &file[pmatch[subexp].rm_so], size); 5612 if (pmatch ! [all...] |
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 919 regmatch_t pmatch[N_MATCH]; local 927 ret = regexec((const regex_t *)®, string, N_MATCH, pmatch, 0);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | map.c | 7020 regmatch_t pmatch[MAX_MATCH]; local 7033 name, MAX_MATCH, pmatch, 0); 7088 pmatch[*ip].rm_so < 0 || pmatch[*ip].rm_eo < 0) 7091 sp = name + pmatch[*ip].rm_so; 7092 endp = name + pmatch[*ip].rm_eo;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 352 regmatch_t pmatch; local 365 if (regexec(&pgp->pg_reg, prp->p_user.u_comm, 1, &pmatch, 0) != 0) 369 (pmatch.rm_so != 0 || prp->p_user.u_comm[pmatch.rm_eo] != '\0'))
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_state.c | 1078 int pmatch; local 1084 pmatch = fr_match_l4_hdr(is1, is2); 1088 * must be same for matching entries. If amatch and pmatch 1092 rv = (amatch != 0) && (amatch == pmatch);
|