/external/lua/src/ |
D | lmathlib.c | 36 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 …]
|
D | loslib.c | 74 #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() 375 lua_pushnumber(L, (lua_Number)difftime(t1, t2)); in os_difftime()
|
D | lbaselib.c | 202 lua_pushnumber(L, (lua_Number)k + ((lua_Number)b/1024)); in luaB_collectgarbage()
|
D | lua.h | 234 LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); variable
|
D | lstrlib.c | 1726 lua_pushnumber(L, num); in str_unpack()
|
D | lapi.c | 481 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber() function
|
/external/mesa3d/src/freedreno/decode/ |
D | script.c | 190 lua_pushnumber(L, val.f); in pushdecval() 394 lua_pushnumber(L, regval); in l_rnn_reg_meta_tonumber() 521 lua_pushnumber(L, reg_written(regbase)); in l_reg_written() 528 lua_pushnumber(L, reg_lastval(regbase)); in l_reg_lastval() 535 lua_pushnumber(L, reg_val(regbase)); in l_reg_val() 556 lua_pushnumber(L, gpubaseaddr(addr)); in l_bo_base() 564 lua_pushnumber(L, hostlen(addr)); in l_bo_size() 644 lua_pushnumber(L, nindx); in script_draw() 721 lua_pushnumber(L, sizedwords); in script_packet()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/ |
D | upb.c | 180 lua_pushnumber(L, val); \ 209 lua_pushnumber(L, d); in lupb_pushdouble() 213 lua_pushnumber(L, d); in lupb_pushfloat()
|
D | def.c | 99 lua_pushnumber(L, upb_fielddef_defaultdouble(f)); break; in lupb_fielddef_default() 101 lua_pushnumber(L, upb_fielddef_defaultfloat(f)); break; in lupb_fielddef_default() 119 lua_pushnumber(L, upb_fielddef_descriptortype(f)); in lupb_fielddef_descriptortype() 627 lua_pushnumber(L, upb_filedef_depcount(f)); in lupb_filedef_depcount() 641 lua_pushnumber(L, upb_filedef_enumcount(f)); in lupb_filedef_enumcount() 655 lua_pushnumber(L, upb_filedef_msgcount(f)); in lupb_filedef_msgcount() 680 lua_pushnumber(L, upb_filedef_syntax(f)); in lupb_filedef_syntax()
|
D | msg.c | 310 lua_pushnumber(L, val.double_val); in lupb_pushmsgval() 313 lua_pushnumber(L, val.float_val); in lupb_pushmsgval() 441 lua_pushnumber(L, upb_array_size(larray->arr)); in lupb_array_len() 529 lua_pushnumber(L, upb_map_size(lmap->map)); in lupb_map_len()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 174 lua_pushnumber(L, value); in setfield_number() 234 lua_pushnumber(L, value); in setarray_number() 279 lua_pushnumber(fL, (double)value); in pushU32() 284 lua_pushnumber(fL, SkScalarToLua(value)); in pushScalar() 585 lua_pushnumber(L, get_ref<SkCanvas>(L, 1)->getSaveCount()); in lcanvas_getSaveCount() 1170 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleX()); in lmatrix_getScaleX() 1175 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getScaleY()); in lmatrix_getScaleY() 1180 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateX()); in lmatrix_getTranslateX() 1185 lua_pushnumber(L, get_obj<SkMatrix>(L,1)->getTranslateY()); in lmatrix_getTranslateY() 1197 lua_pushnumber(L, pt.x()); in lmatrix_mapXY() [all …]
|
/external/libtextclassifier/native/utils/ |
D | lua-utils.h | 123 void Push(const float value) const { lua_pushnumber(state_, value); } in Push() 124 void Push(const double value) const { lua_pushnumber(state_, value); } in Push()
|