Home
last modified time | relevance | path

Searched refs:SafeMul (Results 1 – 4 of 4) sorted by relevance

/art/runtime/interpreter/
Dsafe_math_test.cc98 EXPECT_EQ(SafeMul(std::numeric_limits<int32_t>::max(), 2), in TEST()
100 EXPECT_EQ(SafeMul(std::numeric_limits<int64_t>::max(), 2), in TEST()
104 EXPECT_EQ(SafeMul(std::numeric_limits<int32_t>::max() / 2, 2), in TEST()
106 EXPECT_EQ(SafeMul(std::numeric_limits<int64_t>::max() / 2, 2), in TEST()
109 EXPECT_EQ(SafeMul(std::numeric_limits<int32_t>::min() / 2, 2), in TEST()
111 EXPECT_EQ(SafeMul(std::numeric_limits<int64_t>::min() / 2, 2), in TEST()
114 EXPECT_EQ(SafeMul(int32_t(-1), -1), 1); in TEST()
115 EXPECT_EQ(SafeMul(int64_t(-1), -1), 1); in TEST()
117 EXPECT_EQ(SafeMul(int32_t(1), 1), 1); in TEST()
118 EXPECT_EQ(SafeMul(int64_t(1), 1), 1); in TEST()
[all …]
Dsafe_math.h58 static inline typename select_bigger<T1, T2>::type SafeMul(T1 a, T2 b) { in SafeMul() function
Dinterpreter_switch_impl.cc1711 SafeMul(shadow_frame.GetVReg(inst->VRegB_23x()), in ExecuteSwitchImpl()
1790 SafeMul(shadow_frame.GetVRegLong(inst->VRegB_23x()), in ExecuteSwitchImpl()
1941 SafeMul(shadow_frame.GetVReg(vregA), in ExecuteSwitchImpl()
2038 SafeMul(shadow_frame.GetVRegLong(vregA), in ExecuteSwitchImpl()
2220 SafeMul(shadow_frame.GetVReg(inst->VRegB_22s(inst_data)), in ExecuteSwitchImpl()
2276 SafeMul(shadow_frame.GetVReg(inst->VRegB_22b()), inst->VRegC_22b())); in ExecuteSwitchImpl()
Dinterpreter_goto_table_impl.cc1829 SafeMul(shadow_frame.GetVReg(inst->VRegB_23x()), in ExecuteGotoImpl()
1908 SafeMul(shadow_frame.GetVRegLong(inst->VRegB_23x()), in ExecuteGotoImpl()
2062 SafeMul(shadow_frame.GetVReg(vregA), in ExecuteGotoImpl()
2159 SafeMul(shadow_frame.GetVRegLong(vregA), in ExecuteGotoImpl()
2341 SafeMul(shadow_frame.GetVReg(inst->VRegB_22s(inst_data)), in ExecuteGotoImpl()
2399 SafeMul(shadow_frame.GetVReg(inst->VRegB_22b()), in ExecuteGotoImpl()