Home
last modified time | relevance | path

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

/redis-3.2.3/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.c312 lua_pushnumber(L, res); in b_unpack()
322 lua_pushnumber(L, f); in b_unpack()
329 lua_pushnumber(L, d); in b_unpack()
H A Dlua_cmsgpack.c35 #define lua_pushunsigned(L, n) lua_pushnumber(L, n)
389 lua_pushnumber(L,j); in mp_encode_lua_table_as_array()
551 lua_pushnumber(L,index++); in mp_decode_to_lua_array()
643 lua_pushnumber(L, in mp_decode_to_lua_type()
676 lua_pushnumber(L,f); in mp_decode_to_lua_type()
687 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
/redis-3.2.3/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()
934 lua_pushnumber(lua,LL_DEBUG); in scriptingInit()
938 lua_pushnumber(lua,LL_VERBOSE); in scriptingInit()
942 lua_pushnumber(lua,LL_NOTICE); in scriptingInit()
946 lua_pushnumber(lua,LL_WARNING); in scriptingInit()
973 lua_pushnumber(lua,PROPAGATE_NONE); in scriptingInit()
977 lua_pushnumber(lua,PROPAGATE_AOF); in scriptingInit()
981 lua_pushnumber(lua,PROPAGATE_REPL); in scriptingInit()
[all …]