Home
last modified time | relevance | path

Searched refs:slice_indices (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/test/
Dtest_slice.py26 def slice_indices(slice, length): function
148 expected = slice_indices(slice, length)
Dtest_buffer.py559 _, _, _, control = slice_indices(s, listlen)
603 _, _, _, slicelen = slice_indices(s_small, small)
1691 self.assertRaises(TypeError, slice_indices, slice(0,1,2), {})
1692 self.assertRaises(TypeError, slice_indices, "###########", 1)
1693 self.assertRaises(ValueError, slice_indices, slice(0,1,0), 4)
/third_party/python/Objects/
Dsliceobject.c524 slice_indices(PySliceObject* self, PyObject* len) in slice_indices() function
567 {"indices", (PyCFunction)slice_indices,
/third_party/python/Modules/
D_testbuffer.c1922 slice_indices(PyObject *self, PyObject *args) in slice_indices() function
2806 {"slice_indices", slice_indices, METH_VARARGS, NULL},