Searched refs:SafeSub (Results 1 – 4 of 4) sorted by relevance
/art/runtime/interpreter/ |
D | safe_math_test.cc | 63 EXPECT_EQ(SafeSub(std::numeric_limits<int32_t>::min(), 1), in TEST() 65 EXPECT_EQ(SafeSub(std::numeric_limits<int64_t>::min(), 1), in TEST() 69 EXPECT_EQ(SafeSub(std::numeric_limits<int32_t>::max() - 1, -1), in TEST() 71 EXPECT_EQ(SafeSub(std::numeric_limits<int64_t>::max() - 1, -1), in TEST() 74 EXPECT_EQ(SafeSub(std::numeric_limits<int32_t>::min() + 1, 1), in TEST() 76 EXPECT_EQ(SafeSub(std::numeric_limits<int64_t>::min() + 1, 1), in TEST() 79 EXPECT_EQ(SafeSub(int32_t(-1), -1), 0); in TEST() 80 EXPECT_EQ(SafeSub(int64_t(-1), -1), 0); in TEST() 82 EXPECT_EQ(SafeSub(int32_t(1), 1), 0); in TEST() 83 EXPECT_EQ(SafeSub(int64_t(1), 1), 0); in TEST() [all …]
|
D | safe_math.h | 52 static inline typename select_bigger<T1, T2>::type SafeSub(T1 a, T2 b) { in SafeSub() function
|
D | interpreter_goto_table_impl.cc | 1755 SafeSub(shadow_frame.GetVReg(inst->VRegB_23x()), in ExecuteGotoImpl() 1834 SafeSub(shadow_frame.GetVRegLong(inst->VRegB_23x()), in ExecuteGotoImpl() 1986 SafeSub(shadow_frame.GetVReg(vregA), in ExecuteGotoImpl() 2083 SafeSub(shadow_frame.GetVRegLong(vregA), in ExecuteGotoImpl() 2267 SafeSub(inst->VRegC_22s(), in ExecuteGotoImpl() 2325 SafeSub(inst->VRegC_22b(), in ExecuteGotoImpl()
|
D | interpreter_switch_impl.cc | 1589 SafeSub(shadow_frame.GetVReg(inst->VRegB_23x()), in ExecuteSwitchImpl() 1668 SafeSub(shadow_frame.GetVRegLong(inst->VRegB_23x()), in ExecuteSwitchImpl() 1817 SafeSub(shadow_frame.GetVReg(vregA), in ExecuteSwitchImpl() 1914 SafeSub(shadow_frame.GetVRegLong(vregA), in ExecuteSwitchImpl() 2098 SafeSub(inst->VRegC_22s(), in ExecuteSwitchImpl() 2155 SafeSub(inst->VRegC_22b(), shadow_frame.GetVReg(inst->VRegB_22b()))); in ExecuteSwitchImpl()
|