| /freebsd-12.1/contrib/lua/src/ |
| H A D | lmathlib.c | 51 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 D | loslib.c | 184 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 D | ltablib.c | 73 lua_pushnumber(L, max); in maxn()
|
| H A D | lbaselib.c | 186 lua_pushnumber(L, (lua_Number)res + ((lua_Number)b/1024)); in luaB_collectgarbage()
|
| H A D | lua.h | 225 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
|
| H A D | lstrlib.c | 1530 lua_pushnumber(L, num);
|
| H A D | lapi.c | 458 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 D | zcp_iter.c | 99 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 D | zcp_get.c | 482 (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 D | zcp_global.c | 79 lua_pushnumber(state, (lua_Number)global->zeg_errno); in zcp_load_errno_globals()
|
| H A D | zcp_synctask.c | 324 lua_pushnumber(state, (lua_Number)err); in zcp_synctask_wrapper()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
| H A D | lbaselib.c | 41 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 D | ltablib.c | 35 lua_pushnumber(L, max); in maxn()
|
| H A D | lua.h | 205 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
|
| H A D | lauxlib.c | 784 lua_pushnumber(L, -(lua_Number)0x1234); in luaL_checkversion_()
|
| H A D | lapi.c | 472 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
|
| /freebsd-12.1/contrib/libucl/lua/ |
| H A D | lua_ucl.c | 235 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()
|