Lines Matching refs:PySliceObject
101 static PySliceObject *slice_cache = NULL;
104 PySliceObject *obj = slice_cache; in PySlice_Fini()
118 PySliceObject *obj; in PySlice_New()
124 obj = PyObject_GC_New(PySliceObject, &PySlice_Type); in PySlice_New()
167 PySliceObject *r = (PySliceObject*)_r; in PySlice_GetIndices()
199 PySliceObject *r = (PySliceObject*)_r; in PySlice_Unpack()
324 slice_dealloc(PySliceObject *r) in slice_dealloc()
337 slice_repr(PySliceObject *r) in slice_repr()
343 {"start", T_OBJECT, offsetof(PySliceObject, start), READONLY},
344 {"stop", T_OBJECT, offsetof(PySliceObject, stop), READONLY},
345 {"step", T_OBJECT, offsetof(PySliceObject, step), READONLY},
371 _PySlice_GetLongIndices(PySliceObject *self, PyObject *length, in _PySlice_GetLongIndices()
514 slice_indices(PySliceObject* self, PyObject* len) in slice_indices()
549 slice_reduce(PySliceObject* self) in slice_reduce()
590 ((PySliceObject *)v)->start, in slice_richcompare()
591 ((PySliceObject *)v)->stop, in slice_richcompare()
592 ((PySliceObject *)v)->step); in slice_richcompare()
598 ((PySliceObject *)w)->start, in slice_richcompare()
599 ((PySliceObject *)w)->stop, in slice_richcompare()
600 ((PySliceObject *)w)->step); in slice_richcompare()
613 slice_traverse(PySliceObject *v, visitproc visit, void *arg) in slice_traverse()
624 sizeof(PySliceObject), /* Basic object size */