Searched refs:lua_pushnumber (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/third_party/skia/third_party/lua/src/ |
D | lmathlib.c | 27 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 …]
|
D | loslib.c | 123 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()
|
D | lbaselib.c | 53 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()
|
D | liolib.c | 352 lua_pushnumber(L, d); in read_number() 558 lua_pushnumber(L, (lua_Number)l_ftell(f)); in f_seek()
|
D | ltablib.c | 35 lua_pushnumber(L, max); in maxn()
|
D | lua.h | 206 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
|
D | lauxlib.c | 952 lua_pushnumber(L, -(lua_Number)0x1234); in luaL_checkversion_()
|
D | lapi.c | 473 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
|
/external/skia/src/utils/ |
D | SkLua.cpp | 135 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/ |
D | SkLua.cpp | 138 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 …]
|