Home
last modified time | relevance | path

Searched refs:sq_item (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Objects/
Dtypeslots.inc45 offsetof(PyHeapTypeObject, as_sequence.sq_item),
Dabstract.c160 if (ms && ms->sq_item) { in PyObject_GetItem()
1508 s->ob_type->tp_as_sequence->sq_item != NULL; in PySequence_Check()
1660 if (m && m->sq_item) { in PySequence_GetItem()
1671 return m->sq_item(s, i); in PySequence_GetItem()
Dtypeobject.c5023 COPYSEQ(sq_item); in inherit_slots()
6960 SQSLOT("__getitem__", sq_item, slot_sq_item, wrap_sq_item,
/external/python/cpython2/Python/
Dbltinmodule.c2790 tuple->ob_type->tp_as_sequence->sq_item) { in filtertuple()
2791 item = tuple->ob_type->tp_as_sequence->sq_item(tuple, i); in filtertuple()
2866 item = (*strobj->ob_type->tp_as_sequence->sq_item)(strobj, i); in filterstring()
2995 item = (*strobj->ob_type->tp_as_sequence->sq_item)(strobj, i); in filterunicode()
/external/python/cpython2/Include/
Dabstract.h1175 ( Py_TYPE(o)->tp_as_sequence->sq_item(o, i) )
Dobject.h279 ssizeargfunc sq_item; member
/external/python/cpython2/Objects/
Dabstract.c154 else if (o->ob_type->tp_as_sequence->sq_item) in PyObject_GetItem()
1850 s->ob_type->tp_as_sequence->sq_item != NULL;
1994 if (m && m->sq_item) {
2003 return m->sq_item(s, i);
Dtypeobject.c4009 COPYSEQ(sq_item);
6202 SQSLOT("__getitem__", sq_item, slot_sq_item, wrap_sq_item,
/external/python/cpython3/Include/
Dabstract.h925 ( Py_TYPE(o)->tp_as_sequence->sq_item(o, i) )
Dobject.h291 ssizeargfunc sq_item; member
/external/python/cpython2/Modules/
Dstropmodule.c246 (getitemfunc = seq->ob_type->tp_as_sequence->sq_item) == NULL) in strop_joinfields()
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst1209 handling negative indices via the :c:member:`~PySequenceMethods.sq_item`
1224 .. c:member:: ssizeargfunc PySequenceMethods.sq_item
1234 index which is passed to :attr:`sq_item`. If :attr:`sq_length` is *NULL*,
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1295 .. c:member:: ssizeargfunc PySequenceMethods.sq_item
1303 index which is passed to :attr:`sq_item`. If :attr:`sq_length` is *NULL*,
/external/python/cpython2/Misc/
DHISTORY5809 sq_item without rechecking that o is a sequence and without
/external/python/cpython3/Misc/
DHISTORY23193 sq_item without rechecking that o is a sequence and without