Lines Matching refs:TString
40 int luaS_eqlngstr (TString *a, TString *b) { in luaS_eqlngstr()
58 unsigned int luaS_hashlongstr (TString *ts) { in luaS_hashlongstr()
75 luaM_reallocvector(L, tb->hash, tb->size, newsize, TString *); in luaS_resize()
80 TString *p = tb->hash[i]; in luaS_resize()
83 TString *hnext = p->u.hnext; /* save next */ in luaS_resize()
93 luaM_reallocvector(L, tb->hash, tb->size, newsize, TString *); in luaS_resize()
133 static TString *createstrobj (lua_State *L, size_t l, int tag, unsigned int h) { in createstrobj()
134 TString *ts; in createstrobj()
147 TString *luaS_createlngstrobj (lua_State *L, size_t l) { in luaS_createlngstrobj()
148 TString *ts = createstrobj(L, l, LUA_TLNGSTR, G(L)->seed); in luaS_createlngstrobj()
154 void luaS_remove (lua_State *L, TString *ts) { in luaS_remove()
156 TString **p = &tb->hash[lmod(ts->hash, tb->size)]; in luaS_remove()
167 static TString *internshrstr (lua_State *L, const char *str, size_t l) { in internshrstr()
168 TString *ts; in internshrstr()
171 TString **list = &g->strt.hash[lmod(h, g->strt.size)]; in internshrstr()
199 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr()
203 TString *ts; in luaS_newlstr()
204 if (l >= (MAX_SIZE - sizeof(TString))/sizeof(char)) in luaS_newlstr()
219 TString *luaS_new (lua_State *L, const char *str) { in luaS_new()
222 TString **p = G(L)->strcache[i]; in luaS_new()