/titanic_50/usr/src/cmd/basename/ |
H A D | basename.c | 51 regmatch_t pmatch[2]; in main() local 150 r = regexec(®, string, 2, pmatch, 0); in main() 152 if (pmatch[0].rm_so == (regoff_t)-1 || in main() 153 pmatch[1].rm_so == (regoff_t)-1 || in main() 154 pmatch[1].rm_so != 0) { in main() 161 if (pmatch[1].rm_so == pmatch[1].rm_eo) { in main() 166 string[pmatch[1].rm_eo] = '\0'; in main()
|
/titanic_50/usr/src/lib/libc/port/locale/ |
H A D | engine.c | 81 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ member 153 regmatch_t pmatch[], in matcher() argument 178 start = string + pmatch[0].rm_so; in matcher() 179 stop = string + pmatch[0].rm_eo; in matcher() 237 m->pmatch = NULL; in matcher() 260 if (m->pmatch != NULL) in matcher() 261 free((char *)m->pmatch); in matcher() 285 if (m->pmatch == NULL) in matcher() 286 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * in matcher() 288 if (m->pmatch == NULL) { in matcher() [all …]
|
H A D | regexec.c | 200 regmatch_t pmatch[_RESTRICT_KYWD], int eflags) in regexec() 221 return (mmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec() 227 return (smatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec() 229 return (lmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
|
/titanic_50/usr/src/cmd/pgrep/ |
H A D | psexp.c | 115 regmatch_t pmatch; in psexp_match() local 145 if (regexec(&psexp->ps_reg, s, 1, &pmatch, 0) != 0) in psexp_match() 149 (pmatch.rm_so != 0 || s[pmatch.rm_eo] != '\0')) in psexp_match()
|
/titanic_50/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)));
|
/titanic_50/usr/src/cmd/awk/ |
H A D | awk.h | 270 extern int pmatch(fa *, uchar *);
|
H A D | run.c | 555 mf = pmatch; in matchop() 1750 if (pmatch(pfa, t)) { in sub() 1816 if (pmatch(pfa, t)) { in gsub() 1886 } while (pmatch(pfa, t)); in gsub()
|
H A D | b.c | 447 pmatch(fa *f, uchar *p) in pmatch() function
|
/titanic_50/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 919 regmatch_t pmatch[N_MATCH]; in _tz_match() local 927 ret = regexec((const regex_t *)®, string, N_MATCH, pmatch, 0); in _tz_match()
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 5582 regmatch_t *pmatch; in match_path_component() local 5586 pmatch = in match_path_component() 5589 pmatch = NULL; in match_path_component() 5594 if (pmatch != NULL) { in match_path_component() 5595 free(pmatch); in match_path_component() 5600 if (regexec(&re1, file, nelements, pmatch, 0) == 0) { in match_path_component() 5605 int size = pmatch[subexp].rm_eo - pmatch[subexp].rm_so; in match_path_component() 5607 (void) strncpy(*id, &file[pmatch[subexp].rm_so], size); in match_path_component() 5611 if (pmatch != NULL) { in match_path_component() 5612 free(pmatch); in match_path_component()
|
/titanic_50/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;
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 269 regmatch_t pmatch; in pgrep_cb() local 282 if (regexec(&pgp->pg_reg, prp->p_user.u_comm, 1, &pmatch, 0) != 0) in pgrep_cb() 286 (pmatch.rm_so != 0 || prp->p_user.u_comm[pmatch.rm_eo] != '\0')) in pgrep_cb()
|
/titanic_50/usr/src/uts/common/inet/ipf/ |
H A D | ip_state.c | 1078 int pmatch; local 1084 pmatch = fr_match_l4_hdr(is1, is2); 1092 rv = (amatch != 0) && (amatch == pmatch);
|