Home
last modified time | relevance | path

Searched refs:PySlice_AdjustIndices (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Include/
Dsliceobject.h53 ((*(slicelen) = PySlice_AdjustIndices((length), (start), (stop), *(step))), \
57 PyAPI_FUNC(Py_ssize_t) PySlice_AdjustIndices(Py_ssize_t length,
/external/python/cpython3/Doc/c-api/
Dslice.rst59 :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices` where ::
70 slicelength = PySlice_AdjustIndices(length, &start, &stop, step);
80 :c:func:`!PySlice_Unpack` and :c:func:`!PySlice_AdjustIndices`.
102 .. c:function:: Py_ssize_t PySlice_AdjustIndices(Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *…
/external/python/cpython3/Objects/
Dsliceobject.c242 PySlice_AdjustIndices(Py_ssize_t length, in PySlice_AdjustIndices() function
292 *slicelength = PySlice_AdjustIndices(length, start, stop, *step); in PySlice_GetIndicesEx()
Dtupleobject.c786 slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start, in tuplesubscript()
Dbytearrayobject.c415 slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript()
646 slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()
Dlistobject.c2820 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_subscript()
2870 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_ass_subscript()
Dbytesobject.c1605 slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start, in bytes_subscript()
Dmemoryobject.c2373 slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step); in init_slice()
Dunicodeobject.c14333 slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self), in unicode_subscript()
/external/python/cpython3/Modules/
Dmmapmodule.c888 slicelen = PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_subscript()
997 slicelen = PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_ass_subscript()
Darraymodule.c2320 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in array_subscr()
2392 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in array_ass_subscr()
D_testbuffer.c1719 slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step); in init_slice()
1939 s[3] = PySlice_AdjustIndices(len, &s[0], &s[1], s[2]); in slice_indices()
D_elementtree.c1750 slicelen = PySlice_AdjustIndices(self->extra->length, &start, &stop, in element_subscr()
1807 slicelen = PySlice_AdjustIndices(self->extra->length, &start, &stop, in element_ass_subscr()
/external/python/cpython3/PC/
Dpython3.def536 PySlice_AdjustIndices=python39.PySlice_AdjustIndices
/external/python/cpython3/Doc/data/
Drefcounts.dat2067 PySlice_AdjustIndices:Py_ssize_t:::
2068 PySlice_AdjustIndices:Py_ssize_t:length::
2069 PySlice_AdjustIndices:Py_ssize_t*:start::
2070 PySlice_AdjustIndices:Py_ssize_t*:stop::
2071 PySlice_AdjustIndices:Py_ssize_t*:step::
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c4623 slicelen = PySlice_AdjustIndices(self->b_length, &start, &stop, step); in Array_subscript()
4764 slicelen = PySlice_AdjustIndices(self->b_length, &start, &stop, step); in Array_ass_subscript()
/external/python/cpython2/Objects/
Dbytesobject.c1691 slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start, in bytes_subscript()
/external/python/cpython3/Doc/whatsnew/
D3.7.rst1690 Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`.
2457 :c:func:`PySlice_AdjustIndices`.
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a1.rst6338 PySlice_Unpack() and PySlice_AdjustIndices().