| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lcorolib.c | 24 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume() 31 int nres = lua_gettop(co); in auxresume() 51 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume() 67 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap() 98 return lua_yield(L, lua_gettop(L)); in luaB_yield() 115 else if (lua_gettop(co) == 0) in luaB_costatus()
|
| H A D | lbaselib.c | 230 return lua_gettop(L); in luaB_assert() 235 int n = lua_gettop(L); in luaB_select()
|
| H A D | ltablib.c | 43 switch (lua_gettop(L)) { in tinsert() 119 int n = lua_gettop(L); /* number of elements to pack */ in pack()
|
| H A D | lauxlib.c | 62 int top = lua_gettop(L); in pushglobalfuncname() 113 int top = lua_gettop(L); in luaL_traceback() 132 lua_concat(L, lua_gettop(L) - top); in luaL_traceback() 135 lua_concat(L, lua_gettop(L) - top); in luaL_traceback()
|
| H A D | lstrlib.c | 163 int n = lua_gettop(L); /* number of arguments */ in str_char() 904 int top = lua_gettop(L); in str_format()
|
| H A D | lapi.c | 157 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() function 1314 EXPORT_SYMBOL(lua_gettop);
|
| /f-stack/app/redis-5.0.5/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 | 436 stacktop = lua_gettop(L); in table_is_an_array() 513 int nargs = lua_gettop(L); in mp_pack() 856 lua_pop(L, lua_gettop(L)-1); in mp_unpack_one() 864 lua_pop(L, lua_gettop(L)-1); in mp_unpack_limit() 872 argc = lua_gettop(L); in mp_safe() 880 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.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
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zcp.c | 140 VERIFY3U(1, ==, lua_gettop(state)); in zcp_error_handler() 444 VERIFY3U(1, ==, lua_gettop(state)); in zcp_convert_return_values() 818 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl() 833 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl() 1071 VERIFY0(lua_gettop(state)); in zcp_eval() 1074 VERIFY0(lua_gettop(state)); in zcp_eval() 1077 VERIFY0(lua_gettop(state)); in zcp_eval() 1083 VERIFY0(lua_gettop(state)); in zcp_eval() 1101 VERIFY0(lua_gettop(state)); in zcp_eval() 1108 VERIFY3U(1, ==, lua_gettop(state)); in zcp_eval() [all …]
|
| /f-stack/app/redis-5.0.5/deps/lua/etc/ |
| H A D | min.c | 14 int n=lua_gettop(L); in print()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | scripting.c | 349 int j, argc = lua_gettop(lua); in luaRedisGenericCommand() 669 int argc = lua_gettop(lua); in luaRedisSha1hexCommand() 693 if (lua_gettop(lua) != 1 || lua_type(lua,-1) != LUA_TSTRING) { in luaRedisReturnSingleFieldTable() 757 int argc = lua_gettop(lua); in luaRedisDebugCommand() 772 int argc = lua_gettop(lua); in luaRedisSetReplCommand() 794 int j, argc = lua_gettop(lua); in luaLogCommand() 1131 switch (lua_gettop(L)) { /* check number of arguments */ in redis_math_random()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/lua/ |
| H A D | lua.h | 145 LUA_API int (lua_gettop) (lua_State *L); variable
|