Home
last modified time | relevance | path

Searched refs:copy_assignments (Results 1 – 10 of 10) sorted by relevance

/external/python/pybind11/tests/
Dtest_copy_move.py32 assert c_m.copy_assignments + c_m.copy_constructions == 0
36 assert c_mc.copy_assignments + c_mc.copy_constructions == 0
40 assert c_c.copy_assignments == 2
66 assert c_m.copy_assignments + c_m.copy_constructions == 0
69 assert c_mc.copy_assignments + c_mc.copy_constructions == 0
72 assert c_c.copy_assignments == 4
98 assert c_m.copy_assignments + c_m.copy_constructions == 0
101 assert c_mc.copy_assignments + c_mc.copy_constructions == 0
104 assert c_c.copy_assignments == 2
Dtest_smart_ptr.py48 assert cstats.copy_assignments == 0
71 assert cstats.copy_assignments == 0
94 assert cstats.copy_assignments == 0
104 assert cstats.copy_assignments == 0
114 assert cstats.copy_assignments == 30
Dtest_modules.py50 assert astats.copy_assignments == 2
51 assert bstats.copy_assignments == 0
Dtest_copy_move.cpp148 … mc.move_assignments = mc.move_constructions = mc.copy_assignments = mc.copy_constructions = 0; in PYBIND11_NAMESPACE_END()
150 … mo.move_assignments = mo.move_constructions = mo.copy_assignments = mo.copy_constructions = 0; in PYBIND11_NAMESPACE_END()
152 … co.move_assignments = co.move_constructions = co.copy_assignments = co.copy_constructions = 0; in PYBIND11_NAMESPACE_END()
Dtest_buffers.py35 assert cstats.copy_assignments == 0
70 assert cstats.copy_assignments == 0
Dpybind11_tests.cpp50 .def_readwrite("copy_assignments", &ConstructorStats::copy_assignments) in bind_ConstructorStats()
Dconstructor_stats.h81 int copy_assignments = 0; variable
205 cst.copy_assignments++; in track_copy_assigned()
Dtest_operator_overloading.py80 assert cstats.copy_assignments == 0
Dtest_sequences_and_iterators.py102 assert cstats.copy_assignments == 0
Dtest_methods_and_attributes.py67 assert cstats.copy_assignments == 0