Searched refs:default_constructions (Results 1 - 8 of 8) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_modules.py39 assert astats.default_constructions == 0
40 assert bstats.default_constructions == 1
H A Dtest_smart_ptr.py36 assert cstats.default_constructions == 0
57 assert cstats.default_constructions == 0
78 assert cstats.default_constructions == 0
88 assert cstats.default_constructions == 10
98 assert cstats.default_constructions == 30
H A Dpybind11_tests.cpp49 .def_readwrite("default_constructions", &ConstructorStats::default_constructions)
H A Dconstructor_stats.h47 print(cstats.default_constructions)
78 int default_constructions = 0; member in class:ConstructorStats
96 default_constructions++;
190 int cs1_total = cs1.default_constructions + cs1.copy_constructions + cs1.move_constructions + (int) cs1._values.size();
191 int cs2_total = cs2.default_constructions + cs2.copy_constructions + cs2.move_constructions + (int) cs2._values.size();
H A Dtest_methods_and_attributes.py60 assert cstats.default_constructions == 1
498 assert cstats.alive() == 1 and cstats.default_constructions == 1
504 assert cstats.default_constructions == 2
509 assert cstats.default_constructions == 3
H A Dtest_operator_overloading.py56 assert cstats.default_constructions == 0
H A Dtest_sequences_and_iterators.py96 assert cstats.default_constructions == 0
H A Dtest_factory_constructors.py60 assert [i.default_constructions for i in cstats] == [1, 1, 1]

Completed in 12 milliseconds