Home
last modified time | relevance | path

Searched refs:lua_pushnumber (Results 1 – 21 of 21) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlmathlib.c27 lua_pushnumber(L, fabs(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, sin(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, sinh(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, cos(luaL_checknumber(L, 1))); in math_cos()
52 lua_pushnumber(L, tan(luaL_checknumber(L, 1))); in math_tan()
99 lua_pushnumber(L, ip); in math_modf()
100 lua_pushnumber(L, fp); in math_modf()
162 lua_pushnumber(L, dmin); in math_min()
176 lua_pushnumber(L, dmax); in math_max()
253 lua_pushnumber(L, PI); in luaopen_math()
[all …]
H A Dloslib.c75 lua_pushnumber(L, ((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC); in os_clock()
190 lua_pushnumber(L, (lua_Number)t); in os_time()
196 lua_pushnumber(L, difftime((time_t)(luaL_checknumber(L, 1)), in os_difftime()
H A Dlua_bit.c94 #define BRET(b) lua_pushnumber(L, (lua_Number)(SBits)(b)); return 1;
166 lua_pushnumber(L, (lua_Number)1437217655L); in luaopen_bit()
H A Dlua_struct.c315 lua_pushnumber(L, res); n++; in b_unpack()
325 lua_pushnumber(L, f); n++; in b_unpack()
332 lua_pushnumber(L, d); n++; in b_unpack()
H A Dlua_cmsgpack.c35 #define lua_pushunsigned(L, n) lua_pushnumber(L, n)
390 lua_pushnumber(L,j); in mp_encode_lua_table_as_array()
558 lua_pushnumber(L,index++); in mp_decode_to_lua_array()
650 lua_pushnumber(L, in mp_decode_to_lua_type()
683 lua_pushnumber(L,f); in mp_decode_to_lua_type()
694 lua_pushnumber(L,d); in mp_decode_to_lua_type()
H A Dlbaselib.c58 lua_pushnumber(L, lua_tonumber(L, 1)); in luaB_tonumber()
71 lua_pushnumber(L, (lua_Number)n); in luaB_tonumber()
204 lua_pushnumber(L, res + ((lua_Number)b/1024)); in luaB_collectgarbage()
212 lua_pushnumber(L, res); in luaB_collectgarbage()
H A Dltablib.c67 lua_pushnumber(L, max); in maxn()
H A Dlua.h161 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
H A Dliolib.c276 lua_pushnumber(L, d); in read_number()
H A Dlua_cjson.c1232 lua_pushnumber(l, token->value.number); in json_process_value()
H A Dlapi.c429 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzcp_iter.c102 lua_pushnumber(state, cursor); in zcp_clones_iter()
147 lua_pushnumber(state, dsobj); in zcp_clones_list()
148 lua_pushnumber(state, cursor); in zcp_clones_list()
189 lua_pushnumber(state, cursor); in zcp_snapshots_iter()
230 lua_pushnumber(state, dsobj); in zcp_snapshots_list()
231 lua_pushnumber(state, 0); in zcp_snapshots_list()
276 lua_pushnumber(state, cursor); in zcp_children_iter()
318 lua_pushnumber(state, dsobj); in zcp_children_list()
319 lua_pushnumber(state, 0); in zcp_children_list()
600 lua_pushnumber(state, dsobj); in zcp_bookmarks_list()
[all …]
H A Dzcp_global.c79 lua_pushnumber(state, (lua_Number)global->zeg_errno); in zcp_load_errno_globals()
H A Dzcp_get.c424 (void) lua_pushnumber(state, numval); in get_special_prop()
491 (void) lua_pushnumber(state, numval); in get_zap_prop()
680 (void) lua_pushnumber(state, value); in zcp_get_userquota_prop()
740 (void) lua_pushnumber(state, used); in zcp_get_written_prop()
H A Dzcp_synctask.c505 lua_pushnumber(state, (lua_Number)err); in zcp_synctask_wrapper()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlbaselib.c35 lua_pushnumber(L, n); in luaB_tonumber()
61 lua_pushnumber(L, (neg) ? -n : n); in luaB_tonumber()
155 lua_pushnumber(L, res + ((lua_Number)b/1024)); in luaB_collectgarbage()
H A Dltablib.c34 lua_pushnumber(L, max); in maxn()
H A Dlapi.c470 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
1327 EXPORT_SYMBOL(lua_pushnumber);
H A Dlauxlib.c783 lua_pushnumber(L, -(lua_Number)0x1234); in luaL_checkversion_()
/f-stack/app/redis-5.0.5/src/
H A Dscripting.c145 lua_pushnumber(lua,(lua_Number)value); in redisProtocolToLuaType_Int()
196 lua_pushnumber(lua,j+1); in redisProtocolToLuaType_MultiBulk()
323 lua_pushnumber(lua,j++); in luaReplyToRedisReply()
956 lua_pushnumber(lua,LL_DEBUG); in scriptingInit()
960 lua_pushnumber(lua,LL_VERBOSE); in scriptingInit()
964 lua_pushnumber(lua,LL_NOTICE); in scriptingInit()
968 lua_pushnumber(lua,LL_WARNING); in scriptingInit()
995 lua_pushnumber(lua,PROPAGATE_NONE); in scriptingInit()
999 lua_pushnumber(lua,PROPAGATE_AOF); in scriptingInit()
1003 lua_pushnumber(lua,PROPAGATE_REPL); in scriptingInit()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/lua/
H A Dlua.h206 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable