Searched refs:SafeAdd (Results 1 - 4 of 4) sorted by relevance
/art/runtime/interpreter/ |
H A D | safe_math_test.cc | 28 EXPECT_EQ(SafeAdd(std::numeric_limits<int32_t>::max(), 1), 30 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::max(), 1), 34 EXPECT_EQ(SafeAdd(std::numeric_limits<int32_t>::max() - 1, 1), 36 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::max() - 1, 1), 39 EXPECT_EQ(SafeAdd(std::numeric_limits<int32_t>::min() + 1, -1), 41 EXPECT_EQ(SafeAdd(std::numeric_limits<int64_t>::min() + 1, -1), 44 EXPECT_EQ(SafeAdd(int32_t(-1), -1), -2); 45 EXPECT_EQ(SafeAdd(int64_t(-1), -1), -2); 47 EXPECT_EQ(SafeAdd(int32_t(1), 1), 2); 48 EXPECT_EQ(SafeAdd(int64_ [all...] |
H A D | safe_math.h | 46 static inline typename select_bigger<T1, T2>::type SafeAdd(T1 a, T2 b) { function in namespace:art::interpreter
|
H A D | interpreter_goto_table_impl.cc | 1748 SafeAdd(shadow_frame.GetVReg(inst->VRegB_23x()), 1827 SafeAdd(shadow_frame.GetVRegLong(inst->VRegB_23x()), 1977 SafeAdd(shadow_frame.GetVReg(vregA), 2074 SafeAdd(shadow_frame.GetVRegLong(vregA), 2260 SafeAdd(shadow_frame.GetVReg(inst->VRegB_22s(inst_data)), 2318 SafeAdd(shadow_frame.GetVReg(inst->VRegB_22b()),
|
H A D | interpreter_switch_impl.cc | 1581 SafeAdd(shadow_frame.GetVReg(inst->VRegB_23x()), 1661 SafeAdd(shadow_frame.GetVRegLong(inst->VRegB_23x()), 1808 shadow_frame.SetVReg(vregA, SafeAdd(shadow_frame.GetVReg(vregA), 1905 SafeAdd(shadow_frame.GetVRegLong(vregA), 2091 SafeAdd(shadow_frame.GetVReg(inst->VRegB_22s(inst_data)), 2149 SafeAdd(shadow_frame.GetVReg(inst->VRegB_22b()), inst->VRegC_22b()));
|
Completed in 43 milliseconds