Home
last modified time | relevance | path

Searched defs:MoveThrows (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/libcxx/test/support/
H A Dvariant_test_helpers.hpp33 struct MoveThrows { struct
35 MoveThrows() { ++alive; } in MoveThrows() function
36 MoveThrows(MoveThrows const&) {++alive;} in MoveThrows() argument
37 MoveThrows(MoveThrows&&) { throw 42; } in MoveThrows() argument
38 MoveThrows& operator=(MoveThrows const&) { return *this; } in operator =() argument
39 MoveThrows& operator=(MoveThrows&&) { throw 42; } in operator =() argument
40 ~MoveThrows() { --alive; } in ~MoveThrows() argument
/aosp_15_r20/external/cronet/third_party/libc++/src/test/support/
H A Dvariant_test_helpers.h31 struct MoveThrows { struct
33 MoveThrows() { ++alive; } in MoveThrows() argument
34 MoveThrows(MoveThrows const&) {++alive;} in MoveThrows() argument
35 MoveThrows(MoveThrows&&) { throw 42; } in MoveThrows() argument
38 ~MoveThrows() { --alive; } in ~MoveThrows() argument
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/variant/variant.variant/variant.assign/
H A Dcopy.pass.cpp157 struct MoveThrows { struct
159 MoveThrows() { ++alive; } in MoveThrows() argument
160 MoveThrows(const MoveThrows &) { ++alive; } in MoveThrows() function
161 MoveThrows(MoveThrows &&) { throw 42; } in MoveThrows() function
162 MoveThrows &operator=(const MoveThrows &) { return *this; } in operator =() argument
163 MoveThrows &operator=(MoveThrows &&) { throw 42; } in operator =() argument
164 ~MoveThrows() { --alive; } in ~MoveThrows() argument
/aosp_15_r20/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A Dcopy.pass.cpp171 struct MoveThrows { struct
173 MoveThrows() { ++alive; } in MoveThrows() function
174 MoveThrows(const MoveThrows &) { ++alive; } in MoveThrows() argument
175 MoveThrows(MoveThrows &&) { throw 42; } in MoveThrows() argument
176 MoveThrows &operator=(const MoveThrows &) { return *this; } in operator =() argument
177 MoveThrows &operator=(MoveThrows &&) { throw 42; } in operator =() argument
178 ~MoveThrows() { --alive; } in ~MoveThrows() argument
/aosp_15_r20/external/webrtc/rtc_base/containers/
H A Dflat_tree_unittest.cc201 struct MoveThrows { in TEST() struct
202 MoveThrows(MoveThrows&&) noexcept(false) {} in TEST() argument
203 MoveThrows& operator=(MoveThrows&&) noexcept(false) { return *this; } in TEST()
/aosp_15_r20/external/cronet/base/containers/
H A Dflat_tree_unittest.cc191 struct MoveThrows { in TEST() struct
192 MoveThrows(MoveThrows&&) noexcept(false) {} in TEST() function
193 MoveThrows& operator=(MoveThrows&&) noexcept(false) { return *this; } in TEST()