Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/lua/src/
H A Dlmathlib.c51 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
56 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
61 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
78 lua_pushnumber(L, l_mathop(atan2)(y, x)); in math_atan()
101 lua_pushnumber(L, d); /* result is float */ in pushnumint()
152 lua_pushnumber(L, 0); /* no fractional part */ in math_modf()
195 lua_pushnumber(L, res); in math_log()
324 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow()
338 lua_pushnumber(L, l_mathop(ldexp)(x, ep)); in math_ldexp()
400 lua_pushnumber(L, PI); in luaopen_math()
[all …]
H A Dloslib.c184 lua_pushnumber(L, ((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC); in os_clock()
354 lua_pushnumber(L, (lua_Number)difftime(t1, t2)); in os_difftime()
H A Dltablib.c73 lua_pushnumber(L, max); in maxn()
H A Dlbaselib.c186 lua_pushnumber(L, (lua_Number)res + ((lua_Number)b/1024)); in luaB_collectgarbage()
H A Dlua.h225 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
H A Dlstrlib.c1530 lua_pushnumber(L, num);
H A Dlapi.c458 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzcp_iter.c99 lua_pushnumber(state, cursor); in zcp_clones_iter()
146 lua_pushnumber(state, dsobj); in zcp_clones_list()
147 lua_pushnumber(state, cursor); in zcp_clones_list()
188 lua_pushnumber(state, cursor); in zcp_snapshots_iter()
229 lua_pushnumber(state, dsobj); in zcp_snapshots_list()
230 lua_pushnumber(state, 0); in zcp_snapshots_list()
289 lua_pushnumber(state, cursor); in zcp_children_iter()
331 lua_pushnumber(state, dsobj); in zcp_children_list()
332 lua_pushnumber(state, 0); in zcp_children_list()
H A Dzcp_get.c482 (void) lua_pushnumber(state, numval); in get_special_prop()
544 (void) lua_pushnumber(state, numval); in get_zap_prop()
733 (void) lua_pushnumber(state, value); in zcp_get_userquota_prop()
792 (void) lua_pushnumber(state, used); in zcp_get_written_prop()
H A Dzcp_global.c79 lua_pushnumber(state, (lua_Number)global->zeg_errno); in zcp_load_errno_globals()
H A Dzcp_synctask.c324 lua_pushnumber(state, (lua_Number)err); in zcp_synctask_wrapper()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlbaselib.c41 lua_pushnumber(L, n); in luaB_tonumber()
67 lua_pushnumber(L, (neg) ? -n : n); in luaB_tonumber()
161 lua_pushnumber(L, res + ((lua_Number)b/1024)); in luaB_collectgarbage()
H A Dltablib.c35 lua_pushnumber(L, max); in maxn()
H A Dlua.h205 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
H A Dlauxlib.c784 lua_pushnumber(L, -(lua_Number)0x1234); in luaL_checkversion_()
H A Dlapi.c472 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
/freebsd-12.1/contrib/libucl/lua/
H A Dlua_ucl.c235 lua_pushnumber (L, ucl_obj_toint (obj)); in ucl_object_lua_push_scalar()
240 lua_pushnumber (L, ucl_obj_todouble (obj)); in ucl_object_lua_push_scalar()