Home
last modified time | relevance | path

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

12

/external/python/cpython2/Include/
Dlongobject.h24 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
/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()
/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()
/external/python/cpython3/Include/
Dlongobject.h24 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
/external/python/cpython3/Modules/
Dmathmodule.c1672 x = PyLong_AsLongAndOverflow(lx, &overflow); in math_factorial()
1676 x = PyLong_AsLongAndOverflow(arg, &overflow); in math_factorial()
1805 exp = PyLong_AsLongAndOverflow(i, &overflow); in math_ldexp_impl()
D_testcapimodule.c472 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
499 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
516 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
543 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
559 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
574 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
589 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
604 value = PyLong_AsLongAndOverflow(num, &overflow); in test_long_and_overflow()
D_cursesmodule.c246 value = PyLong_AsLongAndOverflow(obj, &long_overflow); in PyCurses_ConvertToChtype()
311 value = PyLong_AsLongAndOverflow(obj, &overflow); in PyCurses_ConvertToCchar_t()
3134 value = PyLong_AsLongAndOverflow(obj, &overflow); in PyCurses_ConvertToWchar_t()
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc59 PyLong_AsLongAndOverflow(object, &overflow);
/external/python/cpython3/Python/
Dbltinmodule.c2361 long i_result = PyLong_AsLongAndOverflow(result, &overflow); in builtin_sum_impl()
2376 long b = PyLong_AsLongAndOverflow(item, &overflow); in builtin_sum_impl()
2424 value = PyLong_AsLongAndOverflow(item, &overflow); in builtin_sum_impl()
Dtraceback.c601 limit = PyLong_AsLongAndOverflow(limitv, &overflow); in PyTraceBack_Print()
/external/python/cpython2/Doc/c-api/
Dlong.rst136 .. c:function:: long PyLong_AsLongAndOverflow(PyObject *pylong, int *overflow)
/external/python/cpython3/PC/
Dpython3.def318 PyLong_AsLongAndOverflow=python37.PyLong_AsLongAndOverflow
/external/tensorflow/tensorflow/compiler/xla/python/
Dnumpy_bridge.cc555 PyLong_AsLongAndOverflow(o, &overflow); in CheckPyIntOrLong()
/external/python/cpython2/Misc/NEWS.d/
D2.7a2.rst347 ``PyLong_AsLongAndOverflow()``.
/external/python/cpython3/Objects/
Dframeobject.c134 l_new_lineno = PyLong_AsLongAndOverflow(p_new_lineno, &overflow); in frame_setlineno()
Dexceptions.c1465 PyLong_AsLongAndOverflow(self->lineno, &overflow)); in SyntaxError_str()
1473 PyLong_AsLongAndOverflow(self->lineno, &overflow)); in SyntaxError_str()
Dbytesobject.c511 ival = PyLong_AsLongAndOverflow(arg, &overflow); in byte_converter()
520 ival = PyLong_AsLongAndOverflow(iobj, &overflow); in byte_converter()
Dlongobject.c403 PyLong_AsLongAndOverflow(PyObject *vv, int *overflow) in PyLong_AsLongAndOverflow() function
485 long result = PyLong_AsLongAndOverflow(obj, &overflow); in PyLong_AsLong()
502 long result = PyLong_AsLongAndOverflow(obj, &overflow); in _PyLong_AsInt()
/external/python/cpython3/Doc/c-api/
Dlong.rst143 .. c:function:: long PyLong_AsLongAndOverflow(PyObject *obj, int *overflow)
/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()
/external/python/cpython3/Doc/data/
Drefcounts.dat1119 PyLong_AsLongAndOverflow:long:::
1120 PyLong_AsLongAndOverflow:PyObject*:obj:0:
1121 PyLong_AsLongAndOverflow:int*:overflow::
/external/python/cpython3/Modules/_sqlite/
Dconnection.c1371 longval = PyLong_AsLongAndOverflow(retval, &result); in pysqlite_collation_callback()

12