Home
last modified time | relevance | path

Searched refs:tp_descr_get (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Doc/includes/
Dtypestruct.h62 descrgetfunc tp_descr_get; member
/external/python/cpython3/Doc/includes/
Dtypestruct.h60 descrgetfunc tp_descr_get; member
/external/python/cpython3/Objects/
Dtypeslots.inc55 offsetof(PyHeapTypeObject, ht_type.tp_descr_get),
Dtypeobject.c872 else if (Py_TYPE(result)->tp_descr_get) { in type_get_doc()
873 result = Py_TYPE(result)->tp_descr_get(result, NULL, in type_get_doc()
1449 if ((f = Py_TYPE(res)->tp_descr_get) == NULL) in _PyObject_LookupSpecial()
1472 descrgetfunc f = Py_TYPE(res)->tp_descr_get; in lookup_maybe_method()
2182 func = Py_TYPE(descr)->tp_descr_get; in subtype_dict()
3338 meta_get = Py_TYPE(meta_attribute)->tp_descr_get; in type_getattro()
3358 descrgetfunc local_get = Py_TYPE(attribute)->tp_descr_get; in type_getattro()
5328 COPYSLOT(tp_descr_get); in inherit_slots()
5331 if (base->tp_descr_get && in inherit_slots()
5332 type->tp_descr_get == base->tp_descr_get && in inherit_slots()
[all …]
Dfuncobject.c743 if (Py_TYPE(cm->cm_callable)->tp_descr_get != NULL) { in cm_descr_get()
744 return Py_TYPE(cm->cm_callable)->tp_descr_get(cm->cm_callable, type, in cm_descr_get()
Dclassobject.c9 #define TP_DESCR_GET(t) ((t)->tp_descr_get)
Dobject.c1111 f = Py_TYPE(descr)->tp_descr_get; in _PyObject_GetMethod()
1199 f = Py_TYPE(descr)->tp_descr_get; in _PyObject_GenericGetAttrWithDict()
/external/python/pybind11/include/pybind11/detail/
Dclass.h48 return PyProperty_Type.tp_descr_get(self, cls, cls); in pybind11_static_get()
81 type->tp_descr_get = pybind11_static_get; in make_static_property_type()
/external/python/cpython2/Objects/
Dtypeobject.c602 else if (Py_TYPE(result)->tp_descr_get) { in type_get_doc()
603 result = Py_TYPE(result)->tp_descr_get(result, NULL, in type_get_doc()
1227 if ((f = Py_TYPE(res)->tp_descr_get) == NULL) in lookup_maybe()
1884 func = descr->ob_type->tp_descr_get; in subtype_dict()
2637 meta_get = Py_TYPE(meta_attribute)->tp_descr_get; in type_getattro()
2658 local_get = Py_TYPE(attribute)->tp_descr_get; in type_getattro()
4093 COPYSLOT(tp_descr_get);
5153 if ((f = Py_TYPE(func)->tp_descr_get) == NULL)
5638 descrgetfunc f = Py_TYPE(attr)->tp_descr_get;
5830 if (tp->tp_descr_get == slot_tp_descr_get)
[all …]
Dobject.c1402 f = descr->ob_type->tp_descr_get; in _PyObject_GenericGetAttrWithDict()
Dclassobject.c17 (PyType_HasFeature(t, Py_TPFLAGS_HAVE_CLASS) ? (t)->tp_descr_get : NULL)
/external/python/cpython3/Include/cpython/
Dobject.h254 descrgetfunc tp_descr_get; member
/external/python/cpython2/Include/
Dobject.h385 descrgetfunc tp_descr_get; member
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst115 …| :c:member:`~PyTypeObject.tp_descr_get` | :c:type:`descrgetfunc` | __get__ …
1119 :c:member:`~PyTypeObject.tp_descr_get` is inherited.
1558 .. c:member:: descrgetfunc PyTypeObject.tp_descr_get
1564 PyObject * tp_descr_get(PyObject *self, PyObject *obj, PyObject *type);
2508 0, /* tp_descr_get */
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst514 …tp_base`, :c:member:`~PyTypeObject.tp_dict`, :c:member:`~PyTypeObject.tp_descr_get`, :c:member:`~P…
854 .. c:member:: descrgetfunc PyTypeObject.tp_descr_get
860 PyObject * tp_descr_get(PyObject *self, PyObject *obj, PyObject *type);
/external/python/cpython3/Python/
Dceval.c5043 func = Py_TYPE(func)->tp_descr_get(func, self, (PyObject*)Py_TYPE(self)); in trace_call_function()
5106 func = Py_TYPE(func)->tp_descr_get(func, self, (PyObject*)Py_TYPE(self)); in do_call_core()
/external/python/cpython3/Modules/
D_testcapimodule.c6177 .tp_descr_get = func_descr_get,
6191 .tp_descr_get = nop_descr_get,