Lines Matching +defs:t +defs:i

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()
132 int i; in l_hashfloat() local
151 static Node *mainpositionTV (const Table *t, const TValue *key) { in mainpositionTV()
154 lua_Integer i = ivalue(key); in mainpositionTV() local
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()
333 unsigned int i; in findindex() local
349 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next()
351 unsigned int i = findindex(L, t, s2v(key), asize); /* find original key */ in luaH_next() local
371 static void freehash (lua_State *L, Table *t) { in freehash()
392 int i; in computesizes() local
429 static unsigned int numusearray (const Table *t, unsigned int *nums) { in numusearray()
433 unsigned int i = 1; /* count to traverse all array keys */ in numusearray() local
456 static int numusehash (const Table *t, unsigned int *nums, unsigned int *pna) { in numusehash()
459 int i = sizenode(t); in numusehash() local
480 static void setnodevector (lua_State *L, Table *t, unsigned int size) { in setnodevector()
487 int i; in setnodevector() local
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()
555 unsigned int i; in luaH_resize() local
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()
602 int i; in rehash() local
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 static void luaH_newkey (lua_State *L, Table *t, const TValue *key, in luaH_newkey()
745 const TValue *luaH_getint (Table *t, lua_Integer key) { in luaH_getint()
773 const TValue *luaH_getshortstr (Table *t, TString *key) { in luaH_getshortstr()
789 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr()
803 const TValue *luaH_get (Table *t, const TValue *key) { in luaH_get()
826 void luaH_finishset (lua_State *L, Table *t, const TValue *key, in luaH_finishset()
839 void luaH_set (lua_State *L, Table *t, const TValue *key, TValue *value) { in luaH_set()
845 void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { in luaH_setint()
870 static lua_Unsigned hash_search (Table *t, lua_Unsigned j) { in hash_search()
871 lua_Unsigned i; in hash_search() local
895 static unsigned int binsearch (const TValue *array, unsigned int i, in binsearch()
938 lua_Unsigned luaH_getn (Table *t) { in luaH_getn()
991 Node *luaH_mainposition (const Table *t, const TValue *key) { in luaH_mainposition()