Lines Matching defs:noeval
207 primary(int token, union a_token_val *val, int op, int noeval)
213 token, op, noeval ? " noeval" : ""));
217 result = comma_list(op, noeval);
226 result = noeval ? val->val : arith_lookupvarint(val->name);
229 if (noeval)
240 return primary(op, val, arith_token(), noeval);
243 return -primary(op, val, arith_token(), noeval);
246 return !primary(op, val, arith_token(), noeval);
249 return ~primary(op, val, arith_token(), noeval);
255 if (noeval)
269 binop2(intmax_t a, int op, int precedence, int noeval)
277 a, op, precedence, noeval ? " noeval" : ""));
283 b = primary(token, &val, arith_token(), noeval);
288 b = binop2(b, op2, arith_prec(op), noeval);
292 a = noeval ? b : do_binop(op, a, b);
303 binop(int token, union a_token_val *val, int op, int noeval)
305 intmax_t a = primary(token, val, op, noeval);
311 return binop2(a, op, ARITH_MAX_PREC, noeval);
315 and(int token, union a_token_val *val, int op, int noeval)
317 intmax_t a = binop(token, val, op, noeval);
324 VTRACE(DBG_ARITH, ("Arith: AND %jd%s\n", a, noeval ? " noeval" : ""));
329 b = and(token, val, arith_token(), noeval | !a);
335 or(int token, union a_token_val *val, int op, int noeval)
337 intmax_t a = and(token, val, op, noeval);
344 VTRACE(DBG_ARITH, ("Arith: OR %jd%s\n", a, noeval ? " noeval" : ""));
349 b = or(token, val, arith_token(), noeval | !!a);
355 cond(int token, union a_token_val *val, int op, int noeval)
357 intmax_t a = or(token, val, op, noeval);
364 VTRACE(DBG_ARITH, ("Arith: ?: %jd%s\n", a, noeval ? " noeval" : ""));
366 b = assignment(arith_token(), noeval | !a);
374 c = cond(token, val, arith_token(), noeval | !!a);
380 assignment(int var, int noeval)
389 return cond(var, &val, op, noeval);
392 return cond(var, &val, op, noeval);
395 noeval ? " noeval" : ""));
397 result = assignment(arith_token(), noeval);
398 if (noeval)
410 comma_list(int token, int noeval)
412 intmax_t result = assignment(token, noeval);
416 noeval ? " noeval" : ""));
417 result = assignment(arith_token(), noeval);