Searched refs:lua_gettop (Results 1 – 17 of 17) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | lbaselib.c | 32 int n = lua_gettop(L); /* number of arguments */ in luaB_print() 327 int n = lua_gettop(L); in luaB_dofile() 330 return lua_gettop(L) - n; in luaB_dofile() 338 return lua_gettop(L); in luaB_assert() 359 int n = lua_gettop(L); in luaB_select() 380 return lua_gettop(L); /* return status + all results */ in luaB_pcall() 499 else if (lua_gettop(co) == 0) in costatus() 530 int nres = lua_gettop(co); in auxresume() 547 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume() 563 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap() [all …]
|
| H A D | lmathlib.c | 154 int n = lua_gettop(L); /* number of arguments */ in math_min() 168 int n = lua_gettop(L); /* number of arguments */ in math_max() 185 switch (lua_gettop(L)) { /* check number of arguments */ in math_random()
|
| H A D | lua.c | 98 int base = lua_gettop(L) - narg; /* function index */ in docall() 223 if (status == 0 && lua_gettop(L) > 0) { /* any result to print? */ in dotty() 226 if (lua_pcall(L, lua_gettop(L)-1, 0, 0) != 0) in dotty()
|
| H A D | lua_cmsgpack.c | 434 stacktop = lua_gettop(L); in table_is_an_array() 511 int nargs = lua_gettop(L); in mp_pack() 846 lua_pop(L, lua_gettop(L)-1); in mp_unpack_one() 854 lua_pop(L, lua_gettop(L)-1); in mp_unpack_limit() 862 argc = lua_gettop(L); in mp_safe() 870 total_results = lua_gettop(L); in mp_safe()
|
| H A D | ldblib.c | 334 if (lua_gettop(L) == arg) in db_errorfb() 368 lua_concat(L, lua_gettop(L) - arg); in db_errorfb() 370 lua_concat(L, lua_gettop(L) - arg); in db_errorfb()
|
| H A D | liolib.c | 260 aux_lines(L, lua_gettop(L), 1); in io_lines() 335 int nargs = lua_gettop(L) - 1; in g_read() 414 int nargs = lua_gettop(L) - 1; in g_write()
|
| H A D | lua_cjson.c | 210 luaL_argcheck(l, lua_gettop(l) <= args, args + 1, in json_arg_init() 213 while (lua_gettop(l) < args) in json_arg_init() 711 luaL_argcheck(l, lua_gettop(l) == 1, 1, "expected 1 argument"); in json_encode() 1259 luaL_argcheck(l, lua_gettop(l) == 1, 1, "expected 1 argument"); in json_decode() 1323 luaL_argcheck(l, lua_gettop(l) == 1, 1, "expected 1 argument"); in json_protect_conversion()
|
| H A D | lua_bit.c | 101 for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) }
|
| H A D | ltablib.c | 93 switch (lua_gettop(L)) { in tinsert()
|
| H A D | lauxlib.c | 33 lua_gettop(L) + (i) + 1) 556 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfile()
|
| H A D | lua_struct.c | 356 return lua_gettop(L) - 2; in b_unpack()
|
| H A D | lua.h | 120 LUA_API int (lua_gettop) (lua_State *L); variable
|
| H A D | lstrlib.c | 126 int n = lua_gettop(L); /* number of arguments */ in str_char() 757 int top = lua_gettop(L); in str_format()
|
| H A D | loadlib.c | 546 int loaded = lua_gettop(L) + 1; /* index of _LOADED table */ in ll_module()
|
| H A D | lapi.c | 159 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() function
|
| /redis-3.2.3/deps/lua/etc/ |
| H A D | min.c | 14 int n=lua_gettop(L); in print()
|
| /redis-3.2.3/src/ |
| H A D | scripting.c | 349 int j, argc = lua_gettop(lua); in luaRedisGenericCommand() 646 int argc = lua_gettop(lua); in luaRedisSha1hexCommand() 670 if (lua_gettop(lua) != 1 || lua_type(lua,-1) != LUA_TSTRING) { in luaRedisReturnSingleFieldTable() 734 int argc = lua_gettop(lua); in luaRedisDebugCommand() 749 int argc = lua_gettop(lua); in luaRedisSetReplCommand() 771 int j, argc = lua_gettop(lua); in luaLogCommand() 1104 switch (lua_gettop(L)) { /* check number of arguments */ in redis_math_random()
|