Searched refs:strt (Results 1 – 4 of 4) sorted by relevance
66 stringtable *tb = &G(L)->strt; in luaS_resize()119 stringtable *tb = &G(L)->strt; in newshrstr()137 for (o = g->strt.hash[lmod(h, g->strt.size)]; in internshrstr()
227 luaM_freearray(L, G(L)->strt.hash, G(L)->strt.size); in close_state()286 g->strt.size = 0; in lua_newstate()287 g->strt.nuse = 0; in lua_newstate()288 g->strt.hash = NULL; in lua_newstate()
679 G(L)->strt.nuse--; in freeobj()781 int hs = g->strt.size / 2; /* half the size of the string table */ in checkSizes()782 if (g->strt.nuse < cast(lu_int32, hs)) /* using less than that half? */ in checkSizes()993 for (i = 0; i < g->strt.size; i++) /* free all string lists */ in luaC_freeallobjects()994 sweepwholelist(L, &g->strt.hash[i]); in luaC_freeallobjects()995 lua_assert(g->strt.nuse == 0); in luaC_freeallobjects()1045 g->GCmemtrav = g->strt.size * sizeof(GCObject*); in singlestep()1070 for (i = 0; i < GCSWEEPMAX && g->sweepstrgc + i < g->strt.size; i++) in singlestep()1071 sweepwholelist(L, &g->strt.hash[g->sweepstrgc + i]); in singlestep()1073 if (g->sweepstrgc >= g->strt.size) /* no more strings to sweep? */ in singlestep()
119 stringtable strt; /* hash table for strings */ member