Lines Matching refs:vp
100 exp(tchar ***vp) in exp() argument
106 return (exp0(vp, 0)); in exp()
110 exp0(tchar ***vp, bool ignore) in exp0() argument
112 int p1 = exp1(vp, ignore); in exp0()
118 etraci("exp0 p1", p1, vp); in exp0()
120 if (**vp && eq(**vp, S_BARBAR /* "||" */)) { in exp0()
123 (*vp)++; in exp0()
124 p2 = exp0(vp, (ignore&IGNORE) || p1); in exp0()
126 etraci("exp0 p2", p2, vp); in exp0()
134 exp1(tchar ***vp, bool ignore) in exp1() argument
136 int p1 = exp2(vp, ignore); in exp1()
142 etraci("exp1 p1", p1, vp); in exp1()
144 if (**vp && eq(**vp, S_ANDAND /* "&&" */)) { in exp1()
147 (*vp)++; in exp1()
148 p2 = exp1(vp, (ignore&IGNORE) || !p1); in exp1()
150 etraci("exp1 p2", p2, vp); in exp1()
158 exp2(tchar ***vp, bool ignore) in exp2() argument
160 int p1 = exp2a(vp, ignore); in exp2()
166 etraci("exp3 p1", p1, vp); in exp2()
168 if (**vp && eq(**vp, S_BAR /* "|" */)) { in exp2()
171 (*vp)++; in exp2()
172 p2 = exp2(vp, ignore); in exp2()
174 etraci("exp3 p2", p2, vp); in exp2()
182 exp2a(tchar ***vp, bool ignore) in exp2a() argument
184 int p1 = exp2b(vp, ignore); in exp2a()
190 etraci("exp2a p1", p1, vp); in exp2a()
192 if (**vp && eq(**vp, S_HAT /* "^" */)) { in exp2a()
195 (*vp)++; in exp2a()
196 p2 = exp2a(vp, ignore); in exp2a()
198 etraci("exp2a p2", p2, vp); in exp2a()
206 exp2b(tchar ***vp, bool ignore) in exp2b() argument
208 int p1 = exp2c(vp, ignore); in exp2b()
214 etraci("exp2b p1", p1, vp); in exp2b()
216 if (**vp && eq(**vp, S_AND /* "&" */)) { in exp2b()
219 (*vp)++; in exp2b()
220 p2 = exp2b(vp, ignore); in exp2b()
222 etraci("exp2b p2", p2, vp); in exp2b()
230 exp2c(tchar ***vp, bool ignore) in exp2c() argument
232 tchar *p1 = exp3(vp, ignore); in exp2c()
240 etracc("exp2c p1", p1, vp); in exp2c()
242 if (i = isa(**vp, EQOP)) { in exp2c()
243 (*vp)++; in exp2c()
246 p2 = exp3(vp, ignore); in exp2c()
248 etracc("exp2c p2", p2, vp); in exp2c()
277 exp3(tchar ***vp, bool ignore) in exp3() argument
285 p1 = exp3a(vp, ignore); in exp3()
287 etracc("exp3 p1", p1, vp); in exp3()
289 if (i = isa(**vp, RELOP)) { in exp3()
290 (*vp)++; in exp3()
291 if (**vp && eq(**vp, S_EQ /* "=" */)) in exp3()
292 i |= 1, (*vp)++; in exp3()
293 p2 = exp3(vp, ignore); in exp3()
295 etracc("exp3 p2", p2, vp); in exp3()
322 exp3a(tchar ***vp, bool ignore) in exp3a() argument
330 p1 = exp4(vp, ignore); in exp3a()
332 etracc("exp3a p1", p1, vp); in exp3a()
334 op = **vp; in exp3a()
337 (*vp)++; in exp3a()
338 p2 = exp3a(vp, ignore); in exp3a()
340 etracc("exp3a p2", p2, vp); in exp3a()
353 exp4(tchar ***vp, bool ignore) in exp4() argument
361 p1 = exp5(vp, ignore); in exp4()
363 etracc("exp4 p1", p1, vp); in exp4()
365 if (isa(**vp, ADDOP)) { in exp4()
366 tchar *op = *(*vp)++; in exp4()
368 p2 = exp4(vp, ignore); in exp4()
370 etracc("exp4 p2", p2, vp); in exp4()
389 exp5(tchar ***vp, bool ignore) in exp5() argument
397 p1 = exp6(vp, ignore); in exp5()
399 etracc("exp5 p1", p1, vp); in exp5()
401 if (isa(**vp, MULOP)) { in exp5()
402 tchar *op = *(*vp)++; in exp5()
404 p2 = exp5(vp, ignore); in exp5()
406 etracc("exp5 p2", p2, vp); in exp5()
435 exp6(tchar ***vp, bool ignore) in exp6() argument
443 if (**vp == 0) in exp6()
445 if (eq(**vp, S_EXAS /* "!" */)) { in exp6()
446 (*vp)++; in exp6()
447 cp = exp6(vp, ignore); in exp6()
449 etracc("exp6 ! cp", cp, vp); in exp6()
455 if (eq(**vp, S_TIL /* "~" */)) { in exp6()
456 (*vp)++; in exp6()
457 cp = exp6(vp, ignore); in exp6()
459 etracc("exp6 ~ cp", cp, vp); in exp6()
465 if (eq(**vp, S_LPAR /* "(" */)) { in exp6()
466 (*vp)++; in exp6()
467 ccode = exp0(vp, ignore); in exp6()
469 etraci("exp6 () ccode", ccode, vp); in exp6()
471 if (*vp == 0 || **vp == 0 || ***vp != ')') in exp6()
473 (*vp)++; in exp6()
476 if (eq(**vp, S_LBRA /* "{" */)) { in exp6()
487 (*vp)++; in exp6()
488 v = *vp; in exp6()
490 if (!**vp) in exp6()
492 if (eq(*(*vp)++, S_RBRA /* "}" */)) in exp6()
499 *--(*vp) = 0; in exp6()
506 etraci("exp6 {} status", egetn(value("status")), vp); in exp6()
510 if (isa(**vp, ANYOP)) in exp6()
512 cp = *(*vp)++; in exp6()
527 if ((**vp == NULL) || isa(**vp, ANYOP) && stat_(**vp, &stb)) in exp6()
529 dp = *(*vp)++; in exp6()
577 etraci("exp6 -? i", i, vp); in exp6()
583 etracc("exp6 default", cp, vp); in exp6()
685 etraci(tchar *str, int i, tchar ***vp) in etraci() argument
689 blkpr(*vp); in etraci()
694 etracc(tchar *str, tchar *cp, tchar ***vp) in etracc() argument
698 blkpr(*vp); in etracc()