Searched refs:PySlice_AdjustIndices (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython3/Include/ |
D | sliceobject.h | 53 ((*(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/ |
D | slice.rst | 59 :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/ |
D | sliceobject.c | 242 PySlice_AdjustIndices(Py_ssize_t length, in PySlice_AdjustIndices() function 292 *slicelength = PySlice_AdjustIndices(length, start, stop, *step); in PySlice_GetIndicesEx()
|
D | tupleobject.c | 786 slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start, in tuplesubscript()
|
D | bytearrayobject.c | 415 slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript() 646 slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()
|
D | listobject.c | 2820 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_subscript() 2870 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_ass_subscript()
|
D | bytesobject.c | 1605 slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start, in bytes_subscript()
|
D | memoryobject.c | 2373 slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step); in init_slice()
|
D | unicodeobject.c | 14333 slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self), in unicode_subscript()
|
/external/python/cpython3/Modules/ |
D | mmapmodule.c | 888 slicelen = PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_subscript() 997 slicelen = PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_ass_subscript()
|
D | arraymodule.c | 2320 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.c | 1719 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.c | 1750 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/ |
D | python3.def | 536 PySlice_AdjustIndices=python39.PySlice_AdjustIndices
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2067 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.c | 4623 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/ |
D | bytesobject.c | 1691 slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start, in bytes_subscript()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.7.rst | 1690 Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`. 2457 :c:func:`PySlice_AdjustIndices`.
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a1.rst | 6338 PySlice_Unpack() and PySlice_AdjustIndices().
|