Home
last modified time | relevance | path

Searched refs:tp_setattro (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Doc/includes/
Dtypestruct.h27 setattrofunc tp_setattro; member
/external/python/cpython3/Doc/includes/
Dtypestruct.h28 setattrofunc tp_setattro; member
/external/python/cpython3/Objects/
Dtypeslots.inc70 offsetof(PyHeapTypeObject, ht_type.tp_setattro),
Dtypeobject.c2806 if (base->tp_setattr == NULL && base->tp_setattro == NULL) in type_new()
2807 type->tp_setattro = PyObject_GenericSetAttr; in type_new()
5289 if (type->tp_setattr == NULL && type->tp_setattro == NULL) { in inherit_slots()
5291 type->tp_setattro = base->tp_setattro; in inherit_slots()
5967 if (base->tp_setattro == slot_tp_setattro) { in hackcheck()
5971 else if (base->tp_setattro == type->tp_setattro) { in hackcheck()
5979 if (base->tp_setattro == func) { in hackcheck()
5983 else if (base->tp_setattro != slot_tp_setattro) { in hackcheck()
7141 TPSLOT("__setattr__", tp_setattro, slot_tp_setattro, wrap_setattr,
7143 TPSLOT("__delattr__", tp_setattro, slot_tp_setattro, wrap_delattr,
Dobject.c993 if (tp->tp_setattro != NULL) { in PyObject_SetAttr()
994 err = (*tp->tp_setattro)(v, name, value); in PyObject_SetAttr()
/external/tensorflow/tensorflow/python/util/
Dfast_module_type.cc264 FastModuleType.tp_setattro = [](PyObject *module, PyObject *name, in PYBIND11_MODULE()
/external/python/pybind11/include/pybind11/detail/
Dclass.h148 return PyType_Type.tp_setattro(obj, name, value); in pybind11_meta_setattro()
261 type->tp_setattro = pybind11_meta_setattro; in make_default_metaclass()
/external/python/cpython3/Include/cpython/
Dobject.h220 setattrofunc tp_setattro; member
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst79 …| :c:member:`~PyTypeObject.tp_setattro` | :c:type:`setattrofunc` | __setattr__…
752 that acts the same as the :c:member:`~PyTypeObject.tp_setattro` function, but taking a C string
757 Group: :attr:`tp_setattr`, :attr:`tp_setattro`
759 … This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_setattro`: a subtype
760 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from …
761 …the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are b…
943 .. c:member:: setattrofunc PyTypeObject.tp_setattro
949 int tp_setattro(PyObject *self, PyObject *attr, PyObject *value);
958 Group: :attr:`tp_setattr`, :attr:`tp_setattro`
961 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from …
[all …]
Dobject.rst102 to be put into a type object's :c:member:`~PyTypeObject.tp_setattro`
/external/python/cpython3/Doc/extending/
Dnewtypes.rst206 setattrofunc tp_setattro;
238 should leave the :c:member:`~PyTypeObject.tp_getattro` and :c:member:`~PyTypeObject.tp_setattro` fi…
315 \member{tp_getattro} and \member{tp_setattro} handlers. The
/external/python/cpython2/Include/
Dobject.h350 setattrofunc tp_setattro; member
/external/python/cpython2/Objects/
Dtypeobject.c2494 if (base->tp_setattr == NULL && base->tp_setattro == NULL) in type_new()
2495 type->tp_setattro = PyObject_GenericSetAttr; in type_new()
4047 if (type->tp_setattr == NULL && type->tp_setattro == NULL) {
4049 type->tp_setattro = base->tp_setattro;
4756 if (type && type->tp_setattro != func) {
6057 TPSLOT("__setattr__", tp_setattro, slot_tp_setattro, wrap_setattr,
6059 TPSLOT("__delattr__", tp_setattro, slot_tp_setattro, wrap_delattr,
Dobject.c1251 if (tp->tp_setattro != NULL) { in PyObject_SetAttr()
1252 err = (*tp->tp_setattro)(v, name, value); in PyObject_SetAttr()
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst247 that acts the same as the :c:member:`~PyTypeObject.tp_setattro` function, but taking a C string
253 … This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_setattro`: a subtype
254 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from …
255 …the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are b…
393 .. c:member:: setattrofunc PyTypeObject.tp_setattro
403 …inherits both :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` from …
404 …the subtype's :c:member:`~PyTypeObject.tp_setattr` and :c:member:`~PyTypeObject.tp_setattro` are b…
Dobject.rst80 to be put into a type object's :c:member:`~PyTypeObject.tp_setattro`
/external/python/cpython2/Doc/extending/
Dnewtypes.rst99 0, /* tp_setattro */
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/python/cpython3/Modules/_ctypes/
D_ctypes.c887 if (-1 == PyType_Type.tp_setattro(self, key, value)) in PyCStructType_setattro()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c844 if (-1 == PyType_Type.tp_setattro(self, key, value)) in PyCStructType_setattro()