Lines Matching refs:noeval

164 static arith_t assignment(int var, int noeval);
166 static arith_t primary(int token, union yystype *val, int op, int noeval) in primary() argument
173 result = assignment(op, noeval); in primary()
183 return noeval ? val->val : arith_lookupvarint(val->name); in primary()
191 return -primary(op, val, yylex(), noeval); in primary()
194 return !primary(op, val, yylex(), noeval); in primary()
197 return ~primary(op, val, yylex(), noeval); in primary()
203 static arith_t binop2(arith_t a, int op, int precedence, int noeval) in binop2() argument
214 b = primary(token, &val, yylex(), noeval); in binop2()
219 b = binop2(b, op2, arith_prec(op), noeval); in binop2()
223 a = noeval ? b : do_binop(op, a, b); in binop2()
233 static arith_t binop(int token, union yystype *val, int op, int noeval) in binop() argument
235 arith_t a = primary(token, val, op, noeval); in binop()
241 return binop2(a, op, ARITH_MAX_PREC, noeval); in binop()
244 static arith_t and(int token, union yystype *val, int op, int noeval) in and() argument
246 arith_t a = binop(token, val, op, noeval); in and()
256 b = and(token, val, yylex(), noeval | !a); in and()
261 static arith_t or(int token, union yystype *val, int op, int noeval) in or() argument
263 arith_t a = and(token, val, op, noeval); in or()
273 b = or(token, val, yylex(), noeval | !!a); in or()
278 static arith_t cond(int token, union yystype *val, int op, int noeval) in cond() argument
280 arith_t a = or(token, val, op, noeval); in cond()
287 b = assignment(yylex(), noeval | !a); in cond()
295 c = cond(token, val, yylex(), noeval | !!a); in cond()
300 static arith_t assignment(int var, int noeval) in assignment() argument
308 return cond(var, &val, op, noeval); in assignment()
311 return cond(var, &val, op, noeval); in assignment()
313 result = assignment(yylex(), noeval); in assignment()
314 if (noeval) in assignment()