Home
last modified time | relevance | path

Searched refs:PyNumber_Index (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cpython3/Objects/
Drangeobject.c31 step = PyNumber_Index(step); in validate_step()
83 stop = PyNumber_Index(stop); in range_new()
97 start = PyNumber_Index(start); in range_new()
100 stop = PyNumber_Index(stop); in range_new()
605 i = PyNumber_Index(item); in range_subscript()
Dsliceobject.c356 return PyNumber_Index(v); in evaluate_slice_index()
521 length = PyNumber_Index(len); in slice_indices()
Dmemoryobject.c1550 tmp = PyNumber_Index(item); in pylong_as_ld()
1565 tmp = PyNumber_Index(item); in pylong_as_lu()
1580 tmp = PyNumber_Index(item); in pylong_as_lld()
1595 tmp = PyNumber_Index(item); in pylong_as_llu()
1610 tmp = PyNumber_Index(item); in pylong_as_zd()
1625 tmp = PyNumber_Index(item); in pylong_as_zu()
Denumobject.c49 start = PyNumber_Index(start); in enum_new_impl()
Dabstract.c1255 PyNumber_Index(PyObject *item) in PyNumber_Index() function
1301 PyObject *value = PyNumber_Index(item); in PyNumber_AsSsize_t()
1484 PyObject *index = PyNumber_Index(n); in PyNumber_ToBase()
Dweakrefobject.c527 WRAP_UNARY(proxy_index, PyNumber_Index) in WRAP_BINARY()
Dbytesobject.c471 iobj = PyNumber_Index(v); in formatlong()
514 iobj = PyNumber_Index(arg); in byte_converter()
/external/python/cpython2/Objects/
Denumobject.c29 start = PyNumber_Index(start); in enum_new()
Dabstract.c1490 PyNumber_Index(PyObject *item) function
1525 PyObject *value = PyNumber_Index(item);
1819 PyObject *index = PyNumber_Index(n);
Dweakrefobject.c528 WRAP_UNARY(proxy_index, PyNumber_Index) in WRAP_BINARY()
Dbytesobject.c465 iobj = PyNumber_Index(v); in formatlong()
508 iobj = PyNumber_Index(arg); in byte_converter()
/external/python/cpython3/Doc/c-api/
Dnumber.rst251 .. c:function:: PyObject* PyNumber_Index(PyObject *o)
263 :c:func:`PyNumber_Index` first.
/external/python/cpython2/Doc/c-api/
Dnumber.rst285 .. c:function:: PyObject* PyNumber_Index(PyObject *o)
299 :c:func:`PyNumber_Index` first.
/external/python/cpython2/Modules/_io/
D_iomodule.c549 PyObject *value = PyNumber_Index(item); in PyNumber_AsOff_t()
/external/python/cpython3/Modules/_io/
D_iomodule.c505 PyObject *value = PyNumber_Index(item); in PyNumber_AsOff_t()
/external/python/cpython2/Include/
Dabstract.h853 PyAPI_FUNC(PyObject *) PyNumber_Index(PyObject *o);
/external/python/cpython3/Modules/
Dmathmodule.c821 a = PyNumber_Index(a); in math_gcd_impl()
824 b = PyNumber_Index(b); in math_gcd_impl()
D_operator.c681 return PyNumber_Index(a); in _operator_index()
D_struct.c113 v = PyNumber_Index(v); in get_pylong()
/external/python/cpython3/Include/
Dabstract.h719 PyAPI_FUNC(PyObject *) PyNumber_Index(PyObject *o);
/external/python/cpython3/PC/
Dpython3.def402 PyNumber_Index=python37.PyNumber_Index
/external/python/cpython2/Modules/
Doperator.c161 return PyNumber_Index(a); in op_index()
D_struct.c123 w = PyNumber_Index(v); in get_pylong()
/external/python/cpython2/PC/os2emx/
Dpython27.def148 "PyNumber_Index"
/external/python/cpython3/Doc/faq/
Dextending.rst99 as many other useful protocols such as numbers (:c:func:`PyNumber_Index` et

12