Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpython_numbers.h61 long value = PyLong_AsLongAndOverflow(obj, &overflow); in THPUtils_unpackInt()
193 long value = PyLong_AsLongAndOverflow(obj, &overflow); in THPUtils_unpackDeviceIndex()
/aosp_15_r20/external/python/cpython2/Modules/
D_testcapimodule.c579 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
606 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
623 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
650 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
666 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
681 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
696 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
711 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
Dmathmodule.c1194 exp = PyLong_AsLongAndOverflow(oexp, &overflow); in math_ldexp()
/aosp_15_r20/external/python/cpython3/Modules/
D_cursesmodule.c272 value = PyLong_AsLongAndOverflow(obj, &long_overflow); in PyCurses_ConvertToChtype()
337 value = PyLong_AsLongAndOverflow(obj, &overflow); in PyCurses_ConvertToCchar_t()
414 color_number = PyLong_AsLongAndOverflow(arg, &overflow); in color_allow_default_converter()
466 pair_number = PyLong_AsLongAndOverflow(arg, &overflow); in pair_converter()
508 component = PyLong_AsLongAndOverflow(arg, &overflow); in component_converter()
4464 value = PyLong_AsLongAndOverflow(obj, &overflow); in PyCurses_ConvertToWchar_t()
Dmathmodule.c2112 x = PyLong_AsLongAndOverflow(arg, &overflow); in math_factorial()
2237 exp = PyLong_AsLongAndOverflow(i, &overflow); in math_ldexp_impl()
3141 long i_result = PyLong_AsLongAndOverflow(result, &overflow); in math_prod_impl()
3159 long b = PyLong_AsLongAndOverflow(item, &overflow); in math_prod_impl()
3211 value = PyLong_AsLongAndOverflow(item, &overflow); in math_prod_impl()
D_testcapimodule.c558 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
585 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
602 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
629 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
645 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
660 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
675 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
690 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dlongobject.h22 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
/aosp_15_r20/external/python/cpython3/Include/
Dlongobject.h22 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dlongobject.h22 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dlongobject.h22 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dlongobject.h22 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
/aosp_15_r20/external/python/cpython2/Include/
Dlongobject.h24 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
/aosp_15_r20/external/python/cpython2/Modules/_sqlite/
Dutil.c145 long value = PyLong_AsLongAndOverflow(py_val, &overflow); in _pysqlite_long_as_int64()
Dconnection.c1380 longval = PyLong_AsLongAndOverflow(retval, &result); in pysqlite_collation_callback()
/aosp_15_r20/external/python/cpython3/Python/
Dbltinmodule.c2494 long i_result = PyLong_AsLongAndOverflow(result, &overflow); in builtin_sum_impl()
2517 default: b = PyLong_AsLongAndOverflow(item, &overflow); break; in builtin_sum_impl()
2566 value = PyLong_AsLongAndOverflow(item, &overflow); in builtin_sum_impl()
Dtraceback.c1002 limit = PyLong_AsLongAndOverflow(limitv, &overflow); in _PyTraceBack_Print_Indented()
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dlong.rst136 .. c:function:: long PyLong_AsLongAndOverflow(PyObject *pylong, int *overflow)
/aosp_15_r20/external/python/cpython2/Misc/NEWS.d/
D2.7a2.rst347 ``PyLong_AsLongAndOverflow()``.
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dlong.rst138 .. c:function:: long PyLong_AsLongAndOverflow(PyObject *obj, int *overflow)
/aosp_15_r20/external/python/cpython2/Objects/
Dlongobject.c232 PyLong_AsLongAndOverflow(PyObject *vv, int *overflow) in PyLong_AsLongAndOverflow() function
332 long result = PyLong_AsLongAndOverflow(obj, &overflow); in PyLong_AsLong()
349 long result = PyLong_AsLongAndOverflow(obj, &overflow); in _PyLong_AsInt()
Dbytesobject.c505 ival = PyLong_AsLongAndOverflow(arg, &overflow); in byte_converter()
514 ival = PyLong_AsLongAndOverflow(iobj, &overflow); in byte_converter()
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat1155 PyLong_AsLongAndOverflow:long:::
1156 PyLong_AsLongAndOverflow:PyObject*:obj:0:
1157 PyLong_AsLongAndOverflow:int*:overflow::
Dstable_abi.dat350 function,PyLong_AsLongAndOverflow,3.2,,
/aosp_15_r20/external/python/cpython3/PC/
Dpython3dll.c328 EXPORT_FUNC(PyLong_AsLongAndOverflow)
/aosp_15_r20/external/python/cpython3/Objects/
Dframeobject.c695 long l_new_lineno = PyLong_AsLongAndOverflow(p_new_lineno, &overflow); in frame_setlineno()

12