Home
last modified time | relevance | path

Searched refs:dynamic_attr (Results 1 – 9 of 9) sorted by relevance

/external/python/pybind11/include/pybind11/
Dattr.h55 struct dynamic_attr { }; struct
223 : multiple_inheritance(false), dynamic_attr(false), buffer_protocol(false),
266 bool dynamic_attr : 1;
301 dynamic_attr = true;
462 struct process_attribute<dynamic_attr> : process_attribute_default<dynamic_attr> {
463 static void init(const dynamic_attr &, type_record *r) { r->dynamic_attr = true; }
/external/tensorflow/tensorflow/python/util/
Dstat_summarizer_wrapper.cc29 py::dynamic_attr()); in PYBIND11_MODULE()
/external/python/pybind11/tests/
Dtest_call_policies.cpp71 py::class_<ParentGC, Parent>(m, "ParentGC", py::dynamic_attr()) in TEST_SUBMODULE()
Dtest_pickling.cpp94 … py::class_<PickleableWithDict> pyPickleableWithDict(m, "PickleableWithDict", py::dynamic_attr()); in TEST_SUBMODULE()
Dtest_multiple_inheritance.cpp199 py::class_<WithDict>(m, "WithDict", py::dynamic_attr()).def(py::init<>()); in TEST_SUBMODULE()
Dtest_methods_and_attributes.cpp301 py::class_<DynamicClass>(m, "DynamicClass", py::dynamic_attr()) in TEST_SUBMODULE()
/external/python/pybind11/include/pybind11/detail/
Dclass.h681 if (rec.dynamic_attr) in make_new_python_type()
690 assert(rec.dynamic_attr ? PyType_HasFeature(type, Py_TPFLAGS_HAVE_GC) in make_new_python_type()
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py1089 for dynamic_attr in self._dynamic_attrs:
1090 del state_dict[dynamic_attr]
/external/python/pybind11/docs/
Dclasses.rst202 To enable dynamic attributes for C++ classes, the :class:`py::dynamic_attr` tag
207 py::class_<Pet>(m, "Pet", py::dynamic_attr())