Home
last modified time | relevance | path

Searched refs:_PySlice_AdjustIndices (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Objects/
Dsliceobject.c179 _PySlice_AdjustIndices(Py_ssize_t length, in _PySlice_AdjustIndices() function
229 *slicelength = _PySlice_AdjustIndices(length, start, stop, *step); in PySlice_GetIndicesEx()
309 _PySlice_AdjustIndices(ilen, &start, &stop, step); in slice_indices()
Dbufferobject.c529 slicelength = _PySlice_AdjustIndices(size, &start, &stop, step); in buffer_subscript()
725 slicelength = _PySlice_AdjustIndices(selfsize, &start, &stop, step); in buffer_ass_subscript()
Dmemoryobject.c590 slicelength = _PySlice_AdjustIndices(get_shape0(view), &start, &stop, in memory_subscript()
669 len = _PySlice_AdjustIndices(get_shape0(view), &start, &stop, step); in memory_ass_sub()
Dstructseq.c120 slicelen = _PySlice_AdjustIndices(VISIBLE_SIZE(self), &start, &stop, in structseq_subscript()
Dtupleobject.c718 slicelength = _PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start, in tuplesubscript()
Dbytearrayobject.c461 slicelength = _PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), in bytearray_subscript()
646 slicelen = _PySlice_AdjustIndices(PyByteArray_GET_SIZE(self), &start, in bytearray_ass_subscript()
Dlistobject.c2565 slicelength = _PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_subscript()
2615 slicelength = _PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in list_ass_subscript()
Dstringobject.c1322 slicelength = _PySlice_AdjustIndices(PyString_GET_SIZE(self), &start, in string_subscript()
Dunicodeobject.c8014 slicelength = _PySlice_AdjustIndices(PyUnicode_GET_SIZE(self), &start, in unicode_subscript()
/external/python/cpython2/Include/
Dsliceobject.h43 PyAPI_FUNC(Py_ssize_t) _PySlice_AdjustIndices(Py_ssize_t length,
/external/python/cpython2/Modules/
Dmmapmodule.c790 slicelen = _PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_subscript()
927 slicelen = _PySlice_AdjustIndices(self->size, &start, &stop, step); in mmap_ass_subscript()
Darraymodule.c1707 slicelength = _PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in array_subscr()
1779 slicelength = _PySlice_AdjustIndices(Py_SIZE(self), &start, &stop, in array_ass_subscr()
D_elementtree.c1374 slicelen = _PySlice_AdjustIndices(self->extra->length, &start, &stop,
1433 slicelen = _PySlice_AdjustIndices(self->extra->length, &start, &stop,
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c4545 slicelen = _PySlice_AdjustIndices(self->b_length, &start, &stop, step); in Array_subscript()
4715 slicelen = _PySlice_AdjustIndices(self->b_length, &start, &stop, step); in Array_ass_subscript()