Lines Matching refs:p_exp
49 static struct exp *p_exp = NULL; /* list of individual expressions */
60 if (p_exp != NULL) {
62 if (p_exp[i].comp != NULL)
63 free(p_exp[i].comp);
64 free(p_exp);
75 p_exp = (struct exp *)malloc(nexp * sizeof (struct exp));
77 p_exp[i].comp = NULL;
80 p_exp[i].not = 1;
82 p_exp[i].not = 0;
84 p_exp[i].s = p;
91 if (regcmp(p_exp[i].s, NULL) == NULL)
106 if ((p_exp[i].comp = regcmp(p_exp[i].s, NULL)) == NULL)
112 ret = regex(p_exp[i].comp, s);
114 return (!p_exp[i].not);