Searched refs:lua_settop (Results 1 - 21 of 21) sorted by relevance

/freebsd-11-stable/contrib/lua/src/
H A Dlbaselib.c73 lua_settop(L, 1); /* yes; return it */
104 lua_settop(L, 1);
132 lua_settop(L, 2);
158 lua_settop(L, 2);
167 lua_settop(L, 3);
228 lua_settop(L, 2); /* create a 2nd argument if there isn't one */
347 lua_settop(L, RESERVEDSLOT); /* create reserved slot */
364 lua_settop(L, 1);
379 lua_settop(L, 1); /* leave only message (default if no other one) */
H A Dldblib.c60 lua_settop(L, 2);
78 lua_settop(L, 2);
234 lua_settop(L, arg+3);
352 lua_settop(L, arg+1);
412 lua_settop(L, 0); /* remove eventual returns */
H A Dlmathlib.c107 lua_settop(L, 1); /* integer is its own floor */
118 lua_settop(L, 1); /* integer is its own ceil */
151 lua_settop(L, 1); /* number is its own integer part */
H A Dlua.c374 lua_settop(L, 0);
415 lua_settop(L, 0); /* clear stack */
H A Dlua.h160 LUA_API void (lua_settop) (lua_State *L, int idx);
344 #define lua_pop(L,n) lua_settop(L, -(n)-1)
H A Dliolib.c595 lua_settop(L , 1);
609 lua_settop(L, 0);
H A Dloslib.c332 lua_settop(L, 1); /* make sure table is at the top */
H A Dltablib.c417 lua_settop(L, 2); /* make sure there are two arguments */
H A Dlauxlib.c88 lua_settop(L, top); /* remove function and global table */
731 lua_settop(L, fnameindex); /* ignore results from 'lua_load' */
H A Dloadlib.c599 lua_settop(L, 1); /* LOADED table will be at index 2 */
H A Dlstrlib.c193 lua_settop(L, 1);
694 lua_settop(L, 2); /* keep them on closure to avoid being collected */
H A Dlapi.c172 LUA_API void lua_settop (lua_State *L, int idx) { function
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlbaselib.c79 lua_settop(L, 1);
107 lua_settop(L, 2);
133 lua_settop(L, 2);
142 lua_settop(L, 3);
203 lua_settop(L, 2); /* create a 2nd argument if there isn't one */
H A Dlua.h145 LUA_API void (lua_settop) (lua_State *L, int idx);
322 #define lua_pop(L,n) lua_settop(L, -(n)-1)
H A Dltablib.c253 lua_settop(L, 2); /* make sure there is two arguments */
H A Dlstrlib.c206 lua_settop(L, 1);
700 lua_settop(L, 2);
H A Dlauxlib.c72 lua_settop(L, top); /* remove function and global table */
H A Dlapi.c164 LUA_API void lua_settop (lua_State *L, int idx) { function
/freebsd-11-stable/libexec/flua/modules/
H A Dlfs.c331 lua_settop(L, 2);
/freebsd-11-stable/contrib/libucl/lua/
H A Dlua_ucl.c127 lua_settop (fd->L, 0);
405 lua_settop (L, 3); /* gen, obj, func */
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzcp.c908 lua_settop(state, 0);
970 lua_settop(evalargs->ea_state, 0);

Completed in 298 milliseconds