Lines Matching refs:PySliceObject
63 PySliceObject *obj = PyObject_GC_New(PySliceObject, &PySlice_Type); in PySlice_New()
103 PySlice_GetIndices(PySliceObject *r, Py_ssize_t length, in PySlice_GetIndices()
134 PySlice_GetIndicesEx(PySliceObject *r, Py_ssize_t length, in PySlice_GetIndicesEx()
221 slice_dealloc(PySliceObject *r) in slice_dealloc()
231 slice_repr(PySliceObject *r) in slice_repr()
248 {"start", T_OBJECT, offsetof(PySliceObject, start), READONLY},
249 {"stop", T_OBJECT, offsetof(PySliceObject, stop), READONLY},
250 {"step", T_OBJECT, offsetof(PySliceObject, step), READONLY},
255 slice_indices(PySliceObject* self, PyObject* len) in slice_indices()
282 slice_reduce(PySliceObject* self) in slice_reduce()
298 slice_compare(PySliceObject *v, PySliceObject *w) in slice_compare()
319 slice_hash(PySliceObject *v) in slice_hash()
326 slice_traverse(PySliceObject *v, visitproc visit, void *arg) in slice_traverse()
337 sizeof(PySliceObject), /* Basic object size */