Searched refs:lua_gettop (Results 1 – 15 of 15) sorted by relevance
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lbaselib.c | 29 int n = lua_gettop(L); /* number of arguments */ in luaB_print() 50 int n = lua_gettop(L); /* number of arguments */ in luaB_warn() 418 return lua_gettop(L) - 1; in dofilecont() 435 return lua_gettop(L); /* return all arguments */ in luaB_assert() 447 int n = lua_gettop(L); in luaB_select() 476 return lua_gettop(L) - (int)extra; /* return all results */ in finishpcall() 485 status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, finishpcall); in luaB_pcall() 497 int n = lua_gettop(L); in luaB_xpcall()
|
H A D | lcorolib.c | 63 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume() 79 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap() 117 return lua_yield(L, lua_gettop(L)); in luaB_yield() 141 else if (lua_gettop(co) == 0) in auxstatus()
|
H A D | lua.c | 157 int base = lua_gettop(L) - narg; /* function index */ in docall() 571 lua_assert(lua_gettop(L) == 1); in loadline() 580 int n = lua_gettop(L); in l_print()
|
H A D | lmathlib.c | 209 int n = lua_gettop(L); /* number of arguments */ in math_min() 223 int n = lua_gettop(L); /* number of arguments */ in math_max() 564 switch (lua_gettop(L)) { /* check number of arguments */ in math_random()
|
H A D | ltablib.c | 69 switch (lua_gettop(L)) { in tinsert() 187 int n = lua_gettop(L); /* number of elements to pack */ in tpack()
|
H A D | liolib.c | 366 int n = lua_gettop(L) - 1; /* number of arguments to read */ in aux_lines() 569 int nargs = lua_gettop(L) - 1; in g_read() 663 int nargs = lua_gettop(L) - arg; in g_write()
|
H A D | lutf8lib.c | 170 int n = lua_gettop(L); /* number of arguments */ in utfchar()
|
H A D | lauxlib.c | 86 int top = lua_gettop(L); in pushglobalfuncname() 796 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfilex()
|
H A D | lua.h | 183 LUA_API int (lua_gettop) (lua_State *L); variable
|
H A D | lstrlib.c | 200 int n = lua_gettop(L); /* number of arguments */ in str_char() 1288 int top = lua_gettop(L); in str_format()
|
H A D | lapi.c | 182 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() function
|
/netbsd-src/external/bsd/lutok/dist/ |
H A D | state_test.cpp | 331 ATF_REQUIRE_EQ(2, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 688 ATF_REQUIRE_EQ(1, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 700 ATF_REQUIRE_EQ(1, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 730 ATF_REQUIRE_EQ(3, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 738 ATF_REQUIRE_EQ(3, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 814 ATF_REQUIRE_EQ(2, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 828 ATF_REQUIRE_EQ(1, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 839 ATF_REQUIRE_EQ(1, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 842 ATF_REQUIRE_EQ(2, lua_gettop(raw(state))); in ATF_TEST_CASE_BODY() 926 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() 644 assert(count <= lua_gettop(_pimpl->lua_state)); in pop() 646 assert(lua_gettop(_pimpl->lua_state) >= 0); in pop()
|
/netbsd-src/lib/lua/gpio/ |
H A D | gpio.c | 217 if (lua_gettop(L) > 4) in gpio_attach()
|
/netbsd-src/lib/lua/sqlite/ |
H A D | sqlite.c | 87 if (lua_gettop(L) > 2) in sqlite_open()
|