Home
last modified time | relevance | path

Searched refs:mp_length (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Objects/
Dtypeslots.inc5 {offsetof(PyMappingMethods, mp_length), offsetof(PyTypeObject, tp_as_mapping)},
Dabstract.c81 (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()
Dobject.c1448 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()
Dtypeobject.c5849 COPYMAP(mp_length); in inherit_slots()
8050 MPSLOT("__len__", mp_length, slot_mp_length, wrap_lenfunc,
/third_party/python/Include/cpython/
Dobject.h166 lenfunc mp_length; member
/third_party/python/Modules/
D_testcapimodule.c1121 lenfunc mp_length = PyType_GetSlot(&PyLong_Type, Py_mp_length); in test_get_statictype_slots() local
1122 if (mp_length != NULL) { in test_get_statictype_slots()
/third_party/python/Doc/c-api/
Dtypeobj.rst292 …| :c:member:`~PyMappingMethods.mp_length` | :c:type:`lenfunc` | __…
2203 .. c:member:: lenfunc PyMappingMethods.mp_length