Searched refs:mp_length (Results 1 – 7 of 7) sorted by relevance
5 {offsetof(PyMappingMethods, mp_length), offsetof(PyTypeObject, tp_as_mapping)},
81 (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length); in _PyObject_HasLen()1744 if (Py_TYPE(s)->tp_as_mapping && Py_TYPE(s)->tp_as_mapping->mp_length) { in PySequence_Size()2325 if (m && m->mp_length) { in PyMapping_Size()2326 Py_ssize_t len = m->mp_length(o); in PyMapping_Size()
1448 Py_TYPE(v)->tp_as_mapping->mp_length != NULL) in PyObject_IsTrue()1449 res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v); in PyObject_IsTrue()
5849 COPYMAP(mp_length); in inherit_slots()8050 MPSLOT("__len__", mp_length, slot_mp_length, wrap_lenfunc,
166 lenfunc mp_length; member
1121 lenfunc mp_length = PyType_GetSlot(&PyLong_Type, Py_mp_length); in test_get_statictype_slots() local1122 if (mp_length != NULL) { in test_get_statictype_slots()
292 …| :c:member:`~PyMappingMethods.mp_length` | :c:type:`lenfunc` | __…2203 .. c:member:: lenfunc PyMappingMethods.mp_length