Home
last modified time | relevance | path

Searched refs:nasize (Results 1 – 2 of 2) sorted by relevance

/external/lua/src/
Dltable.c347 void luaH_resize (lua_State *L, Table *t, unsigned int nasize, in luaH_resize() argument
355 if (nasize > oldasize) /* array part must grow? */ in luaH_resize()
356 setarrayvector(L, t, nasize); in luaH_resize()
363 if (nasize < oldasize) { /* array part must shrink? */ in luaH_resize()
364 t->sizearray = nasize; in luaH_resize()
366 for (i=nasize; i<oldasize; i++) { in luaH_resize()
371 luaM_reallocvector(L, t->array, oldasize, nasize, TValue); in luaH_resize()
387 void luaH_resizearray (lua_State *L, Table *t, unsigned int nasize) { in luaH_resizearray() argument
389 luaH_resize(L, t, nasize, nsize); in luaH_resizearray()
Dltable.h52 LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize,
54 LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, unsigned int nasize);