Searched refs:PySlice_AdjustIndices (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython3/Include/ |
D | sliceobject.h | 51 ((*(slicelen) = PySlice_AdjustIndices((length), (start), (stop), *(step))), \ 55 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 | 241 PySlice_AdjustIndices(Py_ssize_t length, in PySlice_AdjustIndices() function 291 *slicelength = PySlice_AdjustIndices(length, start, stop, *step); in PySlice_GetIndicesEx()
|
D | bytearrayobject.c | 427 slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript() 658 slicelen = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()
|
D | tupleobject.c | 741 slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start, in tuplesubscript()
|
D | listobject.c | 2733 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_subscript() 2783 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_ass_subscript()
|
D | memoryobject.c | 2293 slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step); in init_slice()
|
D | bytesobject.c | 1684 slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start, in bytes_subscript()
|
D | unicodeobject.c | 13987 slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self), in unicode_subscript()
|
/external/python/cpython3/Modules/ |
D | mmapmodule.c | 784 slicelen = PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_subscript() 892 slicelen = PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_ass_subscript()
|
D | arraymodule.c | 2354 slicelength = PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in array_subscr() 2426 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 | 1783 slicelen = PySlice_AdjustIndices(self->extra->length, &start, &stop, in element_subscr() 1839 slicelen = PySlice_AdjustIndices(self->extra->length, &start, &stop, in element_ass_subscr()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2038 PySlice_AdjustIndices:Py_ssize_t::: 2039 PySlice_AdjustIndices:Py_ssize_t:length:: 2040 PySlice_AdjustIndices:Py_ssize_t*:start:: 2041 PySlice_AdjustIndices:Py_ssize_t*:stop:: 2042 PySlice_AdjustIndices:Py_ssize_t*:step::
|
/external/python/cpython3/PC/ |
D | python3.def | 534 PySlice_AdjustIndices=python37.PySlice_AdjustIndices
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 4378 slicelen = PySlice_AdjustIndices(self->b_length, &start, &stop, step); in Array_subscript() 4518 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 | 1683 Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`. 2446 :c:func:`PySlice_AdjustIndices`.
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a1.rst | 6362 PySlice_Unpack() and PySlice_AdjustIndices().
|