Searched refs:as_mapping (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Objects/ |
D | typeslots.inc | 4 offsetof(PyHeapTypeObject, as_mapping.mp_ass_subscript), 5 offsetof(PyHeapTypeObject, as_mapping.mp_length), 6 offsetof(PyHeapTypeObject, as_mapping.mp_subscript),
|
D | typeobject.c | 2617 type->tp_as_mapping = &et->as_mapping; in type_new() 2995 type->tp_as_mapping = &res->as_mapping; in PyType_FromModuleAndSpec() 7101 ETSLOT(NAME, as_mapping.SLOT, FUNCTION, WRAPPER, DOC) 7328 else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) { in slotptr() 7330 offset -= offsetof(PyHeapTypeObject, as_mapping); in slotptr()
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 283 PyMappingMethods as_mapping; member
|
/external/python/cpython2/Include/ |
D | object.h | 420 PyMappingMethods as_mapping; member
|
/external/python/pybind11/include/pybind11/detail/ |
D | class.h | 668 type->tp_as_mapping = &heap_type->as_mapping; in make_new_python_type()
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 2370 type->tp_as_mapping = &et->as_mapping; in type_new() 6015 ETSLOT(NAME, as_mapping.SLOT, FUNCTION, WRAPPER, DOC) 6248 else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) { 6250 offset -= offsetof(PyHeapTypeObject, as_mapping);
|