Searched refs:static_value (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_multiple_inheritance.cpp35 static int static_value; member in struct:VanillaStaticMix1
39 static int static_value; member in struct:VanillaStaticMix2
43 int VanillaStaticMix1::static_value = 12; member in class:VanillaStaticMix1
44 int VanillaStaticMix2::static_value = 12; member in class:VanillaStaticMix2
187 .def_readwrite_static("static_value", &VanillaStaticMix1::static_value);
193 .def_readwrite_static("static_value", &VanillaStaticMix2::static_value);
H A Dtest_methods_and_attributes.cpp77 static int static_value; member in struct:TestProperties
82 static int static_get() { return static_value; }
83 static void static_set(int v) { static_value = v; }
85 int TestProperties::static_value = 1; member in class:TestProperties
89 static int static_value; member in struct:TestPropertiesOverride
91 int TestPropertiesOverride::static_value = 99; member in class:TestPropertiesOverride
294 .def_readonly_static("def_readonly_static", &TestProperties::static_value)
295 .def_readwrite_static("def_readwrite_static", &TestProperties::static_value)
297 [](py::object, int v) { TestProperties::static_value = v; })
312 .def_readonly_static("def_readonly_static", &TestPropertiesOverride::static_value);
[all...]
H A Dtest_multiple_inheritance.py246 assert d.static_value == 12
252 d.static_value = 0
253 assert d.static_value == 0

Completed in 15 milliseconds