Searched refs:tp_getattro (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Doc/includes/ |
D | typestruct.h | 27 getattrofunc tp_getattro; member
|
/third_party/python/Objects/ |
D | object.c | 921 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()
|
D | typeslots.inc | 59 {-1, offsetof(PyTypeObject, tp_getattro)},
|
D | unionobject.c | 460 .tp_getattro = union_getattro,
|
D | genericaliasobject.c | 646 .tp_getattro = ga_getattro,
|
D | typeobject.c | 3018 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, ""),
|
D | memoryobject.c | 3263 .tp_getattro = PyObject_GenericGetAttr,
|
/third_party/python/Python/ |
D | context.c | 713 .tp_getattro = PyObject_GenericGetAttr, 1064 .tp_getattro = PyObject_GenericGetAttr, 1205 .tp_getattro = PyObject_GenericGetAttr, 1261 .tp_getattro = PyObject_GenericGetAttr,
|
D | hamt.c | 2603 .tp_getattro = PyObject_GenericGetAttr, \ 2901 .tp_getattro = PyObject_GenericGetAttr, 2921 .tp_getattro = PyObject_GenericGetAttr, 2934 .tp_getattro = PyObject_GenericGetAttr, 2947 .tp_getattro = PyObject_GenericGetAttr,
|
D | ceval.c | 3496 type->tp_getattro == PyObject_GenericGetAttr) in _PyEval_EvalFrameDefault() 3586 } else if (type->tp_getattro != PyObject_GenericGetAttr) { in _PyEval_EvalFrameDefault()
|
/third_party/python/Include/cpython/ |
D | object.h | 217 getattrofunc tp_getattro; member
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 76 …| :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 …]
|
D | object.rst | 70 object's ``tp_getattro`` slot. It looks for a descriptor in the dictionary
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 217 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.c | 1766 .tp_getattro = PyObject_GenericGetAttr, 1884 .tp_getattro = PyObject_GenericGetAttr, 3254 .tp_getattro = PyObject_GenericGetAttr,
|
D | _zoneinfo.c | 2598 .tp_getattro = PyObject_GenericGetAttr,
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 483 PyObject* result = CMessageClass_Type->tp_base->tp_getattro( in GetAttr()
|