Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/third_party/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 …]
Dloslib.c123 lua_pushnumber(L, ((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC); in os_clock()
261 lua_pushnumber(L, (lua_Number)t); in os_time()
267 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()
Dliolib.c352 lua_pushnumber(L, d); in read_number()
558 lua_pushnumber(L, (lua_Number)l_ftell(f)); in f_seek()
Dltablib.c35 lua_pushnumber(L, max); in maxn()
Dlua.h206 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
Dlauxlib.c952 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/skia/src/utils/
DSkLua.cpp135 lua_pushnumber(L, value); in setfield_number()
155 lua_pushnumber(L, value); in setarray_number()
195 lua_pushnumber(fL, (double)value); in pushU32()
200 lua_pushnumber(fL, SkScalarToLua(value)); in pushScalar()
477 lua_pushnumber(L, get_ref<SkCanvas>(L, 1)->getSaveCount()); in lcanvas_getSaveCount()
1070 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleX()); in lmatrix_getScaleX()
1075 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleY()); in lmatrix_getScaleY()
1080 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateX()); in lmatrix_getTranslateX()
1085 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateY()); in lmatrix_getTranslateY()
1311 lua_pushnumber(L, v.fX); in lrrect_radii()
[all …]
/external/chromium_org/third_party/skia/src/utils/
DSkLua.cpp138 lua_pushnumber(L, value); in setfield_number()
158 lua_pushnumber(L, value); in setarray_number()
198 lua_pushnumber(fL, (double)value); in pushU32()
203 lua_pushnumber(fL, SkScalarToLua(value)); in pushScalar()
485 lua_pushnumber(L, get_ref<SkCanvas>(L, 1)->getSaveCount()); in lcanvas_getSaveCount()
1078 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleX()); in lmatrix_getScaleX()
1083 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleY()); in lmatrix_getScaleY()
1088 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateX()); in lmatrix_getTranslateX()
1093 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateY()); in lmatrix_getTranslateY()
1319 lua_pushnumber(L, v.fX); in lrrect_radii()
[all …]