Home
last modified time | relevance | path

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

/external/syslinux/com32/lua/src/
Dlmathlib.c27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
57 lua_pushnumber(L, l_mathop(tanh)(luaL_checknumber(L, 1))); in math_tanh()
62 lua_pushnumber(L, l_mathop(asin)(luaL_checknumber(L, 1))); in math_asin()
67 lua_pushnumber(L, l_mathop(acos)(luaL_checknumber(L, 1))); in math_acos()
72 lua_pushnumber(L, l_mathop(atan)(luaL_checknumber(L, 1))); in math_atan()
[all …]
Dpci.c34 lua_pushnumber(L, pci_dev++); in pci_getinfo()
39 lua_pushnumber(L, __pci_bus); in pci_getinfo()
43 lua_pushnumber(L, __pci_slot); in pci_getinfo()
47 lua_pushnumber(L, __pci_func); in pci_getinfo()
51 lua_pushnumber(L, pci_device->vendor); in pci_getinfo()
55 lua_pushnumber(L, pci_device->product); in pci_getinfo()
59 lua_pushnumber(L, pci_device->sub_vendor); in pci_getinfo()
63 lua_pushnumber(L, pci_device->sub_product); in pci_getinfo()
Dvesa.c76 lua_pushnumber(L, nmode++); in vesa_getmodes()
80 lua_pushnumber(L, mode); in vesa_getmodes()
84 lua_pushnumber(L, mi->h_res); in vesa_getmodes()
88 lua_pushnumber(L, mi->v_res); in vesa_getmodes()
92 lua_pushnumber(L, mi->bpp); in vesa_getmodes()
Dloslib.c128 lua_pushnumber(L, ((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC); in os_clock()
266 lua_pushnumber(L, (lua_Number)t); in os_time()
273 lua_pushnumber(L, difftime((time_t)(luaL_checknumber(L, 1)), in os_difftime()
Dlbaselib.c53 lua_pushnumber(L, n); in luaB_tonumber()
79 lua_pushnumber(L, (neg) ? -n : n); in luaB_tonumber()
173 lua_pushnumber(L, res + ((lua_Number)b/1024)); in luaB_collectgarbage()
Dlfs.c215 lua_pushnumber (L, (lua_Number)info->st_size); in push_st_size()
Dliolib.c356 lua_pushnumber(L, d); in read_number()
574 lua_pushnumber(L, (lua_Number)l_ftell(f)); in f_seek()
Dltablib.c35 lua_pushnumber(L, max); in maxn()
Dcpu.c20 lua_pushnumber(L,value_int); in add_int_item()
Dlua.h211 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
Ddmi.c20 lua_pushnumber(L,value_int); in add_int_item()
Dlauxlib.c954 lua_pushnumber(L, -(lua_Number)0x1234); in luaL_checkversion_()
Dlapi.c473 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
/external/skqp/src/utils/
DSkLua.cpp169 lua_pushnumber(L, value); in setfield_number()
229 lua_pushnumber(L, value); in setarray_number()
274 lua_pushnumber(fL, (double)value); in pushU32()
279 lua_pushnumber(fL, SkScalarToLua(value)); in pushScalar()
575 lua_pushnumber(L, get_ref<SkCanvas>(L, 1)->getSaveCount()); in lcanvas_getSaveCount()
1263 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleX()); in lmatrix_getScaleX()
1268 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleY()); in lmatrix_getScaleY()
1273 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateX()); in lmatrix_getTranslateX()
1278 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateY()); in lmatrix_getTranslateY()
1290 lua_pushnumber(L, pt.x()); in lmatrix_mapXY()
[all …]
/external/skia/src/utils/
DSkLua.cpp169 lua_pushnumber(L, value); in setfield_number()
229 lua_pushnumber(L, value); in setarray_number()
274 lua_pushnumber(fL, (double)value); in pushU32()
279 lua_pushnumber(fL, SkScalarToLua(value)); in pushScalar()
575 lua_pushnumber(L, get_ref<SkCanvas>(L, 1)->getSaveCount()); in lcanvas_getSaveCount()
1263 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleX()); in lmatrix_getScaleX()
1268 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleY()); in lmatrix_getScaleY()
1273 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateX()); in lmatrix_getTranslateX()
1278 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateY()); in lmatrix_getTranslateY()
1290 lua_pushnumber(L, pt.x()); in lmatrix_mapXY()
[all …]