Home
last modified time | relevance | path

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

/redis-3.2.3/deps/lua/src/
H A Dlstate.c110 lua_assert(g->strt.nuse == 0); in close_state()
111 luaM_freearray(L, G(L)->strt.hash, G(L)->strt.size, TString *); in close_state()
163 g->strt.size = 0; in lua_newstate()
164 g->strt.nuse = 0; in lua_newstate()
165 g->strt.hash = NULL; in lua_newstate()
H A Dlstring.c29 tb = &G(L)->strt; in luaS_resize()
64 tb = &G(L)->strt; in newlstr()
82 for (o = G(L)->strt.hash[lmod(h, G(L)->strt.size)]; in luaS_newlstr()
H A Dlgc.c390 G(L)->strt.nuse--; in freeobj()
434 if (g->strt.nuse < cast(lu_int32, g->strt.size/4) && in checkSizes()
435 g->strt.size > MINSTRTABSIZE*2) in checkSizes()
436 luaS_resize(L, g->strt.size/2); /* table is too big */ in checkSizes()
488 for (i = 0; i < g->strt.size; i++) /* free all string lists */ in luaC_freeall()
489 sweepwholelist(L, &g->strt.hash[i]); in luaC_freeall()
574 sweepwholelist(L, &g->strt.hash[g->sweepstrgc++]); in singlestep()
575 if (g->sweepstrgc >= g->strt.size) /* nothing more to sweep? */ in singlestep()
H A Dlstate.h69 stringtable strt; /* hash table for strings */ member