Lines Matching refs:tb
24 stringtable *tb; in luaS_resize() local
29 tb = &G(L)->strt; in luaS_resize()
32 for (i=0; i<tb->size; i++) { in luaS_resize()
33 GCObject *p = tb->hash[i]; in luaS_resize()
44 luaM_freearray(L, tb->hash, tb->size, TString *); in luaS_resize()
45 tb->size = newsize; in luaS_resize()
46 tb->hash = newhash; in luaS_resize()
53 stringtable *tb; in newlstr() local
64 tb = &G(L)->strt; in newlstr()
65 h = lmod(h, tb->size); in newlstr()
66 ts->tsv.next = tb->hash[h]; /* chain new entry */ in newlstr()
67 tb->hash[h] = obj2gco(ts); in newlstr()
68 tb->nuse++; in newlstr()
69 if (tb->nuse > cast(lu_int32, tb->size) && tb->size <= MAX_INT/2) in newlstr()
70 luaS_resize(L, tb->size*2); /* too crowded */ in newlstr()