/freebsd/libexec/flua/modules/ |
H A D | lposix.c | 32 narg = lua_gettop(L); in lua__exit() 45 narg = lua_gettop(L); in lua_basename() 68 n = lua_gettop(L); in lua_chmod() 91 n = lua_gettop(L); in lua_chown() 144 n = lua_gettop(L); in lua_pclose() 174 n = lua_gettop(L); in lua_uname() 191 n = lua_gettop(L); in lua_uname() 224 narg = lua_gettop(L); in lua_fork() 247 narg = lua_gettop(L); in lua_getpid() 267 narg = lua_gettop( in lua_pipe() [all...] |
H A D | lfbsd.c | 73 int n = lua_gettop(L); in lua_exec()
|
/freebsd/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/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/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() 818 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl() 833 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl() 884 int return_count = lua_gettop(state); in zcp_eval_impl() 909 VERIFY3U(1, ==, lua_gettop(state)); in zcp_eval_impl() 934 VERIFY3U(1, ==, lua_gettop(state)); in zcp_eval_impl() 996 VERIFY3U(3, ==, lua_gettop(ri->zri_state)); in zcp_eval_sync() 1011 VERIFY3U(3, ==, lua_gettop(ri->zri_state)); in zcp_eval_open() 1071 VERIFY0(lua_gettop(state)); in zcp_eval() [all …]
|
/freebsd/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/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()
|
/freebsd/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/lib/clang/liblldb/ |
H A D | LLDBWrapLua.cpp | 942 # define lua_absindex(L,i) ((i)>0 || (i) <= LUA_REGISTRYINDEX ? (i) : lua_gettop(L) + (i) + 1) 1102 if (lua_gettop(L)<a || lua_gettop(L)>b) \ 1103 …{SWIG_Lua_pushferrstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L))… 1177 target_table = lua_gettop(L); in SWIG_Lua_elua_emulate_register() 1186 parsed_tables_array = lua_gettop(L); in SWIG_Lua_elua_emulate_register() 1190 const int SWIGUNUSED pairs_start = lua_gettop(L); in SWIG_Lua_elua_emulate_register() 1250 assert(lua_gettop(L) == pairs_start + 2); in SWIG_Lua_elua_emulate_register() 1254 assert(lua_gettop(L) == target_table); in SWIG_Lua_elua_emulate_register() 1273 assert(lua_gettop(L) == 3); /* object | function | object again */ in SWIG_Lua_emulate_elua_getmetatable() 1278 assert(lua_gettop(L) == 2); in SWIG_Lua_emulate_elua_getmetatable() [all …]
|
/freebsd/libexec/flua/libfreebsd/kenv/ |
H A D | kenv.c | 26 n = lua_gettop(L); in lua_kenv_get()
|
/freebsd/libexec/flua/libhash/ |
H A D | lhash.c | 116 top = lua_gettop(L); // data -- data in lua_sha256()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
H A D | Lua.cpp | 20 int n = lua_gettop(L); in lldb_print()
|