| /freebsd-13.1/stand/liblua/ |
| H A D | lutils.c | 218 nargs = lua_gettop(L); in lua_openfile() 267 if (lua_gettop(L) < 1 || lua_gettop(L) > 2) { in lua_readfile() 281 if (lua_gettop(L) == 2) in lua_readfile() 314 nargs = lua_gettop(L); in lua_writefile() 362 nargs = lua_gettop(L); in lua_term_putimage() 406 nargs = lua_gettop(L); in lua_fb_putimage() 437 nargs = lua_gettop(L); in lua_fb_setpixel() 455 nargs = lua_gettop(L); in lua_fb_line() 476 nargs = lua_gettop(L); in lua_fb_bezier() 499 nargs = lua_gettop(L); in lua_fb_drawrect() [all …]
|
| H A D | lpager.c | 51 for (i = 1; i <= lua_gettop(L); i++) { in lpager_output()
|
| /freebsd-13.1/sys/contrib/openzfs/module/lua/ |
| H A D | lcorolib.c | 24 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume() 31 int nres = lua_gettop(co); in auxresume() 51 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume() 67 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap() 98 return lua_yield(L, lua_gettop(L)); in luaB_yield() 115 else if (lua_gettop(co) == 0) in luaB_costatus()
|
| H A D | lbaselib.c | 230 return lua_gettop(L); in luaB_assert() 235 int n = lua_gettop(L); in luaB_select()
|
| H A D | ltablib.c | 43 switch (lua_gettop(L)) { in tinsert() 119 int n = lua_gettop(L); /* number of elements to pack */ in pack()
|
| H A D | lauxlib.c | 62 int top = lua_gettop(L); in pushglobalfuncname() 113 int top = lua_gettop(L); in luaL_traceback() 132 lua_concat(L, lua_gettop(L) - top); in luaL_traceback() 135 lua_concat(L, lua_gettop(L) - top); in luaL_traceback()
|
| H A D | lstrlib.c | 163 int n = lua_gettop(L); /* number of arguments */ in str_char() 904 int top = lua_gettop(L); in str_format()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | zcp.c | 140 VERIFY3U(1, ==, lua_gettop(state)); in zcp_error_handler() 444 VERIFY3U(1, ==, lua_gettop(state)); in zcp_convert_return_values() 819 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl() 834 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl() 1072 VERIFY0(lua_gettop(state)); in zcp_eval() 1075 VERIFY0(lua_gettop(state)); in zcp_eval() 1078 VERIFY0(lua_gettop(state)); in zcp_eval() 1084 VERIFY0(lua_gettop(state)); in zcp_eval() 1102 VERIFY0(lua_gettop(state)); in zcp_eval() 1109 VERIFY3U(1, ==, lua_gettop(state)); in zcp_eval() [all …]
|
| /freebsd-13.1/contrib/lua/src/ |
| H A D | lbaselib.c | 25 int n = lua_gettop(L); /* number of arguments */ in luaB_print() 46 int n = lua_gettop(L); /* number of arguments */ in luaB_warn() 389 return lua_gettop(L) - 1; in dofilecont() 405 return lua_gettop(L); /* return all arguments */ in luaB_assert() 417 int n = lua_gettop(L); in luaB_select() 446 return lua_gettop(L) - (int)extra; /* return all results */ in finishpcall() 455 status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, finishpcall); in luaB_pcall() 467 int n = lua_gettop(L); in luaB_xpcall()
|
| H A D | lcorolib.c | 59 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume() 75 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap() 110 return lua_yield(L, lua_gettop(L)); in luaB_yield() 134 else if (lua_gettop(co) == 0) in auxstatus()
|
| H A D | lua.c | 134 int base = lua_gettop(L) - narg; /* function index */ in docall() 532 lua_assert(lua_gettop(L) == 1); in loadline() 541 int n = lua_gettop(L); in l_print()
|
| H A D | lmathlib.c | 206 int n = lua_gettop(L); /* number of arguments */ in math_min() 220 int n = lua_gettop(L); /* number of arguments */ in math_max() 561 switch (lua_gettop(L)) { /* check number of arguments */ in math_random()
|
| H A D | ltablib.c | 64 switch (lua_gettop(L)) { in tinsert() 182 int n = lua_gettop(L); /* number of elements to pack */ in tpack()
|
| H A D | liolib.c | 358 int n = lua_gettop(L) - 1; /* number of arguments to read */ in aux_lines() 561 int nargs = lua_gettop(L) - 1; in g_read() 655 int nargs = lua_gettop(L) - arg; in g_write()
|
| H A D | lutf8lib.c | 162 int n = lua_gettop(L); /* number of arguments */ in utfchar()
|
| H A D | lauxlib.c | 80 int top = lua_gettop(L); in pushglobalfuncname() 759 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfilex()
|
| /freebsd-13.1/contrib/lutok/ |
| H A D | state_test.cpp | 313 ATF_REQUIRE_EQ(2, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 579 ATF_REQUIRE_EQ(1, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 591 ATF_REQUIRE_EQ(1, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 621 ATF_REQUIRE_EQ(3, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 629 ATF_REQUIRE_EQ(3, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 720 ATF_REQUIRE_EQ(2, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 734 ATF_REQUIRE_EQ(1, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 745 ATF_REQUIRE_EQ(1, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 748 ATF_REQUIRE_EQ(2, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 832 ATF_REQUIRE_EQ(1, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | state.cpp | 287 assert(lua_gettop(_pimpl->lua_state) == 0); in close() 370 assert(lua_gettop(_pimpl->lua_state) >= 2); in get_table() 386 return lua_gettop(_pimpl->lua_state); in get_top() 555 assert(lua_gettop(_pimpl->lua_state) >= 1); in next() 656 assert(count <= lua_gettop(_pimpl->lua_state)); in pop() 658 assert(lua_gettop(_pimpl->lua_state) >= 0); in pop()
|
| /freebsd-13.1/libexec/flua/modules/ |
| H A D | lposix.c | 51 n = lua_gettop(L); in lua_chmod() 71 n = lua_gettop(L); in lua_getpid()
|
| H A D | lfs.c | 192 if (lua_gettop(L) != 1) { in lua_dir()
|
| /freebsd-13.1/contrib/libucl/lua/ |
| H A D | lua_ucl.c | 336 idx = lua_gettop (L) + idx + 1; in ucl_object_lua_fromtable() 418 obj = ucl_object_lua_fromelt (L, lua_gettop (L), flags); in ucl_object_lua_fromtable() 440 obj = ucl_object_lua_fromelt (L, lua_gettop (L) - 1, flags); in ucl_object_lua_fromtable() 621 if (lua_gettop (L) >= 1) { in lua_ucl_parser_init() 1086 if (lua_gettop (L) > 1) { in lua_ucl_object_tostring() 1128 if (lua_gettop (L) > 2) { in lua_ucl_object_validate() 1141 if (lua_gettop (L) > 3) { in lua_ucl_object_validate() 1332 if (lua_gettop (L) > 1) { in lua_ucl_to_json() 1408 if (lua_gettop (L) > 1) { in lua_ucl_to_format()
|
| /freebsd-13.1/lib/clang/liblldb/ |
| H A D | LLDBWrapLua.cpp | 1079 if (lua_gettop(L)<a || lua_gettop(L)>b) \ 2424 begin = lua_gettop(L); in SWIG_Lua_class_register() 3732 argc = lua_gettop(L); in _wrap_new_string() 4056 argc = lua_gettop(L); in _wrap_new_SBAddress() 4800 argc = lua_gettop(L); in _wrap_new_SBAttachInfo() 4986 argc = lua_gettop(L); in _wrap_SBAttachInfo_SetExecutable() 5124 argc = lua_gettop(L); in _wrap_SBAttachInfo_SetWaitForLaunch() 5876 argc = lua_gettop(L); in _wrap_new_SBBlock() 6401 argc = lua_gettop(L); in _wrap_SBBlock_GetVariables() 6630 argc = lua_gettop(L); in _wrap_new_SBBreakpoint() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
| H A D | Lua.cpp | 43 int n = lua_gettop(L); in lldb_print()
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/lua/ |
| H A D | lua.h | 145 LUA_API int (lua_gettop) (lua_State *L); variable
|
| /freebsd-13.1/lib/flua/libjail/ |
| H A D | lua_jail.c | 179 nargs = lua_gettop(L); in l_list()
|