Home
last modified time | relevance | path

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

/external/python/cpython3/Include/
Dsliceobject.h49 PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
53 PyAPI_FUNC(int) PySlice_Unpack(PyObject *slice,
/external/python/cpython3/Doc/c-api/
Dslice.rst59 :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices` where ::
67 if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {
80 :c:func:`!PySlice_Unpack` and :c:func:`!PySlice_AdjustIndices`.
89 .. c:function:: int PySlice_Unpack(PyObject *slice, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t…
/external/python/cpython3/Objects/
Dsliceobject.c196 PySlice_Unpack(PyObject *_r, in PySlice_Unpack() function
289 if (PySlice_Unpack(_r, start, stop, step) < 0) in PySlice_GetIndicesEx()
Dbytearrayobject.c424 if (PySlice_Unpack(index, &start, &stop, &step) < 0) { in bytearray_subscript()
655 if (PySlice_Unpack(index, &start, &stop, &step) < 0) { in bytearray_ass_subscript()
Dtupleobject.c738 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in tuplesubscript()
Dlistobject.c2730 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in list_subscript()
2780 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in list_ass_subscript()
Dmemoryobject.c2290 if (PySlice_Unpack(key, &start, &stop, &step) < 0) { in init_slice()
Dbytesobject.c1681 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in bytes_subscript()
Dunicodeobject.c13984 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in unicode_subscript()
/external/python/cpython3/Modules/
Dmmapmodule.c781 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in mmap_subscript()
889 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in mmap_ass_subscript()
Darraymodule.c2351 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in array_subscr()
2423 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in array_ass_subscr()
D_testbuffer.c1716 if (PySlice_Unpack(key, &start, &stop, &step) < 0) { in init_slice()
1936 if (PySlice_Unpack(key, &s[0], &s[1], &s[2]) < 0) { in slice_indices()
D_elementtree.c1780 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in element_subscr()
1836 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in element_ass_subscr()
/external/python/cpython3/Doc/data/
Drefcounts.dat2067 PySlice_Unpack:int:::
2068 PySlice_Unpack:PyObject*:slice:0:
2069 PySlice_Unpack:Py_ssize_t*:start::
2070 PySlice_Unpack:Py_ssize_t*:stop::
2071 PySlice_Unpack:Py_ssize_t*:step::
/external/python/cpython3/PC/
Dpython3.def539 PySlice_Unpack=python37.PySlice_Unpack
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c4375 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in Array_subscript()
4515 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in Array_ass_subscript()
/external/python/cpython2/Objects/
Dbytesobject.c1688 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in bytes_subscript()
/external/python/cpython3/Doc/whatsnew/
D3.7.rst1683 Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`.
2445 avoiding possible problems use new functions :c:func:`PySlice_Unpack` and
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a1.rst6362 PySlice_Unpack() and PySlice_AdjustIndices().