Searched refs:mp_subscript (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython3/Objects/ |
D | typeslots.inc | 6 offsetof(PyHeapTypeObject, as_mapping.mp_subscript),
|
D | abstract.c | 156 if (m && m->mp_subscript) { in PyObject_GetItem() 157 PyObject *item = m->mp_subscript(o, key); in PyObject_GetItem() 1763 if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_subscript) { in PySequence_GetItem() 1779 if (mp && mp->mp_subscript) { in PySequence_GetSlice() 1784 res = mp->mp_subscript(s, slice); in PySequence_GetSlice() 2172 Py_TYPE(o)->tp_as_mapping->mp_subscript; in PyMapping_Check()
|
D | genericaliasobject.c | 363 .mp_subscript = ga_getitem,
|
D | bytesobject.c | 618 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in _PyBytes_FormatEx()
|
D | typeobject.c | 5270 COPYMAP(mp_subscript); in inherit_slots() 7269 MPSLOT("__getitem__", mp_subscript, slot_mp_subscript,
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 174 binaryfunc mp_subscript; member
|
/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() 2031 } else if ((mp = s->ob_type->tp_as_mapping) && mp->mp_subscript) { 2036 res = mp->mp_subscript(s, slice); 2431 o->ob_type->tp_as_mapping->mp_subscript &&
|
D | bytesobject.c | 626 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in _PyBytes_FormatEx()
|
D | typeobject.c | 4023 COPYMAP(mp_subscript); 6180 MPSLOT("__getitem__", mp_subscript, slot_mp_subscript,
|
D | stringobject.c | 4274 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in PyString_Format()
|
D | unicodeobject.c | 8387 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/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 628 return Py_TYPE(list.get())->tp_as_mapping->mp_subscript(list.get(), item); in SeqSubscript()
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 292 …| :c:member:`~PyMappingMethods.mp_subscript` | :c:type:`binaryfunc` | __… 2093 .. c:member:: binaryfunc PyMappingMethods.mp_subscript 2147 the subscription via the :c:member:`~PyMappingMethods.mp_subscript` slot.
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 1249 .. c:member:: binaryfunc PyMappingMethods.mp_subscript
|