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.c790 if (Py_TYPE(v)->tp_getattr != NULL) in PyObject_GetAttrString()
791 return (*Py_TYPE(v)->tp_getattr)(v, (char*)name); in PyObject_GetAttrString()
891 if (tp->tp_getattr != NULL) { in PyObject_GetAttr()
895 return (*tp->tp_getattr)(v, (char *)name_str); in PyObject_GetAttr()
929 else if (tp->tp_getattr != NULL) { in _PyObject_LookupAttr()
935 *result = (*tp->tp_getattr)(v, (char *)name_str); in _PyObject_LookupAttr()
1010 if (tp->tp_getattr == NULL && tp->tp_getattro == NULL) in PyObject_SetAttr()
Dtypeslots.inc58 offsetof(PyHeapTypeObject, ht_type.tp_getattr),
Dtypeobject.c2804 if (base->tp_getattr == NULL && base->tp_getattro == NULL) in type_new()
5285 if (type->tp_getattr == NULL && type->tp_getattro == NULL) { in inherit_slots()
5286 type->tp_getattr = base->tp_getattr; in inherit_slots()
7124 TPSLOT("__getattribute__", tp_getattr, NULL, NULL, ""),
7125 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/Include/cpython/
Dobject.h202 getattrfunc tp_getattr; member
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst54 …| (:c:member:`~PyTypeObject.tp_getattr`) | :c:type:`getattrfunc` | __getattrib…
730 .. c:member:: getattrfunc PyTypeObject.tp_getattr
740 Group: :attr:`tp_getattr`, :attr:`tp_getattro`
743 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
744 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
932 Group: :attr:`tp_getattr`, :attr:`tp_getattro`
934 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_getattr`: a subtype
935 …inherits both :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` from …
936 …the subtype's :c:member:`~PyTypeObject.tp_getattr` and :c:member:`~PyTypeObject.tp_getattro` are b…
2482 0, /* tp_getattr */
/external/python/cpython2/Include/
Dobject.h333 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.rst202 getattrfunc tp_getattr; /* char * version */
333 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