Home
last modified time | relevance | path

Searched refs:tp_getattr (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Doc/includes/
Dtypestruct.h10 getattrfunc tp_getattr; member
/external/python/cpython3/Doc/includes/
Dtypestruct.h10 getattrfunc tp_getattr; member
/external/python/cpython3/Objects/
Dobject.c812 if (Py_TYPE(v)->tp_getattr != NULL) in PyObject_GetAttrString()
813 return (*Py_TYPE(v)->tp_getattr)(v, (char*)name); in PyObject_GetAttrString()
913 if (tp->tp_getattr != NULL) { in PyObject_GetAttr()
917 return (*tp->tp_getattr)(v, (char *)name_str); in PyObject_GetAttr()
951 else if (tp->tp_getattr != NULL) { in _PyObject_LookupAttr()
957 *result = (*tp->tp_getattr)(v, (char *)name_str); in _PyObject_LookupAttr()
1030 if (tp->tp_getattr == NULL && tp->tp_getattro == NULL) in PyObject_SetAttr()
Dtypeslots.inc58 offsetof(PyHeapTypeObject, ht_type.tp_getattr),
Dtypeobject.c2769 if (base->tp_getattr == NULL && base->tp_getattro == NULL) in type_new()
5050 if (type->tp_getattr == NULL && type->tp_getattro == NULL) { in inherit_slots()
5051 type->tp_getattr = base->tp_getattr; in inherit_slots()
6792 TPSLOT("__getattribute__", tp_getattr, NULL, NULL, ""),
6793 TPSLOT("__getattr__", tp_getattr, NULL, NULL, ""),
/external/python/cpython2/Objects/
Dobject.c1138 if (Py_TYPE(v)->tp_getattr != NULL) in PyObject_GetAttrString()
1139 return (*Py_TYPE(v)->tp_getattr)(v, (char*)name); in PyObject_GetAttrString()
1202 if (tp->tp_getattr != NULL) in PyObject_GetAttr()
1203 return (*tp->tp_getattr)(v, PyString_AS_STRING(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()
4043 if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
4044 type->tp_getattr = base->tp_getattr;
6040 TPSLOT("__getattribute__", tp_getattr, NULL, NULL, ""),
6041 TPSLOT("__getattr__", tp_getattr, NULL, NULL, ""),
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst196 .. c:member:: getattrfunc PyTypeObject.tp_getattr
204 PyObject * tp_getattr(PyObject *o, char *attr_name);
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…
351 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_getattr`: a subtype
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…
/external/python/cpython2/Include/
Dobject.h333 getattrfunc tp_getattr; member
/external/python/cpython3/Include/
Dobject.h355 getattrfunc tp_getattr; member
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst227 .. c:member:: getattrfunc PyTypeObject.tp_getattr
235 PyObject * tp_getattr(PyObject *o, char *attr_name);
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…
388 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_getattr`: a subtype
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.rst367 :c:member:`~PyTypeObject.tp_getattr` handler that does not use the
/external/python/cpython3/Doc/extending/
Dnewtypes.rst200 getattrfunc tp_getattr; /* char * version */
331 The :c:member:`~PyTypeObject.tp_getattr` handler is called when the object requires an attribute
/external/python/cpython2/Doc/extending/
Dnewtypes.rst88 0, /* tp_getattr */
1125 getattrfunc tp_getattr; /* char * version */
1268 The :c:member:`~PyTypeObject.tp_getattr` handler is called when the object requires an attribute