Home
last modified time | relevance | path

Searched refs:tostore (Results 1 – 3 of 3) sorted by relevance

/external/lua/src/
Dlparser.c833 int tostore; /* number of array elements pending to be stored */ member
862 if (cc->tostore == LFIELDS_PER_FLUSH) { in closelistfield()
863 luaK_setlist(fs, cc->t->u.info, cc->na, cc->tostore); /* flush */ in closelistfield()
864 cc->na += cc->tostore; in closelistfield()
865 cc->tostore = 0; /* no more items pending */ in closelistfield()
871 if (cc->tostore == 0) return; in lastlistfield()
880 luaK_setlist(fs, cc->t->u.info, cc->na, cc->tostore); in lastlistfield()
882 cc->na += cc->tostore; in lastlistfield()
889 cc->tostore++; in listfield()
923 cc.na = cc.nh = cc.tostore = 0; in constructor()
[all …]
Dlcode.c1750 void luaK_setlist (FuncState *fs, int base, int nelems, int tostore) { in luaK_setlist() argument
1751 lua_assert(tostore != 0 && tostore <= LFIELDS_PER_FLUSH); in luaK_setlist()
1752 if (tostore == LUA_MULTRET) in luaK_setlist()
1753 tostore = 0; in luaK_setlist()
1755 luaK_codeABC(fs, OP_SETLIST, base, tostore, nelems); in luaK_setlist()
1759 luaK_codeABCk(fs, OP_SETLIST, base, tostore, nelems, 1); in luaK_setlist()
Dlcode.h99 LUAI_FUNC void luaK_setlist (FuncState *fs, int base, int nelems, int tostore);