Lines Matching refs:trp

70     process(Tokenrow * trp)  in process()  argument
76 if (trp->tp >= trp->lp) in process()
78 trp->tp = trp->lp = trp->bp; in process()
80 anymacros |= gettokens(trp, 1); in process()
81 trp->tp = trp->bp; in process()
83 if (trp->tp->type == END) in process()
92 trp->tp = trp->lp; in process()
101 if (trp->tp->type == SHARP) in process()
103 trp->tp += 1; in process()
104 control(trp); in process()
108 expandrow(trp, NULL); in process()
110 setempty(trp); in process()
111 puttokens(trp); in process()
123 control(Tokenrow * trp) in control() argument
128 tp = trp->tp; in control()
150 setempty(trp); in control()
174 dodefine(trp); in control()
179 if (tp->type != NAME || trp->lp - trp->bp != 4) in control()
200 for (tp = trp->tp - 1; ((tp->type != NL) && (tp < trp->lp)); tp++) in control()
211 if (eval(trp, np->val)) in control()
225 if (eval(trp, np->val)) in control()
247 if (trp->lp - trp->bp != 3) in control()
261 if (trp->lp - trp->bp != 3) in control()
266 trp->tp = tp + 1; in control()
267 error(WARNING, "#error directive: %r", trp); in control()
271 trp->tp = tp + 1; in control()
272 expandrow(trp, "<line>"); in control()
273 tp = trp->bp + 2; in control()
275 if (tp + 1 >= trp->lp || tp->type != NUMBER || tp + 3 < trp->lp in control()
276 || (tp + 3 == trp->lp in control()
286 if (tp + 1 < trp->lp) in control()
295 doinclude(trp, -1, 1); in control()
296 trp->lp = trp->bp; in control()
300 doinclude(trp, -1, 0); in control()
301 trp->lp = trp->bp; in control()
305 doinclude(trp, cursource->pathdepth, 0); in control()
306 trp->lp = trp->bp; in control()
310 eval(trp, np->val); in control()
317 setempty(trp); in control()
343 Tokenrow *trp; in error() local
380 trp = va_arg(ap, Tokenrow *); in error()
381 for (tp = trp->tp; tp < trp->lp && tp->type != NL; tp++) in error()
383 if (tp > trp->tp && tp->wslen) in error()