Home
last modified time | relevance | path

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

/third_party/python/Python/
Dbltinmodule.c2457 long i_result = PyLong_AsLongAndOverflow(result, &overflow); in builtin_sum_impl() local
2469 return PyLong_FromLong(i_result); in builtin_sum_impl()
2474 (i_result >= 0 ? (b <= LONG_MAX - i_result) in builtin_sum_impl()
2475 : (b >= LONG_MIN - i_result))) in builtin_sum_impl()
2477 i_result += b; in builtin_sum_impl()
2483 result = PyLong_FromLong(i_result); in builtin_sum_impl()
/third_party/python/Modules/
Dmathmodule.c3098 long i_result = PyLong_AsLongAndOverflow(result, &overflow); in math_prod_impl() local
3113 return PyLong_FromLong(i_result); in math_prod_impl()
3117 if (overflow == 0 && !_check_long_mult_overflow(i_result, b)) { in math_prod_impl()
3118 long x = i_result * b; in math_prod_impl()
3119 i_result = x; in math_prod_impl()
3126 result = PyLong_FromLong(i_result); in math_prod_impl()