Home
last modified time | relevance | path

Searched refs:PyLong_AsLongAndOverflow (Results 1 – 25 of 30) sorted by relevance

12

/external/python/cpython3/Modules/_testlimitedcapi/
Dlong.c137 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
164 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
181 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
207 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
223 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
238 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
253 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
268 value = PyLong_AsLongAndOverflow(num, &overflow); in _testlimitedcapi_test_long_and_overflow_impl()
626 long value = PyLong_AsLongAndOverflow(arg, &overflow); in pylong_aslongandoverflow()
/external/python/cpython3/Include/
Dlongobject.h23 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
52 long result = PyLong_AsLongAndOverflow(obj, &overflow); in PyLong_AsPid()
/external/pytorch/torch/csrc/utils/
Dpython_numbers.h61 long value = PyLong_AsLongAndOverflow(obj, &overflow); in THPUtils_unpackInt()
193 long value = PyLong_AsLongAndOverflow(obj, &overflow); in THPUtils_unpackDeviceIndex()
/external/python/cpython3/Modules/
Dmathmodule.c2024 x = PyLong_AsLongAndOverflow(arg, &overflow); in math_factorial()
2144 exp = PyLong_AsLongAndOverflow(i, &overflow); in math_ldexp_impl()
2823 int_p = PyLong_AsLongAndOverflow(p_i, &overflow); in math_sumprod_impl()
2827 int_q = PyLong_AsLongAndOverflow(q_i, &overflow); in math_sumprod_impl()
3293 long i_result = PyLong_AsLongAndOverflow(result, &overflow); in math_prod_impl()
3310 long b = PyLong_AsLongAndOverflow(item, &overflow); in math_prod_impl()
3361 value = PyLong_AsLongAndOverflow(item, &overflow); in math_prod_impl()
D_cursesmodule.c269 value = PyLong_AsLongAndOverflow(obj, &long_overflow); in PyCurses_ConvertToChtype()
334 value = PyLong_AsLongAndOverflow(obj, &overflow); in PyCurses_ConvertToCchar_t()
410 color_number = PyLong_AsLongAndOverflow(arg, &overflow); in color_allow_default_converter()
462 pair_number = PyLong_AsLongAndOverflow(arg, &overflow); in pair_converter()
504 component = PyLong_AsLongAndOverflow(arg, &overflow); in component_converter()
4460 value = PyLong_AsLongAndOverflow(obj, &overflow); in PyCurses_ConvertToWchar_t()
Dposixmodule.c787 result = PyLong_AsLongAndOverflow(index, &overflow); in _Py_Uid_Converter()
893 result = PyLong_AsLongAndOverflow(index, &overflow); in _Py_Gid_Converter()
1049 long_value = PyLong_AsLongAndOverflow(index, &overflow); in _fd_converter()
1608 signum = PyLong_AsLongAndOverflow(item, &overflow); in _Py_Sigset_Converter()
D_tkinter.c962 longValue = PyLong_AsLongAndOverflow(value, &overflow); in AsObj()
/external/python/cpython3/Objects/
Drangeobject.c187 long long_start = PyLong_AsLongAndOverflow(start, &overflow); in compute_range_length_long()
194 long long_stop = PyLong_AsLongAndOverflow(stop, &overflow); in compute_range_length_long()
201 long long_step = PyLong_AsLongAndOverflow(step, &overflow); in compute_range_length_long()
Dexceptions.c2525 PyLong_AsLongAndOverflow(self->lineno, &overflow)); in SyntaxError_str()
2533 PyLong_AsLongAndOverflow(self->lineno, &overflow)); in SyntaxError_str()
Dlongobject.c460 PyLong_AsLongAndOverflow(PyObject *vv, int *overflow) in PyLong_AsLongAndOverflow() function
544 long result = PyLong_AsLongAndOverflow(obj, &overflow); in PyLong_AsLong()
561 long result = PyLong_AsLongAndOverflow(obj, &overflow); in PyLong_AsInt()
Dframeobject.c1530 long l_new_lineno = PyLong_AsLongAndOverflow(p_new_lineno, &overflow); in frame_setlineno()
Dbytearrayobject.c27 long face_value = PyLong_AsLongAndOverflow(arg, &overflow); in _getbytevalue()
Dbytesobject.c490 long ival = PyLong_AsLongAndOverflow(arg, &overflow); in byte_converter()
/external/python/cpython3/Python/
Dbltinmodule.c714 long v = PyLong_AsLongAndOverflow(i, &overflow); in builtin_chr()
2580 Py_ssize_t i_result = PyLong_AsLongAndOverflow(result, &overflow); in builtin_sum_impl()
2601 b = PyLong_AsLongAndOverflow(item, &overflow); in builtin_sum_impl()
2668 value = PyLong_AsLongAndOverflow(item, &overflow); in builtin_sum_impl()
Dtraceback.c725 limit = PyLong_AsLongAndOverflow(limitv, &overflow); in _PyTraceBack_Print()
Dmarshal.c401 long x = PyLong_AsLongAndOverflow(v, &overflow); in w_complex_object()
/external/python/cpython3/PC/
Dpython3dll.c344 EXPORT_FUNC(PyLong_AsLongAndOverflow)
/external/python/cpython3/Doc/data/
Dstable_abi.dat359 func,PyLong_AsLongAndOverflow,3.2,,
Drefcounts.dat1218 PyLong_AsLongAndOverflow:long:::
1219 PyLong_AsLongAndOverflow:PyObject*:obj:0:
1220 PyLong_AsLongAndOverflow:int*:overflow::
/external/python/cpython3/Doc/c-api/
Dlong.rst182 .. c:function:: long PyLong_AsLongAndOverflow(PyObject *obj, int *overflow)
/external/python/cpython3/Modules/_sqlite/
Dconnection.c1931 longval = PyLong_AsLongAndOverflow(retval, &result); in collation_callback()
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc51 PyLong_AsLongAndOverflow(object, &overflow); in PyLong_CheckNoOverflow()
/external/python/cpython3/Modules/_io/
Dbufferedio.c876 int myerrno = PyLong_AsLongAndOverflow(env_err->myerrno, &overflow); in _PyIO_trap_eintr()
/external/python/cpython3/Misc/
Dstable_abi.toml935 [function.PyLong_AsLongAndOverflow]
/external/python/cpython3/Doc/whatsnew/
D2.7.rst195 * The :c:func:`PyLong_AsLongAndOverflow` C API function.
2150 * New functions: :c:func:`PyLong_AsLongAndOverflow` and

12