| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
| H A D | lcorolib.c | 25 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume() 32 int nres = lua_gettop(co); in auxresume() 52 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume() 68 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap() 99 return lua_yield(L, lua_gettop(L)); in luaB_yield() 116 else if (lua_gettop(co) == 0) in luaB_costatus()
|
| H A D | lbitlib.c | 37 int i, n = lua_gettop(L); in andaux() 60 int i, n = lua_gettop(L); in b_or() 70 int i, n = lua_gettop(L); in b_xor()
|
| H A D | lbaselib.c | 236 return lua_gettop(L); in luaB_assert() 241 int n = lua_gettop(L); in luaB_select()
|
| H A D | ltablib.c | 44 switch (lua_gettop(L)) { in tinsert() 120 int n = lua_gettop(L); /* number of elements to pack */ in pack()
|
| H A D | lauxlib.c | 63 int top = lua_gettop(L); in pushglobalfuncname() 114 int top = lua_gettop(L); in luaL_traceback() 133 lua_concat(L, lua_gettop(L) - top); in luaL_traceback() 136 lua_concat(L, lua_gettop(L) - top); in luaL_traceback()
|
| H A D | lstrlib.c | 182 int n = lua_gettop(L); /* number of arguments */ in str_char() 922 int top = lua_gettop(L); in str_format()
|
| H A D | lua.h | 144 LUA_API int (lua_gettop) (lua_State *L); variable
|
| H A D | lapi.c | 159 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() function
|
| /freebsd-12.1/contrib/lua/src/ |
| H A D | lcorolib.c | 34 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume() 41 int nres = lua_gettop(co); in auxresume() 60 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume() 76 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap() 107 return lua_yield(L, lua_gettop(L)); in luaB_yield() 123 else if (lua_gettop(co) == 0) in luaB_costatus()
|
| H A D | lbaselib.c | 25 int n = lua_gettop(L); /* number of arguments */ in luaB_print() 358 return lua_gettop(L) - 1; in dofilecont() 374 return lua_gettop(L); /* return all arguments */ in luaB_assert() 386 int n = lua_gettop(L); in luaB_select() 415 return lua_gettop(L) - (int)extra; /* return all results */ in finishpcall() 424 status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, finishpcall); in luaB_pcall() 436 int n = lua_gettop(L); in luaB_xpcall()
|
| H A D | lbitlib.c | 50 int i, n = lua_gettop(L); in andaux() 73 int i, n = lua_gettop(L); in b_or() 83 int i, n = lua_gettop(L); in b_xor()
|
| H A D | lmathlib.c | 216 int n = lua_gettop(L); /* number of arguments */ in math_min() 230 int n = lua_gettop(L); /* number of arguments */ in math_max() 250 switch (lua_gettop(L)) { /* check number of arguments */ in math_random()
|
| H A D | lua.c | 200 int base = lua_gettop(L) - narg; /* function index */ in docall() 380 lua_assert(lua_gettop(L) == 1); in loadline() 389 int n = lua_gettop(L); in l_print()
|
| H A D | lauxlib.c | 74 int top = lua_gettop(L); in pushglobalfuncname() 128 int top = lua_gettop(L); in luaL_traceback() 149 lua_concat(L, lua_gettop(L) - top); in luaL_traceback() 152 lua_concat(L, lua_gettop(L) - top); in luaL_traceback() 708 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfilex()
|
| H A D | ltablib.c | 82 switch (lua_gettop(L)) { in tinsert() 196 int n = lua_gettop(L); /* number of elements to pack */ in pack()
|
| H A D | liolib.c | 340 int n = lua_gettop(L) - 1; /* number of arguments to read */ in aux_lines() 530 int nargs = lua_gettop(L) - 1; in g_read() 621 int nargs = lua_gettop(L) - arg; in g_write()
|
| H A D | lutf8lib.c | 139 int n = lua_gettop(L); /* number of arguments */ in utfchar()
|
| H A D | lua.h | 159 LUA_API int (lua_gettop) (lua_State *L); variable
|
| H A D | loadlib.c | 675 int lastarg = lua_gettop(L); /* last parameter */ in ll_module()
|
| H A D | lstrlib.c | 168 int n = lua_gettop(L); /* number of arguments */ in str_char() 1022 int top = lua_gettop(L);
|
| H A D | lapi.c | 167 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() function
|
| /freebsd-12.1/stand/liblua/ |
| H A D | lutils.c | 48 int argc = lua_gettop(L); in lua_command() 97 if (lua_gettop(L) != 1) { in lua_interpret() 216 nargs = lua_gettop(L); in lua_openfile() 243 if (lua_gettop(L) != 1) { in lua_closefile() 265 if (lua_gettop(L) < 1 || lua_gettop(L) > 2) { in lua_readfile() 279 if (lua_gettop(L) == 2) in lua_readfile() 312 nargs = lua_gettop(L); in lua_writefile()
|
| H A D | lfs.c | 155 if (lua_gettop(L) != 1) { in lua_dir()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | zcp.c | 158 VERIFY3U(1, ==, lua_gettop(state)); in zcp_error_handler() 462 VERIFY3U(1, ==, lua_gettop(state)); in zcp_convert_return_values() 829 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl() 849 VERIFY3U(3, ==, lua_gettop(state)); in zcp_eval_impl() 1065 VERIFY0(lua_gettop(state)); in zcp_eval() 1068 VERIFY0(lua_gettop(state)); in zcp_eval() 1071 VERIFY0(lua_gettop(state)); in zcp_eval() 1077 VERIFY0(lua_gettop(state)); in zcp_eval() 1095 VERIFY0(lua_gettop(state)); in zcp_eval() 1102 VERIFY3U(1, ==, lua_gettop(state)); in zcp_eval() [all …]
|
| /freebsd-12.1/contrib/libucl/lua/ |
| H A D | lua_ucl.c | 302 idx = lua_gettop (L) + idx + 1; in ucl_object_lua_fromtable() 338 obj = ucl_object_lua_fromelt (L, lua_gettop (L)); in ucl_object_lua_fromtable() 351 obj = ucl_object_lua_fromelt (L, lua_gettop (L)); in ucl_object_lua_fromtable() 488 if (lua_gettop (L) >= 1) { in lua_ucl_parser_init() 836 if (lua_gettop (L) > 1) { in lua_ucl_object_tostring() 878 if (lua_gettop (L) > 2) { in lua_ucl_object_validate() 891 if (lua_gettop (L) > 3) { in lua_ucl_object_validate() 1030 if (lua_gettop (L) > 1) { in lua_ucl_to_json() 1105 if (lua_gettop (L) > 1) { in lua_ucl_to_format()
|