Lines Matching refs:rval

298 calc(INT* lval, TCHAR op, INT rval)  in calc()  argument
303 *lval *= rval; in calc()
308 if (rval == 0) in calc()
314 *lval /= rval; in calc()
320 if (rval == 0) in calc()
326 *lval %= rval; in calc()
331 *lval += rval; in calc()
334 *lval -= rval; in calc()
337 *lval &= rval; in calc()
340 *lval ^= rval; in calc()
343 *lval |= rval; in calc()
361 INT rval; in seta_unaryTerm() local
366 if (!seta_stmt(&p, &rval)) in seta_unaryTerm()
374 *result = rval; in seta_unaryTerm()
379 rval = _tcstol(p, (LPTSTR*)&p, 0); in seta_unaryTerm()
399 *result = rval; in seta_unaryTerm()
423 INT rval; in seta_mulTerm() local
430 if (!seta_mulTerm(&p, &rval)) in seta_mulTerm()
436 rval = !rval; in seta_mulTerm()
439 rval = ~rval; in seta_mulTerm()
442 rval = -rval; in seta_mulTerm()
446 rval = rval; in seta_mulTerm()
453 if (!seta_unaryTerm(&p, &rval)) in seta_mulTerm()
457 *result = rval; in seta_mulTerm()
474 INT rval; in seta_ltorTerm() local
480 if (!subTerm(&p, &rval)) in seta_ltorTerm()
484 if (!calc(&lval, op, rval)) in seta_ltorTerm()
518 INT rval; in seta_bitAndTerm() local
530 if (!seta_logShiftTerm(&p, &rval)) in seta_bitAndTerm()
540 if (rval < 0 || rval >= (8 * sizeof(lval))) in seta_bitAndTerm()
543 lval <<= rval; in seta_bitAndTerm()
548 lval >>= rval; in seta_bitAndTerm()
706 INT rval; in seta_stmt() local
708 if (!seta_assignment(&p, &rval)) in seta_stmt()
716 if (!seta_assignment(&p, &rval)) in seta_stmt()
720 *result = rval; in seta_stmt()
728 INT rval; in seta_eval() local
736 if (!seta_stmt(&p, &rval)) in seta_eval()
749 ConOutPrintf(_T("%i"), rval); in seta_eval()