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()
137 PySliceObject *r = (PySliceObject *)_r; in _PySlice_Unpack()
223 PySlice_GetIndicesEx(PySliceObject *r, Py_ssize_t length, in PySlice_GetIndicesEx()
262 slice_dealloc(PySliceObject *r) in slice_dealloc()
272 slice_repr(PySliceObject *r) in slice_repr()
289 {"start", T_OBJECT, offsetof(PySliceObject, start), READONLY},
290 {"stop", T_OBJECT, offsetof(PySliceObject, stop), READONLY},
291 {"step", T_OBJECT, offsetof(PySliceObject, step), READONLY},
296 slice_indices(PySliceObject* self, PyObject* len) in slice_indices()
323 slice_reduce(PySliceObject* self) in slice_reduce()
339 slice_compare(PySliceObject *v, PySliceObject *w) in slice_compare()
360 slice_hash(PySliceObject *v) in slice_hash()
367 slice_traverse(PySliceObject *v, visitproc visit, void *arg) in slice_traverse()
378 sizeof(PySliceObject), /* Basic object size */