Home
last modified time | relevance | path

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

/external/lua/src/
Dlmathlib.c518 } RanState; typedef
532 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()
/external/zopfli/src/zopfli/
Dsqueeze.c75 typedef struct RanState { struct
77 } RanState; argument
79 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()