Searched refs:lua_gettop (Results 1 – 17 of 17) sorted by relevance
/external/lua/src/ |
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()
|
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()
|
D | lua.c | 134 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()
|
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()
|
D | ltablib.c | 64 switch (lua_gettop(L)) { in tinsert() 182 int n = lua_gettop(L); /* number of elements to pack */ in tpack()
|
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()
|
D | lutf8lib.c | 162 int n = lua_gettop(L); /* number of arguments */ in utfchar()
|
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()
|
D | lua.h | 168 LUA_API int (lua_gettop) (lua_State *L); variable
|
D | lstrlib.c | 195 int n = lua_gettop(L); /* number of arguments */ in str_char() 1225 int top = lua_gettop(L); in str_format()
|
D | lapi.c | 168 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() function
|
/external/oss-fuzz/projects/lua/ |
D | fuzz_lua.c | 122 int base = lua_gettop(L) - narg; /* function index */ in docall()
|
/external/bcc/src/lua/src/ |
D | main.c | 89 int base = lua_gettop(L) - narg; /* function index */ in docall()
|
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
D | Lua.cpp | 41 int n = lua_gettop(L); in lldb_print()
|
/external/libtextclassifier/native/utils/intents/ |
D | jni-lua.cc | 371 const int num_args = lua_gettop(state_); in HandleFormat() 660 const int stack_size = lua_gettop(state_); in RunIntentGenerator()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 556 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/ |
D | msg.c | 751 int arg_count = lua_gettop(L); in lupb_msgdef_call() 894 if (lua_gettop(L) >= narg) { in lupb_getoptions()
|