Lines Matching refs:TValue
54 #define MAXASIZE luaM_limitN(1u << MAXABITS, TValue)
99 static const TValue absentkey = {ABSTKEYCONSTANT};
151 static Node *mainpositionTV (const Table *t, const TValue *key) { in mainpositionTV()
190 TValue key; in mainpositionfromnode()
216 static int equalkey (const TValue *k1, const Node *n2, int deadok) { in equalkey()
299 static const TValue *getgeneric (Table *t, const TValue *key, int deadok) { in getgeneric()
331 static unsigned int findindex (lua_State *L, Table *t, TValue *key, in findindex()
339 const TValue *n = getgeneric(t, key, 1); in findindex()
516 TValue k; in reinsert()
558 TValue *newarray; in luaH_resize()
573 newarray = luaM_reallocvector(L, t->array, oldasize, newasize, TValue); in luaH_resize()
598 static void rehash (lua_State *L, Table *t, const TValue *ek) { in rehash()
665 void luaH_newkey (lua_State *L, Table *t, const TValue *key, TValue *value) { in luaH_newkey()
667 TValue aux; in luaH_newkey()
730 const TValue *luaH_getint (Table *t, lua_Integer key) { in luaH_getint()
758 const TValue *luaH_getshortstr (Table *t, TString *key) { in luaH_getshortstr()
774 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr()
778 TValue ko; in luaH_getstr()
788 const TValue *luaH_get (Table *t, const TValue *key) { in luaH_get()
811 void luaH_finishset (lua_State *L, Table *t, const TValue *key, in luaH_finishset()
812 const TValue *slot, TValue *value) { in luaH_finishset()
816 setobj2t(L, cast(TValue *, slot), value); in luaH_finishset()
824 void luaH_set (lua_State *L, Table *t, const TValue *key, TValue *value) { in luaH_set()
825 const TValue *slot = luaH_get(t, key); in luaH_set()
830 void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { in luaH_setint()
831 const TValue *p = luaH_getint(t, key); in luaH_setint()
833 TValue k; in luaH_setint()
838 setobj2t(L, cast(TValue *, p), value); in luaH_setint()
880 static unsigned int binsearch (const TValue *array, unsigned int i, in binsearch()
976 Node *luaH_mainposition (const Table *t, const TValue *key) { in luaH_mainposition()