Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dtypeslots.inc5 offsetof(PyHeapTypeObject, as_mapping.mp_length),
Dobject.c1239 v->ob_type->tp_as_mapping->mp_length != NULL) in PyObject_IsTrue()
1240 res = (*v->ob_type->tp_as_mapping->mp_length)(v); in PyObject_IsTrue()
Dabstract.c72 (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length); in _PyObject_HasLen()
2035 if (m && m->mp_length) in PyMapping_Size()
2036 return m->mp_length(o); in PyMapping_Size()
Dtypeobject.c4808 COPYMAP(mp_length); in inherit_slots()
6694 MPSLOT("__len__", mp_length, slot_mp_length, wrap_lenfunc,
/external/python/cpython2/Include/
Dobject.h290 lenfunc mp_length; member
/external/python/cpython3/Include/
Dobject.h302 lenfunc mp_length; member
/external/python/cpython2/Objects/
Dobject.c1580 v->ob_type->tp_as_mapping->mp_length != NULL) in PyObject_IsTrue()
1581 res = (*v->ob_type->tp_as_mapping->mp_length)(v); in PyObject_IsTrue()
Dabstract.c2450 if (m && m->mp_length)
2451 return m->mp_length(o);
Dtypeobject.c3959 COPYMAP(mp_length);
6115 MPSLOT("__len__", mp_length, slot_mp_length, wrap_lenfunc,
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst1167 .. c:member:: lenfunc PyMappingMethods.mp_length
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst1258 .. c:member:: lenfunc PyMappingMethods.mp_length