Home
last modified time | relevance | path

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

/art/runtime/interpreter/
Dsafe_math_test.cc63 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 …]
Dsafe_math.h52 static inline typename select_bigger<T1, T2>::type SafeSub(T1 a, T2 b) { in SafeSub() function
Dinterpreter_goto_table_impl.cc1755 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()
Dinterpreter_switch_impl.cc1589 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()