Lines Matching refs:hash
70 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize()
71 for (i = tb->size; i < newsize; i++) tb->hash[i] = NULL; in luaS_resize()
75 GCObject *p = tb->hash[i]; in luaS_resize()
76 tb->hash[i] = NULL; in luaS_resize()
79 unsigned int h = lmod(gco2ts(p)->hash, newsize); /* new position */ in luaS_resize()
80 gch(p)->next = tb->hash[h]; /* chain it */ in luaS_resize()
81 tb->hash[h] = p; in luaS_resize()
88 lua_assert(tb->hash[newsize] == NULL && tb->hash[tb->size - 1] == NULL); in luaS_resize()
89 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize()
105 ts->tsv.hash = h; in createstrobj()
123 list = &tb->hash[lmod(h, tb->size)]; in newshrstr()
137 for (o = g->strt.hash[lmod(h, g->strt.size)]; in internshrstr()
141 if (h == ts->tsv.hash && in internshrstr()