Lines Matching refs:tp_as_sequence
55 m = o->ob_type->tp_as_sequence; in PyObject_Size()
75 return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) || in _PyObject_HasLen()
159 ms = o->ob_type->tp_as_sequence; in PyObject_GetItem()
203 if (o->ob_type->tp_as_sequence) { in PyObject_SetItem()
211 else if (o->ob_type->tp_as_sequence->sq_ass_item) { in PyObject_SetItem()
235 if (o->ob_type->tp_as_sequence) { in PyObject_DelItem()
243 else if (o->ob_type->tp_as_sequence->sq_ass_item) { in PyObject_DelItem()
959 PySequenceMethods *m = v->ob_type->tp_as_sequence; in PyNumber_Add()
990 PySequenceMethods *mv = v->ob_type->tp_as_sequence; in PyNumber_Multiply()
991 PySequenceMethods *mw = w->ob_type->tp_as_sequence; in PyNumber_Multiply()
1113 PySequenceMethods *m = v->ob_type->tp_as_sequence; in PyNumber_InPlaceAdd()
1135 PySequenceMethods *mv = v->ob_type->tp_as_sequence; in PyNumber_InPlaceMultiply()
1136 PySequenceMethods *mw = w->ob_type->tp_as_sequence; in PyNumber_InPlaceMultiply()
1507 return s->ob_type->tp_as_sequence && in PySequence_Check()
1508 s->ob_type->tp_as_sequence->sq_item != NULL; in PySequence_Check()
1521 m = s->ob_type->tp_as_sequence; in PySequence_Size()
1549 m = s->ob_type->tp_as_sequence; in PySequence_Concat()
1574 m = o->ob_type->tp_as_sequence; in PySequence_Repeat()
1604 m = s->ob_type->tp_as_sequence; in PySequence_InPlaceConcat()
1629 m = o->ob_type->tp_as_sequence; in PySequence_InPlaceRepeat()
1659 m = s->ob_type->tp_as_sequence; in PySequence_GetItem()
1710 m = s->ob_type->tp_as_sequence; in PySequence_SetItem()
1739 m = s->ob_type->tp_as_sequence; in PySequence_DelItem()
2043 PySequenceMethods *sqm = seq->ob_type->tp_as_sequence; in PySequence_Contains()