• Home
  • Raw
  • Download

Lines Matching refs:rangeobject

22 } rangeobject;  typedef
49 static rangeobject *
53 rangeobject *obj = NULL; in make_range_object()
59 obj = PyObject_New(rangeobject, type); in make_range_object()
79 rangeobject *obj; in range_from_array()
168 range_dealloc(rangeobject *r) in range_dealloc()
251 range_length(rangeobject *r) in range_length()
257 compute_item(rangeobject *r, PyObject *i) in compute_item()
278 compute_range_item(rangeobject *r, PyObject *arg) in compute_range_item()
331 range_item(rangeobject *r, Py_ssize_t i) in range_item()
343 compute_slice(rangeobject *r, PyObject *_slice) in compute_slice()
346 rangeobject *result; in compute_slice()
383 range_contains_long(rangeobject *r, PyObject *ob) in range_contains_long()
428 range_contains(rangeobject *r, PyObject *ob) in range_contains()
453 range_equals(rangeobject *r0, rangeobject *r1) in range_equals()
488 result = range_equals((rangeobject*)self, (rangeobject*)other); in range_richcompare()
517 range_hash(rangeobject *r) in range_hash()
559 range_count(rangeobject *r, PyObject *ob) in range_count()
576 range_index(rangeobject *r, PyObject *ob) in range_index()
625 range_repr(rangeobject *r) in range_repr()
646 range_reduce(rangeobject *r, PyObject *args) in range_reduce()
653 range_subscript(rangeobject* self, PyObject* item) in range_subscript()
681 range_bool(rangeobject* self) in range_bool()
712 {"start", T_OBJECT_EX, offsetof(rangeobject, start), READONLY},
713 {"stop", T_OBJECT_EX, offsetof(rangeobject, stop), READONLY},
714 {"step", T_OBJECT_EX, offsetof(rangeobject, step), READONLY},
721 sizeof(rangeobject), /* Basic object size */
1084 rangeobject *r = (rangeobject *)seq; in range_iter()
1144 rangeobject *range = (rangeobject*) seq; in range_reverse()