Home
last modified time | relevance | path

Searched refs:is_convertible (Results 1 - 25 of 109) sorted by relevance

12345

/third_party/skia/third_party/externals/abseil-cpp/absl/status/
H A Dstatusor.h234 std::is_convertible<const U&, T>,
247 absl::negation<std::is_convertible<const U&, T>>,
260 std::is_convertible<U&&, T>,
272 absl::negation<std::is_convertible<U&&, T>>,
346 std::is_convertible<U&&, absl::Status>,
360 absl::negation<std::is_convertible<U&&, absl::Status>>,
374 std::is_convertible<U&&, absl::Status>,
410 absl::negation<std::is_convertible<U&&, absl::Status>>,
439 std::is_constructible<T, U&&>, std::is_convertible<U&&, T>,
444 absl::negation<std::is_convertible<
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DMSVCErrorWorkarounds.h62 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = in MSVCPExpected()
69 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = in MSVCPExpected()
76 typename std::enable_if<!std::is_convertible<OtherT, T>::value>::type * = in MSVCPExpected()
H A DErrorOr.h88 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type in ErrorOr()
101 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = in ErrorOr()
110 !std::is_convertible<OtherT, const T &>::value>::type * = nullptr) { in ErrorOr()
121 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = in ErrorOr()
126 // This might eventually need SFINAE but it's more complex than is_convertible
131 typename std::enable_if<!std::is_convertible<OtherT, T>::value>::type * = in ErrorOr()
/third_party/skia/third_party/externals/dawn/src/common/
H A DRefBase.h90 template <typename U, typename UTraits, typename = typename std::is_convertible<U, T>::type>
95 template <typename U, typename UTraits, typename = typename std::is_convertible<U, T>::type>
101 template <typename U, typename UTraits, typename = typename std::is_convertible<U, T>::type>
106 template <typename U, typename UTraits, typename = typename std::is_convertible<U, T>::type>
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dstl_type_traits.h167 : std::is_convertible<
174 : std::is_convertible<C, T<typename C::key_type, typename C::key_compare,
181 : std::is_convertible<
189 : std::is_convertible<
199 : std::is_convertible<C, T<typename C::key_type, typename C::mapped_type,
210 : std::is_convertible<A<T, N>, std::array<T, N>> {};
218 : std::is_convertible<B<N>, std::bitset<N>> {};
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DErrorOr.h98 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type in ErrorOr()
111 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = in ErrorOr()
120 !std::is_convertible<OtherT, const T &>::value>::type * = nullptr) { in ErrorOr()
131 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = in ErrorOr()
136 // This might eventually need SFINAE but it's more complex than is_convertible
141 typename std::enable_if<!std::is_convertible<OtherT, T>::value>::type * = in ErrorOr()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dcivil_time_test.cc482 EXPECT_FALSE((std::is_convertible<civil_second, civil_minute>::value));
483 EXPECT_FALSE((std::is_convertible<civil_second, civil_hour>::value));
484 EXPECT_FALSE((std::is_convertible<civil_second, civil_day>::value));
485 EXPECT_FALSE((std::is_convertible<civil_second, civil_month>::value));
486 EXPECT_FALSE((std::is_convertible<civil_second, civil_year>::value));
488 EXPECT_FALSE((std::is_convertible<civil_minute, civil_hour>::value));
489 EXPECT_FALSE((std::is_convertible<civil_minute, civil_day>::value));
490 EXPECT_FALSE((std::is_convertible<civil_minute, civil_month>::value));
491 EXPECT_FALSE((std::is_convertible<civil_minute, civil_year>::value));
493 EXPECT_FALSE((std::is_convertible<civil_hou
[all...]
/third_party/node/deps/v8/src/compiler/
H A Djs-heap-broker.h518 typename = std::enable_if_t<std::is_convertible<T*, Object*>::value>>
534 typename = std::enable_if_t<std::is_convertible<T*, Object*>::value>>
545 typename = std::enable_if_t<std::is_convertible<T*, Object*>::value>>
557 typename = std::enable_if_t<std::is_convertible<T*, Object*>::value>>
563 typename = std::enable_if_t<std::is_convertible<T*, Object*>::value>>
570 typename = std::enable_if_t<std::is_convertible<T*, Object*>::value>>
577 typename = std::enable_if_t<std::is_convertible<T*, Object*>::value>>
/third_party/skia/include/core/
H A DSkRefCnt.h17 #include <type_traits> // std::enable_if, std::is_convertible
228 typename = typename std::enable_if<std::is_convertible<U*, T*>::value>::type>
238 typename = typename std::enable_if<std::is_convertible<U*, T*>::value>::type>
269 typename = typename std::enable_if<std::is_convertible<U*, T*>::value>::type>
285 typename = typename std::enable_if<std::is_convertible<U*, T*>::value>::type>
/third_party/node/deps/v8/src/base/
H A Doptional.h344 std::is_convertible<Optional<U>&, T>::value ||
345 std::is_convertible<const Optional<U>&, T>::value ||
346 std::is_convertible<Optional<U>&&, T>::value ||
347 std::is_convertible<const Optional<U>&&, T>::value> {};
437 // std::is_convertible<const U&, T>::value is false. It is implemented by
444 std::is_convertible<const U&, T>::value,
453 !std::is_convertible<const U&, T>::value,
464 std::is_convertible<U&&, T>::value,
473 !std::is_convertible<U&&, T>::value,
497 std::is_convertible<
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A Doptional.h175 std::is_convertible<U&&, T>,
188 absl::negation<std::is_convertible<U&&, T>>,
203 std::is_convertible<const U&, T> >::value,
220 absl::negation<std::is_convertible<const U&, T>>>::value,
237 std::is_convertible<U&&, T> >::value,
254 absl::negation<std::is_convertible<U&&, T>>>::value,
506 static_assert(std::is_convertible<U&&, value_type>::value,
516 static_assert(std::is_convertible<U&&, value_type>::value,
H A Dspan_test.cc81 EXPECT_TRUE((std::is_convertible<int[3], absl::Span<const int>>::value)); in TEST()
83 (std::is_convertible<const int[3], absl::Span<const int>>::value)); in TEST()
108 (std::is_convertible<std::vector<int>&, absl::Span<const int>>::value)); in TEST()
110 (std::is_convertible<absl::Span<int>&, absl::Span<const int>>::value)); in TEST()
146 (std::is_convertible<std::string, absl::Span<const char>>::value)); in TEST()
205 std::is_convertible<absl::Span<int>, std::initializer_list<int>>::value)); in TEST()
651 EXPECT_TRUE((std::is_convertible<decltype(slice.begin()),
654 EXPECT_TRUE((std::is_convertible<decltype(slice.end()),
659 (std::is_convertible<decltype(slice.rend()),
H A Doptional_test.cc364 EXPECT_TRUE((std::is_convertible<int, absl::optional<int>>::value)); in TEST()
374 (std::is_convertible<const char*, absl::optional<ConstexprType>>::value)); in TEST()
380 (std::is_convertible<int, absl::optional<ConstexprType>>::value)); in TEST()
475 EXPECT_FALSE((std::is_convertible<const absl::optional<Explicit>&, in TEST()
481 EXPECT_FALSE((std::is_convertible<absl::optional<Explicit>&&, in TEST()
490 std::is_convertible<absl::optional<Implicit>, in TEST()
515 (std::is_convertible<const absl::optional<Explicit>&, in TEST()
523 (std::is_convertible<absl::optional<Explicit>&&, in TEST()
1608 EXPECT_TRUE((std::is_convertible<absl::optional<AnyLike>, AnyLike>::value)); in TEST()
1611 (std::is_convertible<cons in TEST()
[all...]
/third_party/node/deps/v8/src/handles/
H A Dmaybe-handles.h37 std::is_convertible<S*, T*>::value>::type>
43 std::is_convertible<S*, T*>::value>::type>
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dunordered_map_members_test.h45 EXPECT_TRUE((std::is_convertible< in TYPED_TEST_P()
49 EXPECT_TRUE((std::is_convertible< in TYPED_TEST_P()
H A Dunordered_set_members_test.h44 EXPECT_TRUE((std::is_convertible< in TYPED_TEST_P()
48 EXPECT_TRUE((std::is_convertible< in TYPED_TEST_P()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
H A Dcivil_time_test.cc247 (std::is_convertible<absl::CivilSecond, absl::CivilMinute>::value)); in TEST()
249 (std::is_convertible<absl::CivilSecond, absl::CivilHour>::value)); in TEST()
251 (std::is_convertible<absl::CivilSecond, absl::CivilDay>::value)); in TEST()
253 (std::is_convertible<absl::CivilSecond, absl::CivilMonth>::value)); in TEST()
255 (std::is_convertible<absl::CivilSecond, absl::CivilYear>::value)); in TEST()
258 (std::is_convertible<absl::CivilMinute, absl::CivilHour>::value)); in TEST()
260 (std::is_convertible<absl::CivilMinute, absl::CivilDay>::value)); in TEST()
262 (std::is_convertible<absl::CivilMinute, absl::CivilMonth>::value)); in TEST()
264 (std::is_convertible<absl::CivilMinute, absl::CivilYear>::value)); in TEST()
267 (std::is_convertible<abs in TEST()
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dproperty.hpp202 typename std::enable_if<!std::is_convertible<T, S>::value, S>::type
209 typename std::enable_if<std::is_convertible<T, S>::value, S>::type
/third_party/skia/third_party/externals/abseil-cpp/absl/status/internal/
H A Dstatusor_internal.h52 std::is_convertible<StatusOr<U>&, T>,
53 std::is_convertible<const StatusOr<U>&, T>,
54 std::is_convertible<StatusOr<U>&&, T>,
55 std::is_convertible<const StatusOr<U>&&, T>>;
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/
H A Doptional.h343 std::is_convertible<optional<U>&, T>::value ||
344 std::is_convertible<optional<U>&&, T>::value ||
345 std::is_convertible<const optional<U>&, T>::value ||
346 std::is_convertible<const optional<U>&&, T>::value> {};
/third_party/node/deps/v8/src/base/sanitizer/
H A Dlsan.h26 static_assert(std::is_convertible<decltype(ptr), const void*>::value, \
H A Dasan.h44 static_assert(std::is_convertible<decltype(size), size_t>::value, \
H A Dmsan.h31 static_assert(std::is_convertible<decltype(size), size_t>::value, \
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
H A Dexception_safety_testing_test.cc937 EXPECT_TRUE((std::is_convertible<decltype(a == b), bool>::value)); in TEST()
938 EXPECT_TRUE((std::is_convertible<decltype(a != b), bool>::value)); in TEST()
939 EXPECT_TRUE((std::is_convertible<decltype(a < b), bool>::value)); in TEST()
940 EXPECT_TRUE((std::is_convertible<decltype(a <= b), bool>::value)); in TEST()
941 EXPECT_TRUE((std::is_convertible<decltype(a > b), bool>::value)); in TEST()
942 EXPECT_TRUE((std::is_convertible<decltype(a >= b), bool>::value)); in TEST()
/third_party/json/include/nlohmann/detail/meta/
H A Ddetected.hpp67 std::is_convertible<detected_t<Op, Args...>, To>;

Completed in 21 milliseconds

12345