Home
last modified time | relevance | path

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

/external/libtextclassifier/abseil-cpp/absl/status/
Dstatusor_test.cc634 struct ExplicitConstructibleFromA { struct
637 explicit ExplicitConstructibleFromA(const A& a) : x(a.x), moved(false) {} in ExplicitConstructibleFromA() argument
638 explicit ExplicitConstructibleFromA(A&& a) : x(a.x), moved(true) {} in ExplicitConstructibleFromA() argument
644 absl::StatusOr<ExplicitConstructibleFromA>>::value)); in TEST()
647 absl::StatusOr<ExplicitConstructibleFromA>>::value)); in TEST()
649 absl::StatusOr<ExplicitConstructibleFromA>(absl::StatusOr<A>(A{11})), in TEST()
650 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 11), in TEST()
651 Field(&ExplicitConstructibleFromA::moved, true)))); in TEST()
654 absl::StatusOr<ExplicitConstructibleFromA>(a), in TEST()
655 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 12), in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/status/
Dstatusor_test.cc645 struct ExplicitConstructibleFromA { struct
648 explicit ExplicitConstructibleFromA(const A& a) : x(a.x), moved(false) {} in ExplicitConstructibleFromA() argument
649 explicit ExplicitConstructibleFromA(A&& a) : x(a.x), moved(true) {} in ExplicitConstructibleFromA() argument
655 absl::StatusOr<ExplicitConstructibleFromA>>::value)); in TEST()
658 absl::StatusOr<ExplicitConstructibleFromA>>::value)); in TEST()
660 absl::StatusOr<ExplicitConstructibleFromA>(absl::StatusOr<A>(A{11})), in TEST()
661 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 11), in TEST()
662 Field(&ExplicitConstructibleFromA::moved, true)))); in TEST()
665 absl::StatusOr<ExplicitConstructibleFromA>(a), in TEST()
666 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 12), in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc634 struct ExplicitConstructibleFromA { struct
637 explicit ExplicitConstructibleFromA(const A& a) : x(a.x), moved(false) {} in ExplicitConstructibleFromA() function
638 explicit ExplicitConstructibleFromA(A&& a) : x(a.x), moved(true) {} in ExplicitConstructibleFromA() argument
644 absl::StatusOr<ExplicitConstructibleFromA>>::value)); in TEST()
647 absl::StatusOr<ExplicitConstructibleFromA>>::value)); in TEST()
649 absl::StatusOr<ExplicitConstructibleFromA>(absl::StatusOr<A>(A{11})), in TEST()
650 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 11), in TEST()
651 Field(&ExplicitConstructibleFromA::moved, true)))); in TEST()
654 absl::StatusOr<ExplicitConstructibleFromA>(a), in TEST()
655 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 12), in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc645 struct ExplicitConstructibleFromA { struct
648 explicit ExplicitConstructibleFromA(const A& a) : x(a.x), moved(false) {} in ExplicitConstructibleFromA() argument
649 explicit ExplicitConstructibleFromA(A&& a) : x(a.x), moved(true) {} in ExplicitConstructibleFromA() function
655 absl::StatusOr<ExplicitConstructibleFromA>>::value)); in TEST()
658 absl::StatusOr<ExplicitConstructibleFromA>>::value)); in TEST()
660 absl::StatusOr<ExplicitConstructibleFromA>(absl::StatusOr<A>(A{11})), in TEST()
661 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 11), in TEST()
662 Field(&ExplicitConstructibleFromA::moved, true)))); in TEST()
665 absl::StatusOr<ExplicitConstructibleFromA>(a), in TEST()
666 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 12), in TEST()
[all …]