Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/abseil-cpp/absl/status/
Dstatusor_test.cc167 struct CopyDetector { struct
168 CopyDetector() = default;
169 explicit CopyDetector(int xx) : x(xx) {} in CopyDetector() argument
170 CopyDetector(CopyDetector&& d) noexcept in CopyDetector() argument
172 CopyDetector(const CopyDetector& d) : x(d.x), copied(true), moved(false) {} in CopyDetector() argument
173 CopyDetector& operator=(const CopyDetector& c) { in operator =() argument
179 CopyDetector& operator=(CopyDetector&& c) noexcept { in operator =() argument
190 testing::Matcher<const CopyDetector&> CopyDetectorHas(int a, bool b, bool c) { in CopyDetectorHas()
191 return AllOf(Field(&CopyDetector::x, a), Field(&CopyDetector::moved, b), in CopyDetectorHas()
192 Field(&CopyDetector::copied, c)); in CopyDetectorHas()
[all …]