Home
last modified time | relevance | path

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

/external/python/cpython2/Doc/includes/
Dtypestruct.h26 getattrofunc tp_getattro; member
/external/python/cpython3/Doc/includes/
Dtypestruct.h27 getattrofunc tp_getattro; member
/external/python/cpython3/Objects/
Dobject.c911 if (tp->tp_getattro != NULL) in PyObject_GetAttr()
912 return (*tp->tp_getattro)(v, name); in PyObject_GetAttr()
938 if (tp->tp_getattro == PyObject_GenericGetAttr) { in _PyObject_LookupAttr()
948 if (tp->tp_getattro != NULL) { in _PyObject_LookupAttr()
949 *result = (*tp->tp_getattro)(v, name); in _PyObject_LookupAttr()
1030 if (tp->tp_getattr == NULL && tp->tp_getattro == NULL) in PyObject_SetAttr()
1135 if (Py_TYPE(obj)->tp_getattro != PyObject_GenericGetAttr in _PyObject_GetMethod()
Dtypeslots.inc59 offsetof(PyHeapTypeObject, ht_type.tp_getattro),
Dtypeobject.c2769 if (base->tp_getattr == NULL && base->tp_getattro == NULL) in type_new()
2770 type->tp_getattro = PyObject_GenericGetAttr; in type_new()
5050 if (type->tp_getattr == NULL && type->tp_getattro == NULL) { in inherit_slots()
5052 type->tp_getattro = base->tp_getattro; in inherit_slots()
6440 tp->tp_getattro = slot_tp_getattro; in slot_tp_getattr_hook()
6805 TPSLOT("__getattribute__", tp_getattro, slot_tp_getattr_hook,
6808 TPSLOT("__getattr__", tp_getattro, slot_tp_getattr_hook, NULL, ""),
/external/python/cpython3/Python/
Dcontext.c666 .tp_getattro = PyObject_GenericGetAttr,
1003 .tp_getattro = PyObject_GenericGetAttr,
1137 .tp_getattro = PyObject_GenericGetAttr,
1193 .tp_getattro = PyObject_GenericGetAttr,
Dhamt.c2621 .tp_getattro = PyObject_GenericGetAttr, \
2919 .tp_getattro = PyObject_GenericGetAttr,
2939 .tp_getattro = PyObject_GenericGetAttr,
2952 .tp_getattro = PyObject_GenericGetAttr,
2965 .tp_getattro = PyObject_GenericGetAttr,
/external/python/cpython3/Modules/
D_asynciomodule.c1638 .tp_getattro = PyObject_GenericGetAttr,
1756 .tp_getattro = PyObject_GenericGetAttr,
1830 .tp_getattro = PyObject_GenericGetAttr,
3163 .tp_getattro = PyObject_GenericGetAttr,
/external/python/cpython2/Objects/
Dobject.c1200 if (tp->tp_getattro != NULL) in PyObject_GetAttr()
1201 return (*tp->tp_getattro)(v, name); in PyObject_GetAttr()
1262 if (tp->tp_getattr == NULL && tp->tp_getattro == NULL) in PyObject_SetAttr()
Dtypeobject.c2492 if (base->tp_getattr == NULL && base->tp_getattro == NULL) in type_new()
2493 type->tp_getattro = PyObject_GenericGetAttr; in type_new()
4043 if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
4045 type->tp_getattro = base->tp_getattro;
5679 tp->tp_getattro = slot_tp_getattro;
6054 TPSLOT("__getattribute__", tp_getattro, slot_tp_getattr_hook,
6056 TPSLOT("__getattr__", tp_getattro, slot_tp_getattr_hook, NULL, ""),
/external/python/cpython3/Doc/extending/
Dnewtypes.rst203 getattrofunc tp_getattro; /* PyObject * version */
236 should leave the :c:member:`~PyTypeObject.tp_getattro` and :c:member:`~PyTypeObject.tp_setattro` fi…
313 \member{tp_getattro} and \member{tp_setattro} handlers. The
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst201 that acts the same as the :c:member:`~PyTypeObject.tp_getattro` function, but taking a C string
206 … This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_getattro`: a subtype
207 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
208 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
343 .. c:member:: getattrofunc PyTypeObject.tp_getattro
352 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
353 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
Dobject.rst70 object's ``tp_getattro`` slot. It looks for a descriptor in the dictionary
/external/python/cpython2/Include/
Dobject.h349 getattrofunc tp_getattro; member
/external/python/cpython3/Include/
Dobject.h372 getattrofunc tp_getattro; member
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst232 that acts the same as the :c:member:`~PyTypeObject.tp_getattro` function, but taking a C string
237 … This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_getattro`: a subtype
238 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
239 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
380 .. c:member:: getattrofunc PyTypeObject.tp_getattro
389 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
390 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
Dstructures.rst366 can be useful in the implementation of a :c:member:`~PyTypeObject.tp_getattro` or
Dobject.rst48 object's ``tp_getattro`` slot. It looks for a descriptor in the dictionary
/external/python/cpython2/Doc/extending/
Dnewtypes.rst98 0, /* tp_getattro */
1163 should leave the :c:member:`~PyTypeObject.tp_getattro` and :c:member:`~PyTypeObject.tp_setattro` fi…
1248 \member{tp_getattro} and \member{tp_setattro} handlers. The
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2653 return CMessage_Type.tp_base->tp_getattro( in CheckAndGetInteger()