Lines Matching refs:res
72 BcRandState res; in bc_rand_addition() local
74 res.lo = a + b; in bc_rand_addition()
75 res.hi = (res.lo < a); in bc_rand_addition()
77 return res; in bc_rand_addition()
89 BcRandState temp, res; in bc_rand_addition2() local
91 res = bc_rand_addition(a.lo, b.lo); in bc_rand_addition2()
93 res.hi += temp.lo; in bc_rand_addition2()
95 return res; in bc_rand_addition2()
108 BcRandState carry, res; in bc_rand_multiply() local
122 res = bc_rand_addition(c0, (BC_RAND_TRUNC32(carry.lo)) << 32); in bc_rand_multiply()
123 res.hi += BC_RAND_CHOP32(carry.lo) + c3 + (carry.hi << 32); in bc_rand_multiply()
125 return res; in bc_rand_multiply()
262 ulong res = 0; in bc_rand_rand() local
269 res |= ((ulong) (rand() & BC_RAND_SRAND_BITS)) << (i * CHAR_BIT); in bc_rand_rand()
272 return res; in bc_rand_rand()
500 BcRand res; in bc_rand_int() local
510 res = bc_rand_output(rng); in bc_rand_int()
514 return res; in bc_rand_int()
570 BcRandState res; in bc_rand_getInc() local
573 res = r->inc >> 1; in bc_rand_getInc()
575 res = r->inc; in bc_rand_getInc()
576 res.lo >>= 1; in bc_rand_getInc()
577 res.lo |= (res.hi & 1) << (BC_LONG_BIT - 1); in bc_rand_getInc()
578 res.hi >>= 1; in bc_rand_getInc()
581 return res; in bc_rand_getInc()