Home
last modified time | relevance | path

Searched refs:SafeMath (Results 1 – 2 of 2) sorted by relevance

/art/runtime/interpreter/
Dsafe_math.h34 static inline typename select_bigger<T1, T2>::type SafeMath(T1 a, T2 b) { in SafeMath() function
47 return SafeMath<std::plus>(a, b); in SafeAdd()
53 return SafeMath<std::minus>(a, b); in SafeSub()
59 return SafeMath<std::multiplies>(a, b); in SafeMul()
Dsafe_math_test.cc26 TEST(SafeMath, Add) { in TEST() argument
61 TEST(SafeMath, Sub) { in TEST() argument
96 TEST(SafeMath, Mul) { in TEST() argument