Home
last modified time | relevance | path

Searched refs:mp_subscript (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Objects/
Dtypeslots.inc6 offsetof(PyHeapTypeObject, as_mapping.mp_subscript),
Dabstract.c147 if (m && m->mp_subscript) { in PyObject_GetItem()
148 PyObject *item = m->mp_subscript(o, key); in PyObject_GetItem()
1642 if (mp && mp->mp_subscript) { in PySequence_GetSlice()
1647 res = mp->mp_subscript(s, slice); in PySequence_GetSlice()
2021 o->ob_type->tp_as_mapping->mp_subscript; in PyMapping_Check()
Dbytesobject.c611 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in _PyBytes_FormatEx()
Dtypeobject.c4809 COPYMAP(mp_subscript); in inherit_slots()
6696 MPSLOT("__getitem__", mp_subscript, slot_mp_subscript,
/external/python/cpython2/Objects/
Dabstract.c143 if (m && m->mp_subscript) in PyObject_GetItem()
144 return m->mp_subscript(o, key); in PyObject_GetItem()
2034 } else if ((mp = s->ob_type->tp_as_mapping) && mp->mp_subscript) {
2039 res = mp->mp_subscript(s, slice);
2434 o->ob_type->tp_as_mapping->mp_subscript &&
Dtypeobject.c3960 COPYMAP(mp_subscript);
6117 MPSLOT("__getitem__", mp_subscript, slot_mp_subscript,
Dstringobject.c4277 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in PyString_Format()
Dunicodeobject.c8391 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in PyUnicode_Format()
/external/python/cpython2/Include/
Dobject.h291 binaryfunc mp_subscript; member
/external/python/cpython3/Include/
Dobject.h303 binaryfunc mp_subscript; member
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst1173 .. c:member:: binaryfunc PyMappingMethods.mp_subscript
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1264 .. c:member:: binaryfunc PyMappingMethods.mp_subscript