Lines Matching defs:t
75 #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) argument
81 #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) argument
84 #define hashstr(t,str) hashpow2(t, (str)->hash) argument
85 #define hashboolean(t,p) hashpow2(t, p) argument
88 #define hashpointer(t,p) hashmod(t, point2uint(p)) argument
108 static Node *hashint (const Table *t, lua_Integer i) { in hashint()
151 static Node *mainpositionTV (const Table *t, const TValue *key) { in mainpositionTV()
189 l_sinline Node *mainpositionfromnode (const Table *t, Node *nd) { in mainpositionfromnode()
244 #define limitequalsasize(t) (isrealasize(t) || ispow2((t)->alimit)) argument
250 LUAI_FUNC unsigned int luaH_realasize (const Table *t) { in luaH_realasize()
278 static int ispow2realasize (const Table *t) { in ispow2realasize()
283 static unsigned int setlimittosize (Table *t) { in setlimittosize()
290 #define limitasasize(t) check_exp(isrealasize(t), t->alimit) argument
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()
349 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next()
371 static void freehash (lua_State *L, Table *t) { in freehash()
429 static unsigned int numusearray (const Table *t, unsigned int *nums) { in numusearray()
456 static int numusehash (const Table *t, unsigned int *nums, unsigned int *pna) { in numusehash()
480 static void setnodevector (lua_State *L, Table *t, unsigned int size) { in setnodevector()
508 static void reinsert (lua_State *L, Table *ot, Table *t) { in reinsert()
553 void luaH_resize (lua_State *L, Table *t, unsigned int newasize, in luaH_resize()
590 void luaH_resizearray (lua_State *L, Table *t, unsigned int nasize) { in luaH_resizearray()
598 static void rehash (lua_State *L, Table *t, const TValue *ek) { in rehash()
628 Table *t = gco2t(o); in luaH_new() local
638 void luaH_free (lua_State *L, Table *t) { in luaH_free()
645 static Node *getfreepos (Table *t) { in getfreepos()
665 void luaH_newkey (lua_State *L, Table *t, const TValue *key, TValue *value) { 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()
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()
824 void luaH_set (lua_State *L, Table *t, const TValue *key, TValue *value) { in luaH_set()
830 void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { in luaH_setint()
855 static lua_Unsigned hash_search (Table *t, lua_Unsigned j) { in hash_search()
923 lua_Unsigned luaH_getn (Table *t) { in luaH_getn()
976 Node *luaH_mainposition (const Table *t, const TValue *key) { in luaH_mainposition()