Searched refs:RanState (Results 1 – 2 of 2) sorted by relevance
518 } RanState; typedef532 RanState *state) { in project()559 RanState *state = (RanState *)lua_touserdata(L, lua_upvalueindex(1)); in math_random()610 static void randseed (lua_State *L, RanState *state) { in randseed()618 RanState *state = (RanState *)lua_touserdata(L, lua_upvalueindex(1)); in math_randomseed()642 RanState *state = (RanState *)lua_newuserdatauv(L, sizeof(RanState), 0); in setrandfunc()
75 typedef struct RanState { struct77 } RanState; typedef79 static void InitRanState(RanState* state) { in InitRanState()85 static unsigned int Ran(RanState* state) { in Ran()91 static void RandomizeFreqs(RanState* state, size_t* freqs, int n) { in RandomizeFreqs()98 static void RandomizeStatFreqs(RanState* state, SymbolStats* stats) { in RandomizeStatFreqs()463 RanState ran_state; in ZopfliLZ77Optimal()