Home
last modified time | relevance | path

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

/third_party/python/Doc/c-api/
Dslice.rst60 :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices` where ::
71 slicelength = PySlice_AdjustIndices(length, &start, &stop, step);
81 :c:func:`!PySlice_Unpack` and :c:func:`!PySlice_AdjustIndices`.
103 .. c:function:: Py_ssize_t PySlice_AdjustIndices(Py_ssize_t length, Py_ssize_t *start, Py_ssize_t *…
/third_party/python/Include/
Dsliceobject.h53 ((*(slicelen) = PySlice_AdjustIndices((length), (start), (stop), *(step))), \
57 PyAPI_FUNC(Py_ssize_t) PySlice_AdjustIndices(Py_ssize_t length,
/third_party/python/Objects/
Dsliceobject.c248 PySlice_AdjustIndices(Py_ssize_t length, in PySlice_AdjustIndices() function
298 *slicelength = PySlice_AdjustIndices(length, start, stop, *step); in PySlice_GetIndicesEx()
Dbytearrayobject.c409 slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript()
640 slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()
Dtupleobject.c835 slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start, in tuplesubscript()
Dlistobject.c2839 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_subscript()
2889 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_ass_subscript()
Dmemoryobject.c2398 slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step); in init_slice()
Dbytesobject.c1620 slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start, in bytes_subscript()
Dunicodeobject.c14593 slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self), in unicode_subscript()
/third_party/python/Doc/data/
Drefcounts.dat2047 PySlice_AdjustIndices:Py_ssize_t:::
2048 PySlice_AdjustIndices:Py_ssize_t:length::
2049 PySlice_AdjustIndices:Py_ssize_t*:start::
2050 PySlice_AdjustIndices:Py_ssize_t*:stop::
2051 PySlice_AdjustIndices:Py_ssize_t*:step::
Dstable_abi.dat557 function,PySlice_AdjustIndices,3.7,
/third_party/python/Modules/
Dmmapmodule.c917 slicelen = PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_subscript()
1026 slicelen = PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_ass_subscript()
Darraymodule.c2365 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in array_subscr()
2438 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.c1747 slicelen = PySlice_AdjustIndices(self->extra->length, &start, &stop, in element_subscr()
1804 slicelen = PySlice_AdjustIndices(self->extra->length, &start, &stop, in element_ass_subscr()
/third_party/python/PC/
Dpython3dll.c518 EXPORT_FUNC(PySlice_AdjustIndices)
/third_party/python/Misc/
Dstable_abi.txt1981 function PySlice_AdjustIndices
/third_party/python/Modules/_ctypes/
D_ctypes.c4621 slicelen = PySlice_AdjustIndices(self->b_length, &start, &stop, step); in Array_subscript()
4760 slicelen = PySlice_AdjustIndices(self->b_length, &start, &stop, step); in Array_ass_subscript()
/third_party/python/Doc/whatsnew/
D3.7.rst1691 Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`.
2458 :c:func:`PySlice_AdjustIndices`.
/third_party/python/Misc/NEWS.d/
D3.7.0a1.rst6338 PySlice_Unpack() and PySlice_AdjustIndices().