Searched refs:mp_subscript (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython3/Objects/ |
D | typeslots.inc | 6 offsetof(PyHeapTypeObject, as_mapping.mp_subscript),
|
D | abstract.c | 147 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()
|
D | bytesobject.c | 611 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in _PyBytes_FormatEx()
|
D | typeobject.c | 4809 COPYMAP(mp_subscript); in inherit_slots() 6696 MPSLOT("__getitem__", mp_subscript, slot_mp_subscript,
|
/external/python/cpython2/Objects/ |
D | abstract.c | 143 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 &&
|
D | typeobject.c | 3960 COPYMAP(mp_subscript); 6117 MPSLOT("__getitem__", mp_subscript, slot_mp_subscript,
|
D | stringobject.c | 4277 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in PyString_Format()
|
D | unicodeobject.c | 8391 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in PyUnicode_Format()
|
/external/python/cpython2/Include/ |
D | object.h | 291 binaryfunc mp_subscript; member
|
/external/python/cpython3/Include/ |
D | object.h | 303 binaryfunc mp_subscript; member
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 1173 .. c:member:: binaryfunc PyMappingMethods.mp_subscript
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 1264 .. c:member:: binaryfunc PyMappingMethods.mp_subscript
|