Searched refs:SafeMul (Results 1 – 4 of 4) sorted by relevance
/art/runtime/interpreter/ |
D | safe_math_test.cc | 98 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 …]
|
D | safe_math.h | 58 static inline typename select_bigger<T1, T2>::type SafeMul(T1 a, T2 b) { in SafeMul() function
|
D | interpreter_goto_table_impl.cc | 1762 SafeMul(shadow_frame.GetVReg(inst->VRegB_23x()), in ExecuteGotoImpl() 1841 SafeMul(shadow_frame.GetVRegLong(inst->VRegB_23x()), in ExecuteGotoImpl() 1995 SafeMul(shadow_frame.GetVReg(vregA), in ExecuteGotoImpl() 2092 SafeMul(shadow_frame.GetVRegLong(vregA), in ExecuteGotoImpl() 2274 SafeMul(shadow_frame.GetVReg(inst->VRegB_22s(inst_data)), in ExecuteGotoImpl() 2332 SafeMul(shadow_frame.GetVReg(inst->VRegB_22b()), in ExecuteGotoImpl()
|
D | interpreter_switch_impl.cc | 1596 SafeMul(shadow_frame.GetVReg(inst->VRegB_23x()), in ExecuteSwitchImpl() 1675 SafeMul(shadow_frame.GetVRegLong(inst->VRegB_23x()), in ExecuteSwitchImpl() 1826 SafeMul(shadow_frame.GetVReg(vregA), in ExecuteSwitchImpl() 1923 SafeMul(shadow_frame.GetVRegLong(vregA), in ExecuteSwitchImpl() 2105 SafeMul(shadow_frame.GetVReg(inst->VRegB_22s(inst_data)), in ExecuteSwitchImpl() 2161 SafeMul(shadow_frame.GetVReg(inst->VRegB_22b()), inst->VRegC_22b())); in ExecuteSwitchImpl()
|