Home
last modified time | relevance | path

Searched refs:lua_settop (Results 1 – 25 of 25) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlbaselib.c84 lua_settop(L, 1); /* yes; return it */ in luaB_tonumber()
116 lua_settop(L, 1); in luaB_error()
143 lua_settop(L, 2); in luaB_setmetatable()
169 lua_settop(L, 2); in luaB_rawget()
178 lua_settop(L, 3); in luaB_rawset()
269 lua_settop(L, 2); /* create a 2nd argument if there isn't one */ in luaB_next()
400 lua_settop(L, RESERVEDSLOT); /* create reserved slot */ in luaB_load()
417 lua_settop(L, 1); in luaB_dofile()
432 lua_settop(L, 1); /* leave only message (default if no other one) */ in luaB_assert()
H A Dldblib.c59 lua_settop(L, 2); in db_setmetatable()
81 lua_settop(L, 2); in db_setuservalue()
244 lua_settop(L, arg+3); in db_setlocal()
370 lua_settop(L, arg+1); in db_sethook()
430 lua_settop(L, 0); /* remove eventual returns */ in db_debug()
H A Dlmathlib.c97 lua_settop(L, 1); /* integer is its own floor */ in math_floor()
108 lua_settop(L, 1); /* integer is its own ceil */ in math_ceil()
141 lua_settop(L, 1); /* number is its own integer part */ in math_modf()
H A Dlua.c563 lua_settop(L, 0); in loadline()
605 lua_settop(L, 0); /* clear stack */ in doREPL()
H A Dlua.h180 LUA_API void (lua_settop) (lua_State *L, int idx); variable
376 #define lua_pop(L,n) lua_settop(L, -(n)-1)
H A Dlauxlib.c90 lua_settop(L, top + 1); /* remove table "loaded" and name copy */ in pushglobalfuncname()
94 lua_settop(L, top); /* remove function and global table */ in pushglobalfuncname()
810 lua_settop(L, fnameindex); /* ignore results from 'lua_load' */ in luaL_loadfilex()
H A Dliolib.c635 lua_settop(L , 1); in io_readline()
649 lua_settop(L, 0); /* clear stack */ in io_readline()
H A Dloslib.c351 lua_settop(L, 1); /* make sure table is at the top */ in os_time()
H A Dltablib.c405 lua_settop(L, 2); /* make sure there are two arguments */ in sort()
H A Dlstrlib.c237 lua_settop(L, 1); /* ensure function is on the top of the stack */ in str_dump()
278 lua_settop(L, 2); /* back to the original arguments */ in trymt()
860 lua_settop(L, 2); /* keep strings on closure to avoid being collected */ in gmatch()
H A Dloadlib.c659 lua_settop(L, 1); /* LOADED table will be at index 2 */ in ll_require()
H A Dltests.c1211 lua_settop(L1, 0); in doremote()
1701 lua_settop(L1, getnum); in runC()
H A Dlapi.c181 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop() function
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlbaselib.c72 lua_settop(L, 1); in luaB_error()
100 lua_settop(L, 2); in luaB_setmetatable()
126 lua_settop(L, 2); in luaB_rawget()
135 lua_settop(L, 3); in luaB_rawset()
196 lua_settop(L, 2); /* create a 2nd argument if there isn't one */ in luaB_next()
H A Dltablib.c251 lua_settop(L, 2); /* make sure there is two arguments */ in tsort()
H A Dlstrlib.c187 lua_settop(L, 1); in str_dump()
681 lua_settop(L, 2); in str_gmatch()
H A Dlapi.c161 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop() function
1315 EXPORT_SYMBOL(lua_settop);
H A Dlauxlib.c70 lua_settop(L, top); /* remove function and global table */ in pushglobalfuncname()
/freebsd/libexec/flua/libhash/
H A Dlhash.c40 lua_settop(L, 1); in lua_sha256_update()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h145 LUA_API void (lua_settop) (lua_State *L, int idx); variable
322 #define lua_pop(L,n) lua_settop(L, -(n)-1)
/freebsd/libexec/flua/modules/
H A Dlfs.c350 lua_settop(L, 2); in lua_attributes()
/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c138 lua_settop (fd->L, 0); in lua_ucl_userdata_emitter()
510 lua_settop (L, 3); /* gen, obj, func */ in ucl_object_lua_fromelt()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp.c892 lua_settop(state, 0); in zcp_eval_impl()
963 lua_settop(ri->zri_state, 0); in zcp_pool_error()
/freebsd/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-typemaps.swig163 lua_settop(L, 2);
/freebsd/lib/clang/liblldb/
H A DLLDBWrapLua.cpp2724 lua_settop(L,top); /* restore the stack */ in SWIG_Lua_dostring()
20263 lua_settop(L, 2); in _wrap_SBDebugger_Create__SWIG_2()
22728 lua_settop(L, 2); in _wrap_SBDebugger_SetLoggingCallback()