Searched refs:tp_as_mapping (Results 1 - 12 of 12) sorted by relevance
/third_party/python/Objects/ |
H A D | abstract.c | 81 (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length); in _PyObject_HasLen() 155 PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping; in PyObject_GetItem() 210 PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping; in PyObject_SetItem() 244 PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping; in PyObject_DelItem() 1737 if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_length) { in PySequence_Size() 1897 if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_subscript) { in PySequence_GetItem() 1910 PyMappingMethods *mp = Py_TYPE(s)->tp_as_mapping; in PySequence_GetSlice() [all...] |
H A D | unionobject.c | 387 .tp_as_mapping = &union_as_mapping,
|
H A D | object.c | 1509 else if (Py_TYPE(v)->tp_as_mapping != NULL && in PyObject_IsTrue() 1510 Py_TYPE(v)->tp_as_mapping->mp_length != NULL) in PyObject_IsTrue() 1511 res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v); in PyObject_IsTrue() 1699 0, /*tp_as_mapping*/ 1800 0, /*tp_as_mapping*/
|
H A D | typeobject.c | 2769 type->tp_as_mapping = &et->as_mapping; in type_new_alloc() 3516 type->tp_as_mapping = &res->as_mapping; in PyType_FromModuleAndSpec() 4408 0, /* tp_as_mapping */ 5622 0, /* tp_as_mapping */ 5871 #define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT) in inherit_slots() 5941 if (type->tp_as_mapping != NULL && base->tp_as_mapping != NULL) { in inherit_slots() 5943 if (basebase->tp_as_mapping == NULL) in inherit_slots() 6259 if (type->tp_as_mapping == NULL) { in type_ready_inherit_as_structs() 6260 type->tp_as_mapping in type_ready_inherit_as_structs() [all...] |
H A D | genericaliasobject.c | 943 .tp_as_mapping = &ga_as_mapping,
|
H A D | bytesobject.c | 615 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript && in _PyBytes_FormatEx() 2950 &bytes_as_mapping, /* tp_as_mapping */ 3247 0, /* tp_as_mapping */
|
/third_party/python/Doc/includes/ |
H A D | typestruct.h | 20 PyMappingMethods *tp_as_mapping; member
|
/third_party/python/Include/cpython/ |
H A D | object.h | 167 PyMappingMethods *tp_as_mapping; member
|
/third_party/python/Python/ |
H A D | context.c | 717 .tp_as_mapping = &PyContext_as_mapping,
|
H A D | hamt.c | 2610 .tp_as_mapping = &PyHamtIterator_as_mapping, \ 2906 .tp_as_mapping = &PyHamt_as_mapping,
|
H A D | specialize.c | 1296 PyMappingMethods *as_mapping = container_type->tp_as_mapping; in _Py_Specialize_StoreSubscr() 1298 == PyDict_Type.tp_as_mapping->mp_ass_subscript)) { in _Py_Specialize_StoreSubscr()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_containers.cc | 573 &MappingMappingMethods, // tp_as_mapping 630 return Py_TYPE(list.get())->tp_as_mapping->mp_subscript(list.get(), item); in SeqSubscript() 758 &SeqMappingMethods, // tp_as_mapping 901 0, // tp_as_mapping
|
Completed in 32 milliseconds