pmatch
extern int pmatch(fa *, const char *);
if (pmatch(pfa, t)) {
if (pmatch(pfa, t)) {
} while (pmatch(pfa, t));
mf = pmatch;
r = regexec(®, string, 2, pmatch, 0);
if (pmatch[0].rm_so == (regoff_t)-1 ||
pmatch[1].rm_so == (regoff_t)-1 ||
pmatch[1].rm_so != 0) {
if (pmatch[1].rm_so == pmatch[1].rm_eo) {
string[pmatch[1].rm_eo] = '\0';
regmatch_t pmatch[2];
regmatch_t *pmatch;
pmatch =
pmatch = NULL;
if (pmatch != NULL) {
free(pmatch);
if (regexec(&re1, file, nelements, pmatch, 0) == 0) {
int size = pmatch[subexp].rm_eo - pmatch[subexp].rm_so;
(void) strncpy(*id, &file[pmatch[subexp].rm_so], size);
if (pmatch != NULL) {
free(pmatch);
regmatch_t pmatch;
if (regexec(&preg[cnpreg], name, 1, &pmatch, 0) == 0)
val = ((pmatch.rm_so == 0) &&
(pmatch.rm_eo == strlen(name)));
regmatch_t pmatch;
if (regexec(&f->reg, name, 1, &pmatch, 0) == 0 ||
regexec(&f->reg, iwp->iwlk_descr, 1, &pmatch, 0) == 0))
regmatch_t pmatch;
if (regexec(&f->reg, name, 1, &pmatch, 0) == 0 ||
regexec(&f->reg, idcp->idc_descr, 1, &pmatch, 0) == 0))
regmatch_t pmatch;
if (regexec(&pgp->pg_reg, p.p_user.u_comm, 1, &pmatch, 0) != 0)
(pmatch.rm_so != 0 || p.p_user.u_comm[pmatch.rm_eo] != '\0'))
regmatch_t pmatch;
if (regexec(&psexp->ps_reg, s, 1, &pmatch, 0) != 0)
(pmatch.rm_so != 0 || s[pmatch.rm_eo] != '\0'))
regmatch_t pmatch[MAX_MATCH];
name, MAX_MATCH, pmatch, 0);
pmatch[*ip].rm_so < 0 || pmatch[*ip].rm_eo < 0)
sp = name + pmatch[*ip].rm_so;
endp = name + pmatch[*ip].rm_eo;
regmatch_t pmatch[], int eflags)
start = string + pmatch[0].rm_so;
stop = string + pmatch[0].rm_eo;
m->pmatch = NULL;
if (m->pmatch != NULL)
free((char *)m->pmatch);
if (m->pmatch == NULL)
m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) *
if (m->pmatch == NULL) {
m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
free(m->pmatch);
assert(m->pmatch[i].rm_so == -1);
assert(m->pmatch[i].rm_eo == -1);
pmatch[0].rm_so = m->coldp - m->offp;
pmatch[0].rm_eo = endp - m->offp;
assert(m->pmatch != NULL);
pmatch[i] = m->pmatch[i];
pmatch[i].rm_so = -1;
pmatch[i].rm_eo = -1;
if (m->pmatch != NULL)
free((char *)m->pmatch);
m->pmatch[i].rm_so = sp - m->offp;
m->pmatch[i].rm_eo = sp - m->offp;
if (m->pmatch[i].rm_eo == -1)
assert(m->pmatch[i].rm_so != -1);
len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so;
ssp = m->offp + m->pmatch[i].rm_so;
offsave = m->pmatch[i].rm_so;
m->pmatch[i].rm_so = sp - m->offp;
m->pmatch[i].rm_so = offsave;
offsave = m->pmatch[i].rm_eo;
m->pmatch[i].rm_eo = sp - m->offp;
m->pmatch[i].rm_eo = offsave;
regmatch_t *pmatch; /* [nsub+1] (0 element unused) */
size_t nmatch, regmatch_t pmatch[_RESTRICT_KYWD], int eflags)
return (mmatcher(g, string, nmatch, pmatch, eflags));
return (smatcher(g, string, nmatch, pmatch, eflags));
return (lmatcher(g, string, nmatch, pmatch, eflags));
regmatch_t *smatch = &pmatch[URI_SCHEMESUBEXP];
ret = regexec(&hdl->libzfs_urire, str, ARRAY_SIZE(pmatch), pmatch, 0);
regmatch_t pmatch[URI_NMATCH];
regmatch_t pmatch[N_MATCH];
ret = regexec((const regex_t *)®, string, N_MATCH, pmatch, 0);
int pmatch;
pmatch = fr_match_l4_hdr(is1, is2);
rv = (amatch != 0) && (amatch == pmatch);