| /freebsd-14.2/sys/contrib/openzfs/module/lua/ |
| H A D | lcorolib.c | 23 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume() 30 int nres = lua_gettop(co); in auxresume() 50 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume() 66 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap() 97 return lua_yield(L, lua_gettop(L)); in luaB_yield() 114 else if (lua_gettop(co) == 0) in luaB_costatus()
|
| H A D | lbaselib.c | 229 return lua_gettop(L); in luaB_assert() 234 int n = lua_gettop(L); in luaB_select()
|
| H A D | ltablib.c | 42 switch (lua_gettop(L)) { in tinsert() 118 int n = lua_gettop(L); /* number of elements to pack */ in pack()
|
| H A D | lauxlib.c | 61 int top = lua_gettop(L); in pushglobalfuncname() 112 int top = lua_gettop(L); in luaL_traceback() 131 lua_concat(L, lua_gettop(L) - top); in luaL_traceback() 134 lua_concat(L, lua_gettop(L) - top); in luaL_traceback()
|
| /freebsd-14.2/stand/liblua/ |
| H A D | gfx_utils.c | 53 nargs = lua_gettop(L); in lua_term_putimage() 97 nargs = lua_gettop(L); in lua_fb_putimage() 128 nargs = lua_gettop(L); in lua_fb_setpixel() 146 nargs = lua_gettop(L); in lua_fb_line() 167 nargs = lua_gettop(L); in lua_fb_bezier() 190 nargs = lua_gettop(L); in lua_fb_drawrect() 211 nargs = lua_gettop(L); in lua_term_drawrect()
|
| H A D | lutils.c | 45 int argc = lua_gettop(L); in lua_command() 136 if (lua_gettop(L) != 1) { in lua_interpret() 255 nargs = lua_gettop(L); in lua_openfile() 282 if (lua_gettop(L) != 1) { in lua_closefile() 304 if (lua_gettop(L) < 1 || lua_gettop(L) > 2) { in lua_readfile() 318 if (lua_gettop(L) == 2) in lua_readfile() 351 nargs = lua_gettop(L); in lua_writefile()
|
| H A D | lpager.c | 48 for (i = 1; i <= lua_gettop(L); i++) { in lpager_output()
|
| /freebsd-14.2/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-14.2/libexec/flua/modules/ |
| H A D | lposix.c | 51 n = lua_gettop(L); in lua_chmod() 74 n = lua_gettop(L); in lua_chown() 127 n = lua_gettop(L); in lua_getpid() 139 n = lua_gettop(L); in lua_uname()
|
| H A D | lfs.c | 190 if (lua_gettop(L) != 1) { in lua_dir()
|
| /freebsd-14.2/contrib/lua/src/ |
| 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() 113 return lua_yield(L, lua_gettop(L)); in luaB_yield() 137 else if (lua_gettop(co) == 0) in auxstatus()
|
| 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() 411 return lua_gettop(L) - 1; in dofilecont() 427 return lua_gettop(L); /* return all arguments */ in luaB_assert() 439 int n = lua_gettop(L); in luaB_select() 468 return lua_gettop(L) - (int)extra; /* return all results */ in finishpcall() 477 status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, finishpcall); in luaB_pcall() 489 int n = lua_gettop(L); in luaB_xpcall()
|
| H A D | lua.c | 155 int base = lua_gettop(L) - narg; /* function index */ in docall() 569 lua_assert(lua_gettop(L) == 1); in loadline() 578 int n = lua_gettop(L); in l_print()
|
| H A D | ltests.c | 816 int n = lua_gettop(L); in printstack() 1054 int level = lua_gettop(L); in tref() 1059 lua_assert(lua_gettop(L) == level+1); /* +1 for result */ in tref() 1064 int level = lua_gettop(L); in getref() 1067 lua_assert(lua_gettop(L) == level+1); in getref() 1072 int level = lua_gettop(L); in unref() 1075 lua_assert(lua_gettop(L) == level); in unref() 1317 res = lua_gettop(L1); in getnum_aux() 1475 lua_pushinteger(L1, lua_gettop(L1)); in runC() 1758 if (n == 0) n = lua_gettop(fs); in runC() [all …]
|
| H A D | lmathlib.c | 207 int n = lua_gettop(L); /* number of arguments */ in math_min() 221 int n = lua_gettop(L); /* number of arguments */ in math_max() 562 switch (lua_gettop(L)) { /* check number of arguments */ in math_random()
|
| H A D | ltablib.c | 65 switch (lua_gettop(L)) { in tinsert() 183 int n = lua_gettop(L); /* number of elements to pack */ in tpack()
|
| H A D | liolib.c | 364 int n = lua_gettop(L) - 1; /* number of arguments to read */ in aux_lines() 567 int nargs = lua_gettop(L) - 1; in g_read() 661 int nargs = lua_gettop(L) - arg; in g_write()
|
| H A D | lutf8lib.c | 166 int n = lua_gettop(L); /* number of arguments */ in utfchar()
|
| H A D | lauxlib.c | 80 int top = lua_gettop(L); in pushglobalfuncname() 783 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfilex()
|
| /freebsd-14.2/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-14.2/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-14.2/lib/clang/liblldb/ |
| H A D | LLDBWrapLua.cpp | 1058 if (lua_gettop(L)<a || lua_gettop(L)>b) \ 2403 begin = lua_gettop(L); in SWIG_Lua_class_register() 3870 argc = lua_gettop(L); in _wrap_new_string() 4194 argc = lua_gettop(L); in _wrap_new_SBAddress() 4938 argc = lua_gettop(L); in _wrap_new_SBAttachInfo() 5124 argc = lua_gettop(L); in _wrap_SBAttachInfo_SetExecutable() 5262 argc = lua_gettop(L); in _wrap_SBAttachInfo_SetWaitForLaunch() 6186 argc = lua_gettop(L); in _wrap_new_SBBlock() 6653 argc = lua_gettop(L); in _wrap_SBBlock_GetVariables() 6940 argc = lua_gettop(L); in _wrap_new_SBBreakpoint() [all …]
|
| /freebsd-14.2/lib/flua/libhash/ |
| H A D | lhash.c | 116 top = lua_gettop(L); // data -- data in lua_sha256()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
| H A D | Lua.cpp | 20 int n = lua_gettop(L); in lldb_print()
|