Home
last modified time | relevance | path

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

/redis-3.2.3/deps/lua/src/
H A Dlbaselib.c32 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 Dlmathlib.c154 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 Dlua.c98 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 Dlua_cmsgpack.c434 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 Dldblib.c334 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 Dliolib.c260 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 Dlua_cjson.c210 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 Dlua_bit.c101 for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) }
H A Dltablib.c93 switch (lua_gettop(L)) { in tinsert()
H A Dlauxlib.c33 lua_gettop(L) + (i) + 1)
556 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfile()
H A Dlua_struct.c356 return lua_gettop(L) - 2; in b_unpack()
H A Dlua.h120 LUA_API int (lua_gettop) (lua_State *L); variable
H A Dlstrlib.c126 int n = lua_gettop(L); /* number of arguments */ in str_char()
757 int top = lua_gettop(L); in str_format()
H A Dloadlib.c546 int loaded = lua_gettop(L) + 1; /* index of _LOADED table */ in ll_module()
H A Dlapi.c159 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() function
/redis-3.2.3/deps/lua/etc/
H A Dmin.c14 int n=lua_gettop(L); in print()
/redis-3.2.3/src/
H A Dscripting.c349 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()