Home
last modified time | relevance | path

Searched refs:implicit_cast (Results 1 – 25 of 42) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Dcompare_test.cc150 Identity(implicit_cast<weak_equality>(strong_equality::equal) == 0)); in TEST()
152 Identity(implicit_cast<weak_equality>(strong_equality::nonequal) != 0)); in TEST()
154 Identity(implicit_cast<weak_equality>(strong_equality::equivalent) == 0)); in TEST()
156 implicit_cast<weak_equality>(strong_equality::nonequivalent) != 0)); in TEST()
159 Identity(implicit_cast<weak_equality>(partial_ordering::less) != 0)); in TEST()
161 implicit_cast<weak_equality>(partial_ordering::equivalent) == 0)); in TEST()
163 Identity(implicit_cast<weak_equality>(partial_ordering::greater) != 0)); in TEST()
165 Identity(implicit_cast<weak_equality>(partial_ordering::unordered) != 0)); in TEST()
167 EXPECT_TRUE(implicit_cast<weak_equality>(weak_ordering::less) != 0); in TEST()
169 Identity(implicit_cast<weak_equality>(weak_ordering::equivalent) == 0)); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/types/
Dcompare_test.cc150 Identity(implicit_cast<weak_equality>(strong_equality::equal) == 0)); in TEST()
152 Identity(implicit_cast<weak_equality>(strong_equality::nonequal) != 0)); in TEST()
154 Identity(implicit_cast<weak_equality>(strong_equality::equivalent) == 0)); in TEST()
156 implicit_cast<weak_equality>(strong_equality::nonequivalent) != 0)); in TEST()
159 Identity(implicit_cast<weak_equality>(partial_ordering::less) != 0)); in TEST()
161 implicit_cast<weak_equality>(partial_ordering::equivalent) == 0)); in TEST()
163 Identity(implicit_cast<weak_equality>(partial_ordering::greater) != 0)); in TEST()
165 Identity(implicit_cast<weak_equality>(partial_ordering::unordered) != 0)); in TEST()
167 EXPECT_TRUE(implicit_cast<weak_equality>(weak_ordering::less) != 0); in TEST()
169 Identity(implicit_cast<weak_equality>(weak_ordering::equivalent) == 0)); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/
Dcompare_test.cc150 Identity(implicit_cast<weak_equality>(strong_equality::equal) == 0)); in TEST()
152 Identity(implicit_cast<weak_equality>(strong_equality::nonequal) != 0)); in TEST()
154 Identity(implicit_cast<weak_equality>(strong_equality::equivalent) == 0)); in TEST()
156 implicit_cast<weak_equality>(strong_equality::nonequivalent) != 0)); in TEST()
159 Identity(implicit_cast<weak_equality>(partial_ordering::less) != 0)); in TEST()
161 implicit_cast<weak_equality>(partial_ordering::equivalent) == 0)); in TEST()
163 Identity(implicit_cast<weak_equality>(partial_ordering::greater) != 0)); in TEST()
165 Identity(implicit_cast<weak_equality>(partial_ordering::unordered) != 0)); in TEST()
167 EXPECT_TRUE(implicit_cast<weak_equality>(weak_ordering::less) != 0); in TEST()
169 Identity(implicit_cast<weak_equality>(weak_ordering::equivalent) == 0)); in TEST()
[all …]
/external/abseil-cpp/absl/types/
Dcompare_test.cc150 Identity(implicit_cast<weak_equality>(strong_equality::equal) == 0)); in TEST()
152 Identity(implicit_cast<weak_equality>(strong_equality::nonequal) != 0)); in TEST()
154 Identity(implicit_cast<weak_equality>(strong_equality::equivalent) == 0)); in TEST()
156 implicit_cast<weak_equality>(strong_equality::nonequivalent) != 0)); in TEST()
159 Identity(implicit_cast<weak_equality>(partial_ordering::less) != 0)); in TEST()
161 implicit_cast<weak_equality>(partial_ordering::equivalent) == 0)); in TEST()
163 Identity(implicit_cast<weak_equality>(partial_ordering::greater) != 0)); in TEST()
165 Identity(implicit_cast<weak_equality>(partial_ordering::unordered) != 0)); in TEST()
167 EXPECT_TRUE(implicit_cast<weak_equality>(weak_ordering::less) != 0); in TEST()
169 Identity(implicit_cast<weak_equality>(weak_ordering::equivalent) == 0)); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/types/
Dcompare_test.cc150 Identity(implicit_cast<weak_equality>(strong_equality::equal) == 0)); in TEST()
152 Identity(implicit_cast<weak_equality>(strong_equality::nonequal) != 0)); in TEST()
154 Identity(implicit_cast<weak_equality>(strong_equality::equivalent) == 0)); in TEST()
156 implicit_cast<weak_equality>(strong_equality::nonequivalent) != 0)); in TEST()
159 Identity(implicit_cast<weak_equality>(partial_ordering::less) != 0)); in TEST()
161 implicit_cast<weak_equality>(partial_ordering::equivalent) == 0)); in TEST()
163 Identity(implicit_cast<weak_equality>(partial_ordering::greater) != 0)); in TEST()
165 Identity(implicit_cast<weak_equality>(partial_ordering::unordered) != 0)); in TEST()
167 EXPECT_TRUE(implicit_cast<weak_equality>(weak_ordering::less) != 0); in TEST()
169 Identity(implicit_cast<weak_equality>(weak_ordering::equivalent) == 0)); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/types/
Dcompare_test.cc150 Identity(implicit_cast<weak_equality>(strong_equality::equal) == 0)); in TEST()
152 Identity(implicit_cast<weak_equality>(strong_equality::nonequal) != 0)); in TEST()
154 Identity(implicit_cast<weak_equality>(strong_equality::equivalent) == 0)); in TEST()
156 implicit_cast<weak_equality>(strong_equality::nonequivalent) != 0)); in TEST()
159 Identity(implicit_cast<weak_equality>(partial_ordering::less) != 0)); in TEST()
161 implicit_cast<weak_equality>(partial_ordering::equivalent) == 0)); in TEST()
163 Identity(implicit_cast<weak_equality>(partial_ordering::greater) != 0)); in TEST()
165 Identity(implicit_cast<weak_equality>(partial_ordering::unordered) != 0)); in TEST()
167 EXPECT_TRUE(implicit_cast<weak_equality>(weak_ordering::less) != 0); in TEST()
169 Identity(implicit_cast<weak_equality>(weak_ordering::equivalent) == 0)); in TEST()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcasts.h59 inline To implicit_cast(From const &f) { in implicit_cast() function
88 implicit_cast<From*, To>(0); in down_cast()
105 implicit_cast<From*, ToAsPointer>(0); in down_cast()
128 using internal::implicit_cast;
Dcommon_unittest.cc86 implicit_cast<int>(level), filename, line, message)); in CaptureLog()
/external/sfntly/cpp/src/sfntly/port/
Dtype.h48 inline To implicit_cast(From const &f) { in implicit_cast() function
63 implicit_cast<From*, To>(0); in down_cast()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DASTResultSynthesizer.cpp233 ImplicitCastExpr *implicit_cast = dyn_cast<ImplicitCastExpr>(last_expr); in SynthesizeBodyResult() local
235 if (!implicit_cast) in SynthesizeBodyResult()
238 if (implicit_cast->getCastKind() != CK_LValueToRValue) in SynthesizeBodyResult()
241 last_expr = implicit_cast->getSubExpr(); in SynthesizeBodyResult()
/external/protobuf/src/google/protobuf/
Dwire_format.h286 static_cast<WireFormatLite::FieldType>(implicit_cast<int>(type))); in WireTypeForFieldType()
299 static_cast<WireFormatLite::FieldType>(implicit_cast<int>(type))); in TagSize()
Dwire_format_unittest.cc65 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_TYPE), in TEST()
66 implicit_cast<int>(WireFormatLite::MAX_FIELD_TYPE)); in TEST()
67 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_CPPTYPE), in TEST()
68 implicit_cast<int>(WireFormatLite::MAX_CPPTYPE)); in TEST()
71 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::TypeToCppType( in TEST()
73 implicit_cast<int>(WireFormatLite::FieldTypeToCppType( in TEST()
/external/libtextclassifier/abseil-cpp/absl/status/
Dstatusor_test.cc623 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>( in TEST()
629 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>(a), in TEST()
676 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromBool>>( in TEST()
709 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
712 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
715 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
718 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
721 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const std::string>>( in TEST()
724 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<std::string>>( in TEST()
728 absl::implicit_cast<absl::StatusOr<std::shared_ptr<const std::string>>>( in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/status/
Dstatusor_test.cc634 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>( in TEST()
640 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>(a), in TEST()
687 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromBool>>( in TEST()
720 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
723 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
726 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
729 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
732 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const std::string>>( in TEST()
735 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<std::string>>( in TEST()
739 absl::implicit_cast<absl::StatusOr<std::shared_ptr<const std::string>>>( in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc623 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>( in TEST()
629 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>(a), in TEST()
676 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromBool>>( in TEST()
709 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
712 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
715 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
718 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
721 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const std::string>>( in TEST()
724 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<std::string>>( in TEST()
728 absl::implicit_cast<absl::StatusOr<std::shared_ptr<const std::string>>>( in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/status/
Dstatusor_test.cc634 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>( in TEST()
640 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>(a), in TEST()
687 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromBool>>( in TEST()
720 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
723 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
726 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
729 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
732 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const std::string>>( in TEST()
735 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<std::string>>( in TEST()
739 absl::implicit_cast<absl::StatusOr<std::shared_ptr<const std::string>>>( in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/base/
Dcasts.h102 constexpr To implicit_cast(typename absl::internal::identity_t<To> to) { in implicit_cast() function
/external/webrtc/third_party/abseil-cpp/absl/base/
Dcasts.h102 constexpr To implicit_cast(typename absl::internal::identity_t<To> to) { in implicit_cast() function
/external/openscreen/third_party/abseil/src/absl/base/
Dcasts.h102 constexpr To implicit_cast(typename absl::internal::identity_t<To> to) { in implicit_cast() function
/external/abseil-cpp/absl/base/
Dcasts.h102 constexpr To implicit_cast(typename absl::internal::identity_t<To> to) { in implicit_cast() function
/external/angle/third_party/abseil-cpp/absl/base/
Dcasts.h102 constexpr To implicit_cast(typename absl::internal::identity_t<To> to) { in implicit_cast() function
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/
Dcasts.h102 constexpr To implicit_cast(typename absl::internal::identity_t<To> to) { in implicit_cast() function
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc191 implicit_cast<int>(sizeof(junk)))); in Skip()
/external/python/pybind11/include/pybind11/
Dcast.h1463 operator type() & { return implicit_cast(indices{}); }
1464 operator type() && { return std::move(*this).implicit_cast(indices{}); }
1468 …type implicit_cast(index_sequence<Is...>) & { return type(cast_op<Ts>(std::get<Is>(subcasters))...…
1470 …type implicit_cast(index_sequence<Is...>) && { return type(cast_op<Ts>(std::move(std::get<Is>(subc…
/external/abseil-cpp/absl/algorithm/
Dcontainer_test.cc110 absl::c_find(absl::implicit_cast<const std::list<int>&>(sequence_), 3); in TEST_F()

12