Home
last modified time | relevance | path

Searched refs:PyFPE_START_PROTECT (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Modules/
Dfpetestmodule.c116 PyFPE_START_PROTECT("Division by zero, outer zone", return 3.1416) in nest1()
121 PyFPE_START_PROTECT("Division by zero, inner zone", return 3.1416) in nest1()
135 PyFPE_START_PROTECT("Division by zero, prior error", return 3.1416) in nest2()
151 PyFPE_START_PROTECT("Division by zero, nest3 error", return 3.1416) in nest3()
160 PyFPE_START_PROTECT("Division by zero", return 3.1416) in db0()
169 PyFPE_START_PROTECT("Overflow", return 3.1416) in overflow()
Dmathmodule.c689 PyFPE_START_PROTECT("in math_1", return 0); in math_1()
722 PyFPE_START_PROTECT("in math_1a", return 0); in math_1a()
769 PyFPE_START_PROTECT("in math_2", return 0); in math_2()
974 PyFPE_START_PROTECT("fsum", Py_DECREF(iter); return NULL) in math_fsum()
1167 PyFPE_START_PROTECT("in math_frexp", return 0); in math_frexp()
1221 PyFPE_START_PROTECT("in math_ldexp", return 0); in math_ldexp()
1253 PyFPE_START_PROTECT("in math_modf", return 0); in math_modf()
1368 PyFPE_START_PROTECT("in math_fmod", return 0); in math_fmod()
1404 PyFPE_START_PROTECT("in math_hypot", return 0); in math_hypot()
1483 PyFPE_START_PROTECT("in math_pow", return 0); in math_pow()
Dcmathmodule.c841 PyFPE_START_PROTECT("complex function", return 0) in cmath_log()
879 PyFPE_START_PROTECT("complex function", return 0); in math_1()
924 PyFPE_START_PROTECT("arg function", return 0) in FUNC1()
945 PyFPE_START_PROTECT("polar function", return 0) in cmath_polar()
981 PyFPE_START_PROTECT("rect function", return 0) in cmath_rect()
Dimgfile.c327 PyFPE_START_PROTECT("readscaled", return 0) in imgfile_readscaled()
Dstropmodule.c885 PyFPE_START_PROTECT("strop_atof", return 0) in strop_atof()
D_tkinter.c2259 PyFPE_START_PROTECT("Tkapp_ExprDouble", return 0) in Tkapp_ExprDouble()
/external/python/cpython3/Modules/clinic/
Dcmathmodule.c.h28 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_acos()
70 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_acosh()
112 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_asin()
154 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_asinh()
196 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_atan()
238 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_atanh()
280 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_cos()
322 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_cosh()
364 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_exp()
406 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_log10()
[all …]
/external/python/cpython2/Include/
Dpyfpe.h136 #define PyFPE_START_PROTECT(err_string, leave_stmt) \ macro
168 #define PyFPE_START_PROTECT(err_string, leave_stmt)
/external/python/cpython3/Modules/
Dmathmodule.c916 PyFPE_START_PROTECT("in math_1", return 0); in math_1_to_whatever()
952 PyFPE_START_PROTECT("in math_1a", return 0); in math_1a()
1011 PyFPE_START_PROTECT("in math_2", return 0); in math_2()
1313 PyFPE_START_PROTECT("fsum", Py_DECREF(iter); return NULL) in math_fsum()
1774 PyFPE_START_PROTECT("in math_frexp", return 0); in math_frexp_impl()
1831 PyFPE_START_PROTECT("in math_ldexp", return 0); in math_ldexp_impl()
1870 PyFPE_START_PROTECT("in math_modf", return 0); in math_modf_impl()
2019 PyFPE_START_PROTECT("in math_fmod", return 0); in math_fmod_impl()
2056 PyFPE_START_PROTECT("in math_hypot", return 0); in math_hypot_impl()
2136 PyFPE_START_PROTECT("in math_pow", return 0); in math_pow_impl()
Dcmathmodule.c963 PyFPE_START_PROTECT("complex function", return 0) in cmath_log_impl()
1011 PyFPE_START_PROTECT("arg function", return 0) in cmath_phase_impl()
1038 PyFPE_START_PROTECT("polar function", return 0) in cmath_polar_impl()
1077 PyFPE_START_PROTECT("rect function", return 0) in cmath_rect_impl()
D_tkinter.c2135 PyFPE_START_PROTECT("Tkapp_ExprDouble", return 0) in _tkinter_tkapp_exprdouble_impl()
/external/python/cpython2/Objects/
Dfloatobject.c600 PyFPE_START_PROTECT("richcompare", return NULL) in float_richcompare()
641 PyFPE_START_PROTECT("add", return 0) in float_add()
653 PyFPE_START_PROTECT("subtract", return 0) in float_sub()
665 PyFPE_START_PROTECT("multiply", return 0) in float_mul()
684 PyFPE_START_PROTECT("divide", return 0) in float_div()
706 PyFPE_START_PROTECT("divide", return 0) in float_classic_div()
726 PyFPE_START_PROTECT("modulo", return 0) in float_rem()
758 PyFPE_START_PROTECT("divmod", return 0) in float_divmod()
920 PyFPE_START_PROTECT("pow", return NULL) in float_pow()
994 PyFPE_START_PROTECT("is_integer", return NULL) in float_is_integer()
[all …]
Dcomplexobject.c526 PyFPE_START_PROTECT("complex_add", return 0) in complex_add()
539 PyFPE_START_PROTECT("complex_sub", return 0) in complex_sub()
552 PyFPE_START_PROTECT("complex_mul", return 0) in complex_mul()
565 PyFPE_START_PROTECT("complex_div", return 0) in complex_div()
588 PyFPE_START_PROTECT("complex_classic_div", return 0) in complex_classic_div()
666 PyFPE_START_PROTECT("complex_pow", return 0) in complex_pow()
736 PyFPE_START_PROTECT("complex_abs", return 0) in complex_abs()
/external/python/cpython3/Objects/
Dcomplexobject.c468 PyFPE_START_PROTECT("complex_add", return 0) in complex_add()
481 PyFPE_START_PROTECT("complex_sub", return 0) in complex_sub()
494 PyFPE_START_PROTECT("complex_mul", return 0) in complex_mul()
507 PyFPE_START_PROTECT("complex_div", return 0) in complex_div()
549 PyFPE_START_PROTECT("complex_pow", return 0) in complex_pow()
606 PyFPE_START_PROTECT("complex_abs", return 0) in complex_abs()
Dfloatobject.c500 PyFPE_START_PROTECT("richcompare", return NULL) in float_richcompare()
540 PyFPE_START_PROTECT("add", return 0) in float_add()
552 PyFPE_START_PROTECT("subtract", return 0) in float_sub()
564 PyFPE_START_PROTECT("multiply", return 0) in float_mul()
581 PyFPE_START_PROTECT("divide", return 0) in float_div()
599 PyFPE_START_PROTECT("modulo", return 0) in float_rem()
628 PyFPE_START_PROTECT("divmod", return 0) in float_divmod()
787 PyFPE_START_PROTECT("pow", return NULL) in float_pow()
843 PyFPE_START_PROTECT("is_integer", return NULL) in float_is_integer_impl()
1561 PyFPE_START_PROTECT("as_integer_ratio", goto error); in float_as_integer_ratio_impl()
/external/python/cpython3/Include/
Dpyfpe.h9 #define PyFPE_START_PROTECT(err_string, leave_stmt) macro
/external/python/cpython2/Doc/library/
Dfpectl.rst105 wrapper macros ``PyFPE_START_PROTECT`` and ``PyFPE_END_PROTECT`` be inserted
/external/python/cpython3/Python/
Dpystrtod.c345 PyFPE_START_PROTECT("PyOS_string_to_double", return -1.0) in PyOS_string_to_double()
Dbltinmodule.c2415 PyFPE_START_PROTECT("add", Py_DECREF(item); Py_DECREF(iter); return 0) in builtin_sum_impl()
2426 PyFPE_START_PROTECT("add", Py_DECREF(item); Py_DECREF(iter); return 0) in builtin_sum_impl()
/external/python/cpython2/Python/
Dpystrtod.c344 PyFPE_START_PROTECT("PyOS_string_to_double", return -1.0) in PyOS_string_to_double()
Dbltinmodule.c2395 PyFPE_START_PROTECT("add", Py_DECREF(item); Py_DECREF(iter); return 0) in builtin_sum()
2402 PyFPE_START_PROTECT("add", Py_DECREF(item); Py_DECREF(iter); return 0) in builtin_sum()