Home
last modified time | relevance | path

Searched refs:PyNumber_Index (Results 1 – 25 of 34) 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()
104 start = PyNumber_Index(start); in range_new()
107 stop = PyNumber_Index(stop); in range_new()
648 i = PyNumber_Index(item); in range_subscript()
Dsliceobject.c352 return PyNumber_Index(v); in evaluate_slice_index()
520 length = PyNumber_Index(len); in slice_indices()
Dmemoryobject.c1548 tmp = PyNumber_Index(item); in pylong_as_ld()
1563 tmp = PyNumber_Index(item); in pylong_as_lu()
1578 tmp = PyNumber_Index(item); in pylong_as_lld()
1593 tmp = PyNumber_Index(item); in pylong_as_llu()
1608 tmp = PyNumber_Index(item); in pylong_as_zd()
1623 tmp = PyNumber_Index(item); in pylong_as_zu()
Denumobject.c29 start = PyNumber_Index(start); in enum_new()
Dweakrefobject.c527 WRAP_UNARY(proxy_index, PyNumber_Index) in WRAP_BINARY()
Dabstract.c1213 PyNumber_Index(PyObject *item) in PyNumber_Index() function
1259 PyObject *value = PyNumber_Index(item); in PyNumber_AsSsize_t()
1442 PyObject *index = PyNumber_Index(n); in PyNumber_ToBase()
Dbytesobject.c463 iobj = PyNumber_Index(v); in formatlong()
506 iobj = PyNumber_Index(arg); in byte_converter()
Dbytearrayobject.c40 PyObject *index = PyNumber_Index(arg); in _getbytevalue()
/external/python/cpython2/Objects/
Denumobject.c29 start = PyNumber_Index(start); in enum_new()
Dabstract.c1490 PyNumber_Index(PyObject *item) function
1526 PyObject *value = PyNumber_Index(item);
1822 PyObject *index = PyNumber_Index(n);
Dweakrefobject.c526 WRAP_UNARY(proxy_index, PyNumber_Index) in WRAP_BINARY()
/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.c695 a = PyNumber_Index(a); in math_gcd()
698 b = PyNumber_Index(b); in math_gcd()
D_operator.c135 return PyNumber_Index(a); in op_index()
/external/python/cpython3/Include/
Dabstract.h876 PyAPI_FUNC(PyObject *) PyNumber_Index(PyObject *o);
/external/python/cpython3/PC/
Dpython3.def402 PyNumber_Index=python36.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
/external/python/cpython3/Python/
Dgetargs.c750 iobj = PyNumber_Index(arg); in convertsimple()

12