Lines Matching refs:lcg_state
44 static uint32_t lcg_state = 5381, qh_state = 4711; variable
1730 h = lcg_state; in chvt_rndsetup()
1750 return (((lcg_state = 22695477 * lcg_state + 1) >> 16) & 0x7FFF); in rndget()
1771 h = lcg_state; in rndset()
1776 z.sp = &lcg_state; in rndset()
1784 lcg_state = (t << 15) | rndget(); in rndset()
1791 BAFHUpdateMem_reg(t, &lcg_state, sizeof(lcg_state)); in rndset()
1793 lcg_state = t; in rndset()
1795 arc4random_pushb_fast(&lcg_state, sizeof(lcg_state)); in rndset()
1796 lcg_state = arc4random(); in rndset()
1798 lcg_state = arc4random_pushb(&lcg_state, sizeof(lcg_state)); in rndset()
1800 BAFHUpdateMem_reg(h, &lcg_state, sizeof(lcg_state)); in rndset()
1807 lcg_state = h; in rndset()