Searched refs:nasize (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | ltable.c | 304 void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize) { in luaH_resize() argument 309 if (nasize > oldasize) /* array part must grow? */ in luaH_resize() 310 setarrayvector(L, t, nasize); in luaH_resize() 313 if (nasize < oldasize) { /* array part must shrink? */ in luaH_resize() 314 t->sizearray = nasize; in luaH_resize() 316 for (i=nasize; i<oldasize; i++) { in luaH_resize() 321 luaM_reallocvector(L, t->array, oldasize, nasize, TValue); in luaH_resize() 337 void luaH_resizearray (lua_State *L, Table *t, int nasize) { in luaH_resizearray() argument 339 luaH_resize(L, t, nasize, nsize); in luaH_resizearray() 344 int nasize, na; in rehash() local [all …]
|
D | ltable.h | 32 LUAI_FUNC void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize); 33 LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize);
|