Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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 …]
/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 …]
/third_party/boost/libs/conversion/test/
Dimplicit_cast.cpp9 using boost::implicit_cast;
26 type<long> x = check_return(boost::implicit_cast<long>(1)); in main()
27 BOOST_TEST(boost::implicit_cast<long>(1) == 1L); in main()
29 type<foo> f = check_return(boost::implicit_cast<foo>("hello")); in main()
30 type<long> z = check_return(boost::implicit_cast<long>(foo("hello"))); in main()
Dimplicit_cast_fail.cpp8 using boost::implicit_cast;
17 foo x = implicit_cast<foo>("foobar"); in main()
Dimplicit_cast_fail2.cpp15 int x = boost::implicit_cast( 1 ); in main()
DJamfile.v224 : [ run implicit_cast.cpp ]
/third_party/protobuf/src/google/protobuf/stubs/
Dcasts.h61 inline To implicit_cast(From const &f) { in implicit_cast() function
90 implicit_cast<From*, To>(0); in down_cast()
107 implicit_cast<From*, ToAsPointer>(0); in down_cast()
130 using internal::implicit_cast;
/third_party/skia/third_party/externals/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()
/third_party/flutter/skia/third_party/externals/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()
/third_party/boost/boost/python/converter/
Dbuiltin_converters.hpp158 BOOST_PYTHON_TO_PYTHON_BY_VALUE(std::string, ::PyUnicode_FromStringAndSize(x.data(),implicit_cast<s…
162 BOOST_PYTHON_TO_PYTHON_BY_VALUE(std::string, ::PyString_FromStringAndSize(x.data(),implicit_cast<ss…
166 BOOST_PYTHON_TO_PYTHON_BY_VALUE(std::wstring, ::PyUnicode_FromWideChar(x.data(),implicit_cast<ssize…
/third_party/boost/boost/python/
Dopaque_pointer_converter.hpp63 ? static_cast<python_instance*>(implicit_cast<void*>(op))->x in extract()
78 return static_cast<PyObject*>(implicit_cast<void*>(o)); in wrap()
/third_party/boost/libs/histogram/test/
Dutility_iterator.hpp31 inline T implicit_cast(typename detail::icast_identity<T>::type x) { in implicit_cast() function
184 BOOST_TEST(*i == implicit_cast<value_type>(j[c])); in random_access_iterator_test()
198 BOOST_TEST(*i == implicit_cast<value_type>(j[N - 1 - c])); in random_access_iterator_test()
/third_party/boost/boost/
Dimplicit_cast.hpp26 inline T implicit_cast (typename boost::detail::icast_identity<T>::type x) { in implicit_cast() function
/third_party/boost/boost/xpressive/detail/core/
Dadaptor.hpp52 return implicit_cast<xpr_type &>(this->xpr_).match(state); in match()
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
Dstatusor_test.cc672 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>( in TEST()
678 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromA>>(a), in TEST()
725 absl::implicit_cast<absl::StatusOr<ImplicitConstructibleFromBool>>( in TEST()
758 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
761 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<bool>>( in TEST()
764 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
767 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const bool>>( in TEST()
770 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const std::string>>( in TEST()
773 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<std::string>>( in TEST()
777 absl::implicit_cast<absl::StatusOr<std::shared_ptr<const std::string>>>( in TEST()
[all …]
/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 …]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dcasts.h102 constexpr To implicit_cast(typename absl::internal::identity_t<To> to) { in implicit_cast() function
/third_party/abseil-cpp/absl/base/
Dcasts.h102 constexpr To implicit_cast(typename absl::internal::identity_t<To> to) { in implicit_cast() function
/third_party/boost/boost/pending/
Diterator_tests.hpp231 BOOST_TEST(*i == boost::implicit_cast<value_type>(j[c])); in random_access_iterator_test()
245 BOOST_TEST(*i == boost::implicit_cast<value_type>(j[N - 1 - c])); in random_access_iterator_test()
/third_party/protobuf/src/google/protobuf/
Dwire_format.h339 static_cast<WireFormatLite::FieldType>(implicit_cast<int>(type))); in WireTypeForFieldType()
352 static_cast<WireFormatLite::FieldType>(implicit_cast<int>(type))); in TagSize()
Dwire_format_unittest.cc71 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_TYPE), in TEST()
72 implicit_cast<int>(WireFormatLite::MAX_FIELD_TYPE)); in TEST()
73 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_CPPTYPE), in TEST()
74 implicit_cast<int>(WireFormatLite::MAX_CPPTYPE)); in TEST()
77 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::TypeToCppType( in TEST()
79 implicit_cast<int>(WireFormatLite::FieldTypeToCppType( in TEST()
/third_party/boost/libs/conversion/doc/
Dconversion.qbk43 # The [@boost:boost/implicit_cast.hpp boost/implicit_cast.hpp] header provides `implicit_cast<>`
/third_party/libphonenumber/tools/cpp/src/base/
Dbasictypes.h214 inline To implicit_cast(From const &f) { in implicit_cast() function
/third_party/boost/boost/graph/
Ddepth_first_search.hpp278 Vertex u = implicit_cast< Vertex >(*ui); in depth_first_search()
292 Vertex u = implicit_cast< Vertex >(*ui); in depth_first_search()
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc191 implicit_cast<int>(sizeof(junk)))); in Skip()

12