Home
last modified time | relevance | path

Searched refs:lcg_state (Results 1 – 1 of 1) sorted by relevance

/external/mksh/src/
Dvar.c43 static uint32_t lcg_state = 5381; variable
1533 return (((lcg_state = 22695477 * lcg_state + 1) >> 16) & 0x7FFF); in rndget()
1542 NZATUpdateMem(h, &lcg_state, sizeof(lcg_state)); in rndset()
1551 lcg_state = h; in rndset()
1552 NZAATFinish(lcg_state); in rndset()
1554 arc4random_pushb_fast(&lcg_state, sizeof(lcg_state)); in rndset()
1555 lcg_state = arc4random(); in rndset()
1557 lcg_state = arc4random_pushb(&lcg_state, sizeof(lcg_state)); in rndset()
1559 NZATUpdateMem(h, &lcg_state, sizeof(lcg_state)); in rndset()
1563 lcg_state = h; in rndset()