/external/libcxx/test/std/utilities/variant/variant.hash/ |
D | hash.pass.cpp | 54 using V = std::variant<std::monostate, int, long, const char *>; in test_hash_variant() 96 using H = std::hash<std::monostate>; in test_hash_monostate() 98 std::monostate m1{}; in test_hash_monostate() 99 const std::monostate m2{}; in test_hash_monostate() 109 test_hash_enabled_for_type<std::monostate>(); in test_hash_monostate() 115 using V = std::variant<std::monostate, std::monostate>; in test_hash_variant_duplicate_elements()
|
/external/llvm-project/libcxx/test/std/utilities/variant/variant.hash/ |
D | hash.pass.cpp | 53 using V = std::variant<std::monostate, int, long, const char *>; in test_hash_variant() 95 using H = std::hash<std::monostate>; in test_hash_monostate() 97 std::monostate m1{}; in test_hash_monostate() 98 const std::monostate m2{}; in test_hash_monostate() 108 test_hash_enabled_for_type<std::monostate>(); in test_hash_monostate() 114 using V = std::variant<std::monostate, std::monostate>; in test_hash_variant_duplicate_elements()
|
/external/abseil-cpp/absl/types/ |
D | variant.h | 58 using std::monostate; 444 struct monostate {}; 448 constexpr bool operator<(monostate, monostate) noexcept { return false; } 449 constexpr bool operator>(monostate, monostate) noexcept { return false; } 450 constexpr bool operator<=(monostate, monostate) noexcept { return true; } 451 constexpr bool operator>=(monostate, monostate) noexcept { return true; } 452 constexpr bool operator==(monostate, monostate) noexcept { return true; } 453 constexpr bool operator!=(monostate, monostate) noexcept { return false; } 808 struct hash<absl::monostate> { 809 std::size_t operator()(absl::monostate) const { return 0; }
|
D | variant_test.cc | 1968 absl::monostate mono; in TEST() 1972 EXPECT_TRUE(absl::is_trivially_default_constructible<absl::monostate>::value); in TEST() 1973 EXPECT_TRUE(is_trivially_move_constructible<absl::monostate>::value); in TEST() 1974 EXPECT_TRUE(absl::is_trivially_copy_constructible<absl::monostate>::value); in TEST() 1975 EXPECT_TRUE(is_trivially_move_assignable<absl::monostate>::value); in TEST() 1976 EXPECT_TRUE(absl::is_trivially_copy_assignable<absl::monostate>::value); in TEST() 1977 EXPECT_TRUE(absl::is_trivially_destructible<absl::monostate>::value); in TEST() 1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST() 1990 absl::monostate lhs, rhs; in TEST() 2007 EXPECT_TRUE(noexcept(std::declval<absl::monostate>() == in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/types/ |
D | variant.h | 58 using std::monostate; 444 struct monostate {}; 448 constexpr bool operator<(monostate, monostate) noexcept { return false; } 449 constexpr bool operator>(monostate, monostate) noexcept { return false; } 450 constexpr bool operator<=(monostate, monostate) noexcept { return true; } 451 constexpr bool operator>=(monostate, monostate) noexcept { return true; } 452 constexpr bool operator==(monostate, monostate) noexcept { return true; } 453 constexpr bool operator!=(monostate, monostate) noexcept { return false; } 813 struct hash<absl::monostate> { 814 std::size_t operator()(absl::monostate) const { return 0; }
|
D | variant_test.cc | 1968 absl::monostate mono; in TEST() 1972 EXPECT_TRUE(absl::is_trivially_default_constructible<absl::monostate>::value); in TEST() 1973 EXPECT_TRUE(is_trivially_move_constructible<absl::monostate>::value); in TEST() 1974 EXPECT_TRUE(absl::is_trivially_copy_constructible<absl::monostate>::value); in TEST() 1975 EXPECT_TRUE(is_trivially_move_assignable<absl::monostate>::value); in TEST() 1976 EXPECT_TRUE(absl::is_trivially_copy_assignable<absl::monostate>::value); in TEST() 1977 EXPECT_TRUE(absl::is_trivially_destructible<absl::monostate>::value); in TEST() 1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST() 1990 absl::monostate lhs, rhs; in TEST() 2007 EXPECT_TRUE(noexcept(std::declval<absl::monostate>() == in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/types/ |
D | variant.h | 58 using std::monostate; 444 struct monostate {}; 448 constexpr bool operator<(monostate, monostate) noexcept { return false; } 449 constexpr bool operator>(monostate, monostate) noexcept { return false; } 450 constexpr bool operator<=(monostate, monostate) noexcept { return true; } 451 constexpr bool operator>=(monostate, monostate) noexcept { return true; } 452 constexpr bool operator==(monostate, monostate) noexcept { return true; } 453 constexpr bool operator!=(monostate, monostate) noexcept { return false; } 808 struct hash<absl::monostate> { 809 std::size_t operator()(absl::monostate) const { return 0; }
|
D | variant_test.cc | 1968 absl::monostate mono; in TEST() 1972 EXPECT_TRUE(absl::is_trivially_default_constructible<absl::monostate>::value); in TEST() 1973 EXPECT_TRUE(is_trivially_move_constructible<absl::monostate>::value); in TEST() 1974 EXPECT_TRUE(absl::is_trivially_copy_constructible<absl::monostate>::value); in TEST() 1975 EXPECT_TRUE(is_trivially_move_assignable<absl::monostate>::value); in TEST() 1976 EXPECT_TRUE(absl::is_trivially_copy_assignable<absl::monostate>::value); in TEST() 1977 EXPECT_TRUE(absl::is_trivially_destructible<absl::monostate>::value); in TEST() 1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST() 1990 absl::monostate lhs, rhs; in TEST() 2007 EXPECT_TRUE(noexcept(std::declval<absl::monostate>() == in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/ |
D | variant.h | 58 using std::monostate; 444 struct monostate {}; 448 constexpr bool operator<(monostate, monostate) noexcept { return false; } 449 constexpr bool operator>(monostate, monostate) noexcept { return false; } 450 constexpr bool operator<=(monostate, monostate) noexcept { return true; } 451 constexpr bool operator>=(monostate, monostate) noexcept { return true; } 452 constexpr bool operator==(monostate, monostate) noexcept { return true; } 453 constexpr bool operator!=(monostate, monostate) noexcept { return false; } 808 struct hash<absl::monostate> { 809 std::size_t operator()(absl::monostate) const { return 0; }
|
D | variant_test.cc | 1968 absl::monostate mono; in TEST() 1972 EXPECT_TRUE(absl::is_trivially_default_constructible<absl::monostate>::value); in TEST() 1973 EXPECT_TRUE(is_trivially_move_constructible<absl::monostate>::value); in TEST() 1974 EXPECT_TRUE(absl::is_trivially_copy_constructible<absl::monostate>::value); in TEST() 1975 EXPECT_TRUE(is_trivially_move_assignable<absl::monostate>::value); in TEST() 1976 EXPECT_TRUE(absl::is_trivially_copy_assignable<absl::monostate>::value); in TEST() 1977 EXPECT_TRUE(absl::is_trivially_destructible<absl::monostate>::value); in TEST() 1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST() 1990 absl::monostate lhs, rhs; in TEST() 2007 EXPECT_TRUE(noexcept(std::declval<absl::monostate>() == in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/types/ |
D | variant.h | 58 using std::monostate; 444 struct monostate {}; 448 constexpr bool operator<(monostate, monostate) noexcept { return false; } 449 constexpr bool operator>(monostate, monostate) noexcept { return false; } 450 constexpr bool operator<=(monostate, monostate) noexcept { return true; } 451 constexpr bool operator>=(monostate, monostate) noexcept { return true; } 452 constexpr bool operator==(monostate, monostate) noexcept { return true; } 453 constexpr bool operator!=(monostate, monostate) noexcept { return false; } 813 struct hash<absl::monostate> { 814 std::size_t operator()(absl::monostate) const { return 0; }
|
D | variant_test.cc | 1968 absl::monostate mono; in TEST() 1972 EXPECT_TRUE(absl::is_trivially_default_constructible<absl::monostate>::value); in TEST() 1973 EXPECT_TRUE(is_trivially_move_constructible<absl::monostate>::value); in TEST() 1974 EXPECT_TRUE(absl::is_trivially_copy_constructible<absl::monostate>::value); in TEST() 1975 EXPECT_TRUE(is_trivially_move_assignable<absl::monostate>::value); in TEST() 1976 EXPECT_TRUE(absl::is_trivially_copy_assignable<absl::monostate>::value); in TEST() 1977 EXPECT_TRUE(absl::is_trivially_destructible<absl::monostate>::value); in TEST() 1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST() 1990 absl::monostate lhs, rhs; in TEST() 2007 EXPECT_TRUE(noexcept(std::declval<absl::monostate>() == in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/types/ |
D | variant.h | 58 using std::monostate; 444 struct monostate {}; 448 constexpr bool operator<(monostate, monostate) noexcept { return false; } 449 constexpr bool operator>(monostate, monostate) noexcept { return false; } 450 constexpr bool operator<=(monostate, monostate) noexcept { return true; } 451 constexpr bool operator>=(monostate, monostate) noexcept { return true; } 452 constexpr bool operator==(monostate, monostate) noexcept { return true; } 453 constexpr bool operator!=(monostate, monostate) noexcept { return false; } 808 struct hash<absl::monostate> { 809 std::size_t operator()(absl::monostate) const { return 0; }
|
D | variant_test.cc | 1968 absl::monostate mono; in TEST() 1972 EXPECT_TRUE(absl::is_trivially_default_constructible<absl::monostate>::value); in TEST() 1973 EXPECT_TRUE(is_trivially_move_constructible<absl::monostate>::value); in TEST() 1974 EXPECT_TRUE(absl::is_trivially_copy_constructible<absl::monostate>::value); in TEST() 1975 EXPECT_TRUE(is_trivially_move_assignable<absl::monostate>::value); in TEST() 1976 EXPECT_TRUE(absl::is_trivially_copy_assignable<absl::monostate>::value); in TEST() 1977 EXPECT_TRUE(absl::is_trivially_destructible<absl::monostate>::value); in TEST() 1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST() 1990 absl::monostate lhs, rhs; in TEST() 2007 EXPECT_TRUE(noexcept(std::declval<absl::monostate>() == in TEST() [all …]
|
/external/libcxx/include/ |
D | variant | 173 // 20.7.7, class monostate 174 struct monostate; 176 // 20.7.8, monostate relational operators 177 constexpr bool operator<(monostate, monostate) noexcept; 178 constexpr bool operator>(monostate, monostate) noexcept; 179 constexpr bool operator<=(monostate, monostate) noexcept; 180 constexpr bool operator>=(monostate, monostate) noexcept; 181 constexpr bool operator==(monostate, monostate) noexcept; 182 constexpr bool operator!=(monostate, monostate) noexcept; 194 template <> struct hash<monostate>; [all …]
|
/external/llvm-project/libcxx/include/ |
D | variant | 172 // 20.7.7, class monostate 173 struct monostate; 175 // 20.7.8, monostate relational operators 176 constexpr bool operator<(monostate, monostate) noexcept; 177 constexpr bool operator>(monostate, monostate) noexcept; 178 constexpr bool operator<=(monostate, monostate) noexcept; 179 constexpr bool operator>=(monostate, monostate) noexcept; 180 constexpr bool operator==(monostate, monostate) noexcept; 181 constexpr bool operator!=(monostate, monostate) noexcept; 193 template <> struct hash<monostate>; [all …]
|
/external/llvm-project/libcxx/test/std/utilities/variant/variant.monostate/ |
D | monostate.pass.cpp | 22 using M = std::monostate; in main()
|
/external/libcxx/test/std/utilities/variant/variant.monostate/ |
D | monostate.pass.cpp | 21 using M = std::monostate; in main()
|
/external/openscreen/cast/streaming/ |
D | sender_message.h | 47 absl::variant<absl::monostate, Offer, std::string> body;
|
D | receiver_message.h | 85 absl::variant<absl::monostate,
|
/external/libcxx/test/std/utilities/variant/variant.monostate.relops/ |
D | relops.pass.cpp | 28 using M = std::monostate; in main()
|
/external/llvm-project/libcxx/test/std/utilities/variant/variant.monostate.relops/ |
D | relops.pass.cpp | 27 using M = std::monostate; in main()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/ |
D | api.cc | 23 ObjectType operator()(absl::monostate) const { return ObjectType::UNKNOWN; } in operator ()() 44 bool operator()(absl::monostate) const { return false; } in operator ()()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_video_header.h | 39 using RTPVideoTypeHeader = absl::variant<absl::monostate,
|
/external/rust/cxx/book/src/binding/ |
D | cxxstring.md | 105 std::variant<std::monostate, number, string, array, object> value; 121 bool json::isNull() const { return std::holds_alternative<std::monostate>(value); }
|