Home
last modified time | relevance | path

Searched refs:copy_constructions (Results 1 – 12 of 12) 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
41 assert c_c.copy_constructions >= 2
66 assert c_m.copy_assignments + c_m.copy_constructions == 0
69 assert c_mc.copy_assignments + c_mc.copy_constructions == 0
73 assert c_c.copy_constructions == 6
98 assert c_m.copy_assignments + c_m.copy_constructions == 0
101 assert c_mc.copy_assignments + c_mc.copy_constructions == 0
105 assert c_c.copy_constructions == 5
Dtest_smart_ptr.py46 assert cstats.copy_constructions == 0
69 assert cstats.copy_constructions == 0
92 assert cstats.copy_constructions == 0
102 assert cstats.copy_constructions == 0
112 assert cstats.copy_constructions == 12
Dtest_modules.py46 assert astats.copy_constructions == 0
47 assert bstats.copy_constructions == 0
Dconstructor_stats.h79 int copy_constructions = 0; variable
86 copy_constructions++; in copy_created()
190 …int cs1_total = cs1.default_constructions + cs1.copy_constructions + cs1.move_constructions + (int… in get()
191 …int cs2_total = cs2.default_constructions + cs2.copy_constructions + cs2.move_constructions + (int… in get()
Dtest_virtual_functions.py87 assert cstats.copy_constructions == 0
232 assert nc_stats.copy_constructions == 0
233 assert mv_stats.copy_constructions == 1
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.py33 assert cstats.copy_constructions == 0
68 assert cstats.copy_constructions == 0
Dpybind11_tests.cpp52 .def_readwrite("copy_constructions", &ConstructorStats::copy_constructions) in bind_ConstructorStats()
Dtest_callbacks.py81 assert cstats.copy_constructions == 1
Dtest_operator_overloading.py78 assert cstats.copy_constructions == 0
Dtest_sequences_and_iterators.py100 assert cstats.copy_constructions == 0
Dtest_methods_and_attributes.py65 assert cstats.copy_constructions == 2