Home
last modified time | relevance | path

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

/third_party/python/Doc/includes/
Dtypestruct.h27 getattrofunc tp_getattro; member
/third_party/python/Objects/
Dobject.c921 if (tp->tp_getattro != NULL) { in PyObject_GetAttr()
922 result = (*tp->tp_getattro)(v, name); in PyObject_GetAttr()
956 if (tp->tp_getattro == PyObject_GenericGetAttr) { in _PyObject_LookupAttr()
966 if (tp->tp_getattro != NULL) { in _PyObject_LookupAttr()
967 *result = (*tp->tp_getattro)(v, name); in _PyObject_LookupAttr()
1050 if (tp->tp_getattr == NULL && tp->tp_getattro == NULL) in PyObject_SetAttr()
1136 if (Py_TYPE(obj)->tp_getattro != PyObject_GenericGetAttr in _PyObject_GetMethod()
Dtypeslots.inc59 {-1, offsetof(PyTypeObject, tp_getattro)},
Dunionobject.c460 .tp_getattro = union_getattro,
Dgenericaliasobject.c646 .tp_getattro = ga_getattro,
Dtypeobject.c3018 if (base->tp_getattr == NULL && base->tp_getattro == NULL) { in type_new_set_slots()
3019 type->tp_getattro = PyObject_GenericGetAttr; in type_new_set_slots()
5865 if (type->tp_getattr == NULL && type->tp_getattro == NULL) { in inherit_slots()
5867 type->tp_getattro = base->tp_getattro; in inherit_slots()
7547 tp->tp_getattro = slot_tp_getattro; in slot_tp_getattr_hook()
7920 TPSLOT("__getattribute__", tp_getattro, slot_tp_getattr_hook,
7923 TPSLOT("__getattr__", tp_getattro, slot_tp_getattr_hook, NULL, ""),
Dmemoryobject.c3263 .tp_getattro = PyObject_GenericGetAttr,
/third_party/python/Python/
Dcontext.c713 .tp_getattro = PyObject_GenericGetAttr,
1064 .tp_getattro = PyObject_GenericGetAttr,
1205 .tp_getattro = PyObject_GenericGetAttr,
1261 .tp_getattro = PyObject_GenericGetAttr,
Dhamt.c2603 .tp_getattro = PyObject_GenericGetAttr, \
2901 .tp_getattro = PyObject_GenericGetAttr,
2921 .tp_getattro = PyObject_GenericGetAttr,
2934 .tp_getattro = PyObject_GenericGetAttr,
2947 .tp_getattro = PyObject_GenericGetAttr,
Dceval.c3496 type->tp_getattro == PyObject_GenericGetAttr) in _PyEval_EvalFrameDefault()
3586 } else if (type->tp_getattro != PyObject_GenericGetAttr) { in _PyEval_EvalFrameDefault()
/third_party/python/Include/cpython/
Dobject.h217 getattrofunc tp_getattro; member
/third_party/python/Doc/c-api/
Dtypeobj.rst76 …| :c:member:`~PyTypeObject.tp_getattro` | :c:type:`getattrofunc` | __getattrib…
758 that acts the same as the :c:member:`~PyTypeObject.tp_getattro` function, but taking a C string
763 Group: :attr:`tp_getattr`, :attr:`tp_getattro`
765 … This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_getattro`: a subtype
766 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
767 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
942 .. c:member:: getattrofunc PyTypeObject.tp_getattro
948 PyObject *tp_getattro(PyObject *self, PyObject *attr);
955 Group: :attr:`tp_getattr`, :attr:`tp_getattro`
958 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
[all …]
Dobject.rst70 object's ``tp_getattro`` slot. It looks for a descriptor in the dictionary
/third_party/python/Doc/extending/
Dnewtypes.rst217 getattrofunc tp_getattro; /* PyObject * version */
250 should leave the :c:member:`~PyTypeObject.tp_getattro` and :c:member:`~PyTypeObject.tp_setattro` fi…
332 \member{tp_getattro} and \member{tp_setattro} handlers. The
/third_party/python/Modules/
D_asynciomodule.c1766 .tp_getattro = PyObject_GenericGetAttr,
1884 .tp_getattro = PyObject_GenericGetAttr,
3254 .tp_getattro = PyObject_GenericGetAttr,
D_zoneinfo.c2598 .tp_getattro = PyObject_GenericGetAttr,
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc483 PyObject* result = CMessageClass_Type->tp_base->tp_getattro( in GetAttr()