Lines Matching refs:pr
70 struct irs_pr *pr;
73 if (!(pr = memget(sizeof *pr))) {
77 memset(pr, 0x5e, sizeof *pr);
79 memput(pr, sizeof *pr);
86 pr->private = pvt;
87 pr->close = pr_close;
88 pr->next = pr_next;
89 pr->byname = pr_byname;
90 pr->bynumber = pr_bynumber;
91 pr->rewind = pr_rewind;
92 pr->minimize = pr_minimize;
93 pr->res_get = pr_res_get;
94 pr->res_set = pr_res_set;
95 return (pr);
112 struct irs_pr *pr;
115 pr = pvt->rule->inst->pr;
116 rval = (*pr->next)(pr);
123 pr = pvt->rule->inst->pr;
124 (*pr->rewind)(pr);
135 struct irs_pr *pr;
139 pr = rule->inst->pr;
140 rval = (*pr->byname)(pr, name);
152 struct irs_pr *pr;
156 pr = rule->inst->pr;
157 rval = (*pr->bynumber)(pr, proto);
167 struct irs_pr *pr;
171 pr = pvt->rule->inst->pr;
172 (*pr->rewind)(pr);
182 struct irs_pr *pr = rule->inst->pr;
184 (*pr->minimize)(pr);
221 struct irs_pr *pr = rule->inst->pr;
223 if (pr->res_set)
224 (*pr->res_set)(pr, pvt->res, NULL);