Lines Matching refs:tp_as_sequence
58 m = Py_TYPE(o)->tp_as_sequence; in PyObject_Size()
78 return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) || in _PyObject_HasLen()
162 ms = Py_TYPE(o)->tp_as_sequence; in PyObject_GetItem()
212 if (Py_TYPE(o)->tp_as_sequence) { in PyObject_SetItem()
220 else if (Py_TYPE(o)->tp_as_sequence->sq_ass_item) { in PyObject_SetItem()
244 if (Py_TYPE(o)->tp_as_sequence) { in PyObject_DelItem()
252 else if (Py_TYPE(o)->tp_as_sequence->sq_ass_item) { in PyObject_DelItem()
1020 PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence; in PyNumber_Add()
1051 PySequenceMethods *mv = Py_TYPE(v)->tp_as_sequence; in PyNumber_Multiply()
1052 PySequenceMethods *mw = Py_TYPE(w)->tp_as_sequence; in PyNumber_Multiply()
1174 PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence; in PyNumber_InPlaceAdd()
1196 PySequenceMethods *mv = Py_TYPE(v)->tp_as_sequence; in PyNumber_InPlaceMultiply()
1197 PySequenceMethods *mw = Py_TYPE(w)->tp_as_sequence; in PyNumber_InPlaceMultiply()
1592 return Py_TYPE(s)->tp_as_sequence && in PySequence_Check()
1593 Py_TYPE(s)->tp_as_sequence->sq_item != NULL; in PySequence_Check()
1606 m = Py_TYPE(s)->tp_as_sequence; in PySequence_Size()
1638 m = Py_TYPE(s)->tp_as_sequence; in PySequence_Concat()
1663 m = Py_TYPE(o)->tp_as_sequence; in PySequence_Repeat()
1693 m = Py_TYPE(s)->tp_as_sequence; in PySequence_InPlaceConcat()
1718 m = Py_TYPE(o)->tp_as_sequence; in PySequence_InPlaceRepeat()
1748 m = Py_TYPE(s)->tp_as_sequence; in PySequence_GetItem()
1802 m = Py_TYPE(s)->tp_as_sequence; in PySequence_SetItem()
1835 m = Py_TYPE(s)->tp_as_sequence; in PySequence_DelItem()
2145 PySequenceMethods *sqm = Py_TYPE(seq)->tp_as_sequence; in PySequence_Contains()
2192 if (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) { in PyMapping_Size()