Home
last modified time | relevance | path

Searched refs:MovableStruct (Results 1 – 6 of 6) sorted by relevance

/ndk/tests/device/test-stlport/unit/
Dmvctor_traits_test.cpp10 size_t MovableStruct::nb_dft_construct_call = 0;
11 size_t MovableStruct::nb_cpy_construct_call = 0;
12 size_t MovableStruct::nb_mv_construct_call = 0;
13 size_t MovableStruct::nb_assignment_call = 0;
14 size_t MovableStruct::nb_destruct_call = 0;
21 struct __move_traits<MovableStruct> {
90 vector<MovableStruct> vect; in move_traits_vec()
91 vect.push_back(MovableStruct()); in move_traits_vec()
92 vect.push_back(MovableStruct()); in move_traits_vec()
93 vect.push_back(MovableStruct()); in move_traits_vec()
[all …]
Dmvctor_test.h62 struct MovableStruct { struct
63 MovableStruct() { ++nb_dft_construct_call; } in MovableStruct() argument
64 MovableStruct(MovableStruct const&) { ++nb_cpy_construct_call; } in MovableStruct() function
67 MovableStruct(std::__move_source<MovableStruct>) in MovableStruct() function
69 MovableStruct(__move_source<MovableStruct>) in MovableStruct()
73 ~MovableStruct() { ++nb_destruct_call; } in ~MovableStruct() argument
75 MovableStruct& operator = (const MovableStruct&) {
Dmvctor_test.cpp796 MovableStruct movableStruct;
802 MovableStruct::reset(); in nb_destructor_calls()
808 MovableStruct movableStruct; in nb_destructor_calls()
812 CPPUNIT_ASSERT( MovableStruct::nb_dft_construct_call == 1 ); in nb_destructor_calls()
813 CPPUNIT_ASSERT( MovableStruct::nb_destruct_call == 1 ); in nb_destructor_calls()
/ndk/tests/device/test-gnustl-full/unit/
Dmvctor_traits_test.cpp10 size_t MovableStruct::nb_dft_construct_call = 0;
11 size_t MovableStruct::nb_cpy_construct_call = 0;
12 size_t MovableStruct::nb_mv_construct_call = 0;
13 size_t MovableStruct::nb_assignment_call = 0;
14 size_t MovableStruct::nb_destruct_call = 0;
21 struct __move_traits<MovableStruct> {
90 vector<MovableStruct> vect; in move_traits_vec()
91 vect.push_back(MovableStruct()); in move_traits_vec()
92 vect.push_back(MovableStruct()); in move_traits_vec()
93 vect.push_back(MovableStruct()); in move_traits_vec()
[all …]
Dmvctor_test.h62 struct MovableStruct { struct
63 MovableStruct() { ++nb_dft_construct_call; } in MovableStruct() argument
64 MovableStruct(MovableStruct const&) { ++nb_cpy_construct_call; } in MovableStruct() argument
67 MovableStruct(std::__move_source<MovableStruct>) in MovableStruct() argument
69 MovableStruct(__move_source<MovableStruct>) in MovableStruct()
73 ~MovableStruct() { ++nb_destruct_call; } in ~MovableStruct() argument
75 MovableStruct& operator = (const MovableStruct&) {
Dmvctor_test.cpp796 MovableStruct movableStruct;
802 MovableStruct::reset(); in nb_destructor_calls()
808 MovableStruct movableStruct; in nb_destructor_calls()
812 CPPUNIT_ASSERT( MovableStruct::nb_dft_construct_call == 1 ); in nb_destructor_calls()
813 CPPUNIT_ASSERT( MovableStruct::nb_destruct_call == 1 ); in nb_destructor_calls()