OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nasize
(Results
1 - 4
of
4
) sorted by null
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
ltable.c
304
void luaH_resize (lua_State *L, Table *t, int
nasize
, int nhsize) {
309
if (
nasize
> oldasize) /* array part must grow? */
310
setarrayvector(L, t,
nasize
);
313
if (
nasize
< oldasize) { /* array part must shrink? */
314
t->sizearray =
nasize
;
316
for (i=
nasize
; i<oldasize; i++) {
321
luaM_reallocvector(L, t->array, oldasize,
nasize
, TValue);
337
void luaH_resizearray (lua_State *L, Table *t, int
nasize
) {
339
luaH_resize(L, t,
nasize
, nsize);
344
int
nasize
, na
local
[
all
...]
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
);
/external/lua/src/
ltable.h
52
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
);
ltable.c
347
void luaH_resize (lua_State *L, Table *t, unsigned int
nasize
,
355
if (
nasize
> oldasize) /* array part must grow? */
356
setarrayvector(L, t,
nasize
);
363
if (
nasize
< oldasize) { /* array part must shrink? */
364
t->sizearray =
nasize
;
366
for (i=
nasize
; i<oldasize; i++) {
371
luaM_reallocvector(L, t->array, oldasize,
nasize
, TValue);
387
void luaH_resizearray (lua_State *L, Table *t, unsigned int
nasize
) {
389
luaH_resize(L, t,
nasize
, nsize);
Completed in 151 milliseconds