Home
last modified time | relevance | path

Searched refs:lua_gettop (Results 1 – 17 of 17) sorted by relevance

/external/lua/src/
Dlbaselib.c25 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()
Dlcorolib.c59 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()
Dlua.c134 int base = lua_gettop(L) - narg; /* function index */ in docall()
528 lua_assert(lua_gettop(L) == 1); in loadline()
537 int n = lua_gettop(L); in l_print()
Dlmathlib.c206 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()
Dltablib.c64 switch (lua_gettop(L)) { in tinsert()
182 int n = lua_gettop(L); /* number of elements to pack */ in tpack()
Dliolib.c358 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()
Dlutf8lib.c162 int n = lua_gettop(L); /* number of arguments */ in utfchar()
Dlauxlib.c80 int top = lua_gettop(L); in pushglobalfuncname()
759 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfilex()
Dlua.h168 LUA_API int (lua_gettop) (lua_State *L); variable
Dlstrlib.c195 int n = lua_gettop(L); /* number of arguments */ in str_char()
1225 int top = lua_gettop(L); in str_format()
Dlapi.c168 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() function
/external/oss-fuzz/projects/lua/
Dfuzz_lua.c122 int base = lua_gettop(L) - narg; /* function index */ in docall()
/external/bcc/src/lua/src/
Dmain.c89 int base = lua_gettop(L) - narg; /* function index */ in docall()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
DLua.cpp41 int n = lua_gettop(L); in lldb_print()
/external/libtextclassifier/native/utils/intents/
Djni-lua.cc371 const int num_args = lua_gettop(state_); in HandleFormat()
660 const int stack_size = lua_gettop(state_); in RunIntentGenerator()
/external/skqp/src/utils/
DSkLua.cpp556 if (lua_gettop(L) < 5) { in lcanvas_drawText()
1795 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) { in lsk_newDocumentPDF()
1898 int count = lua_gettop(L); in lsk_newTypeface()
1919 int count = lua_gettop(L); in lsk_newFontStyle()
1951 if (lua_gettop(L) > 0 && lua_isstring(L, 1)) { in lsk_loadImage()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Dmsg.c751 int arg_count = lua_gettop(L); in lupb_msgdef_call()
894 if (lua_gettop(L) >= narg) { in lupb_getoptions()