Home
last modified time | relevance | path

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

/freebsd/contrib/lua/src/
H A Dlmathlib.c36 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
41 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
46 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
51 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
56 lua_pushnumber(L, l_mathop(asin)(luaL_checknumber(L, 1))); in math_asin()
61 lua_pushnumber(L, l_mathop(acos)(luaL_checknumber(L, 1))); in math_acos()
68 lua_pushnumber(L, l_mathop(atan2)(y, x)); in math_atan()
91 lua_pushnumber(L, d); /* result is float */ in pushnumint()
128 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
142 lua_pushnumber(L, 0); /* no fractional part */ in math_modf()
[all …]
H A Dloslib.c65 #define l_pushtime(L,t) lua_pushnumber(L,(lua_Number)(t))
187 lua_pushnumber(L, ((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC); in os_clock()
373 lua_pushnumber(L, (lua_Number)difftime(t1, t2)); in os_difftime()
H A Dltests.c1132 lua_pushnumber(L, cast_num(*cast(const double *, luaL_checkstring(L, 1)))); in s2d()
1406 lua_pushnumber(L1, lua_absindex(L1, getindex)); in runC()
1458 lua_pushnumber(L1, cast_sizet(func)); in runC()
1594 lua_pushnumber(L1, (lua_Number)getnum); in runC()
1732 lua_pushnumber(L1, lua_tonumber(L1, getindex)); in runC()
H A Dlbaselib.c212 lua_pushnumber(L, (lua_Number)k + ((lua_Number)b/1024)); in luaB_collectgarbage()
H A Dlstrlib.c1800 lua_pushnumber(L, (lua_Number)f);
1807 lua_pushnumber(L, f);
1814 lua_pushnumber(L, (lua_Number)f);
H A Dlua.h245 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
H A Dlapi.c505 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_iter.c105 lua_pushnumber(state, cursor); in zcp_clones_iter()
150 lua_pushnumber(state, dsobj); in zcp_clones_list()
151 lua_pushnumber(state, cursor); in zcp_clones_list()
192 lua_pushnumber(state, cursor); in zcp_snapshots_iter()
233 lua_pushnumber(state, dsobj); in zcp_snapshots_list()
234 lua_pushnumber(state, 0); in zcp_snapshots_list()
279 lua_pushnumber(state, cursor); in zcp_children_iter()
321 lua_pushnumber(state, dsobj); in zcp_children_list()
322 lua_pushnumber(state, 0); in zcp_children_list()
567 lua_pushnumber(state, cursor); in zcp_bookmarks_iter()
[all …]
H A Dzcp_global.c79 lua_pushnumber(state, (lua_Number)global->zeg_errno); in zcp_load_errno_globals()
H A Dzcp_get.c421 (void) lua_pushnumber(state, numval); in get_special_prop()
490 (void) lua_pushnumber(state, numval); in get_zap_prop()
678 (void) lua_pushnumber(state, value); in zcp_get_userquota_prop()
738 (void) lua_pushnumber(state, used); in zcp_get_written_prop()
H A Dzcp_synctask.c548 lua_pushnumber(state, (lua_Number)err); in zcp_synctask_wrapper()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlbaselib.c34 lua_pushnumber(L, n); in luaB_tonumber()
60 lua_pushnumber(L, (neg) ? -n : n); in luaB_tonumber()
154 lua_pushnumber(L, res + ((lua_Number)b/1024)); in luaB_collectgarbage()
H A Dltablib.c33 lua_pushnumber(L, max); in maxn()
H A Dlapi.c471 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
1304 EXPORT_SYMBOL(lua_pushnumber);
H A Dlauxlib.c782 lua_pushnumber(L, -(lua_Number)0x1234); in luaL_checkversion_()
/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c249 lua_pushnumber (L, ucl_obj_toint (obj)); in ucl_object_lua_push_scalar()
254 lua_pushnumber (L, ucl_obj_todouble (obj)); in ucl_object_lua_push_scalar()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h205 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
/freebsd/lib/clang/liblldb/
H A DLLDBWrapLua.cpp1202 lua_pushnumber(L,entry->key.key.numkey); in SWIG_Lua_elua_emulate_register()
1215 lua_pushnumber(L,entry->value.value.number); in SWIG_Lua_elua_emulate_register()
2666 lua_pushnumber(L,(lua_Number)constants[i].dvalue); in SWIG_Lua_InstallConstants()
3156 lua_pushnumber(L,(lua_Number)array[i]);\
3965 lua_pushnumber(L, (lua_Number) result); SWIG_arg++; in _wrap_string_size()
3989 lua_pushnumber(L, (lua_Number) result); SWIG_arg++; in _wrap_string_length()
18421 lua_pushnumber(L, (lua_Number) result); SWIG_arg++; in _wrap_SBData_GetFloat()
18455 lua_pushnumber(L, (lua_Number) result); SWIG_arg++; in _wrap_SBData_GetDouble()
52089 lua_pushnumber(L, (lua_Number) result); SWIG_arg++; in _wrap_SBStructuredData_GetFloatValue__SWIG_0()
52113 lua_pushnumber(L, (lua_Number) result); SWIG_arg++; in _wrap_SBStructuredData_GetFloatValue__SWIG_1()