Home
last modified time | relevance | path

Searched refs:conditional_t (Results 1 – 25 of 253) sorted by relevance

1234567891011

/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/
Dconditional.pass.cpp22 ASSERT_SAME_TYPE(char, std::conditional_t<true, char, int>); in main()
23 ASSERT_SAME_TYPE(int, std::conditional_t<false, char, int>); in main()
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
Dconditional.pass.cpp23 static_assert((std::is_same<std::conditional_t<true, char, int>, char>::value), ""); in main()
24 static_assert((std::is_same<std::conditional_t<false, char, int>, int>::value), ""); in main()
/external/tensorflow/third_party/absl/abseil-cpp/absl/random/
Dmocking_bit_gen.h185 using WrappedFnType = absl::conditional_t<
188 absl::conditional_t<
192 absl::conditional_t<
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dmocking_bit_gen.h185 using WrappedFnType = absl::conditional_t<
188 absl::conditional_t<
192 absl::conditional_t<
/external/webrtc/third_party/abseil-cpp/absl/random/
Dmocking_bit_gen.h185 using WrappedFnType = absl::conditional_t<
188 absl::conditional_t<
192 absl::conditional_t<
/external/cronet/third_party/abseil-cpp/absl/random/
Dmocking_bit_gen.h185 using WrappedFnType = absl::conditional_t<
188 absl::conditional_t<
192 absl::conditional_t<
/external/abseil-cpp/absl/random/
Dmocking_bit_gen.h185 using WrappedFnType = absl::conditional_t<
188 absl::conditional_t<
192 absl::conditional_t<
/external/angle/third_party/abseil-cpp/absl/random/
Dmocking_bit_gen.h185 using WrappedFnType = absl::conditional_t<
188 absl::conditional_t<
192 absl::conditional_t<
/external/pigweed/pw_bytes/public/pw_bytes/
Dendian.h35 std::conditional_t<
38 std::conditional_t<
41 std::conditional_t<sizeof(T) == 8, uint64_t, void>>>> {
/external/skia/include/private/base/
DSkTLogic.h27 using type = std::conditional_t<std::is_const<S>::value, std::add_const_t<D>, D>;
32 using type = std::conditional_t<std::is_volatile<S>::value, std::add_volatile_t<D>, D>;
/external/python/pybind11/include/pybind11/
Doperators.h56 using L_type = conditional_t<std::is_same<L, self_t>::value, Base, L>; in execute()
57 using R_type = conditional_t<std::is_same<R, self_t>::value, Base, R>; in execute()
68 using L_type = conditional_t<std::is_same<L, self_t>::value, Base, L>; in execute_cast()
69 using R_type = conditional_t<std::is_same<R, self_t>::value, Base, R>; in execute_cast()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/charconv/charconv.msvc/
Dtest.cpp405 using Uint = conditional_t<is_same_v<T, float>, std::uint32_t, std::uint64_t>; in test_from_chars()
584 void test_floating_prefix(const conditional_t<IsDouble, std::uint64_t, std::uint32_t> prefix) { in test_floating_prefix()
586 using UIntType = conditional_t<IsDouble, std::uint64_t, std::uint32_t>; in test_floating_prefix()
587 using FloatingType = conditional_t<IsDouble, double, float>; in test_floating_prefix()
646 void test_floating_hex_prefix(const conditional_t<IsDouble, std::uint64_t, std::uint32_t> prefix) { in test_floating_hex_prefix()
648 using UIntType = conditional_t<IsDouble, std::uint64_t, std::uint32_t>; in test_floating_hex_prefix()
649 using FloatingType = conditional_t<IsDouble, double, float>; in test_floating_hex_prefix()
684 void test_floating_precision_prefix(const conditional_t<IsDouble, std::uint64_t, std::uint32_t> pre… in test_floating_precision_prefix()
686 using UIntType = conditional_t<IsDouble, std::uint64_t, std::uint32_t>; in test_floating_precision_prefix()
687 using FloatingType = conditional_t<IsDouble, double, float>; in test_floating_precision_prefix()
/external/cronet/base/win/
Dwinrt_foundation_helpers.h61 using StorageType = std::conditional_t<
69 using OptionalStorageType = std::conditional_t<
/external/python/pybind11/tests/
Dtest_builtin_casters.cpp44 conditional_t<
46 conditional_t<
49 conditional_t<
51 conditional_t<
/external/cronet/third_party/abseil-cpp/absl/functional/
Dany_invocable_test.cc66 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&;
77 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&&;
92 absl::conditional_t<std::is_const<T>::value, R(P...) const, R(P...)>;
98 absl::conditional_t<std::is_const<T>::value, R(P...) const&, R(P...)&>;
104 absl::conditional_t<std::is_const<T>::value, R(P...) const&&, R(P...) &&>;
112 using type = absl::conditional_t<std::is_const<T>::value,
119 absl::conditional_t<std::is_const<T>::value, R(P...) const & noexcept,
126 absl::conditional_t<std::is_const<T>::value, R(P...) const && noexcept,
380 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
387 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
[all …]
/external/angle/third_party/abseil-cpp/absl/functional/
Dany_invocable_test.cc66 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&;
77 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&&;
92 absl::conditional_t<std::is_const<T>::value, R(P...) const, R(P...)>;
98 absl::conditional_t<std::is_const<T>::value, R(P...) const&, R(P...)&>;
104 absl::conditional_t<std::is_const<T>::value, R(P...) const&&, R(P...) &&>;
112 using type = absl::conditional_t<std::is_const<T>::value,
119 absl::conditional_t<std::is_const<T>::value, R(P...) const & noexcept,
126 absl::conditional_t<std::is_const<T>::value, R(P...) const && noexcept,
380 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
387 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
[all …]
/external/webrtc/third_party/abseil-cpp/absl/functional/
Dany_invocable_test.cc66 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&;
77 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&&;
92 absl::conditional_t<std::is_const<T>::value, R(P...) const, R(P...)>;
98 absl::conditional_t<std::is_const<T>::value, R(P...) const&, R(P...)&>;
104 absl::conditional_t<std::is_const<T>::value, R(P...) const&&, R(P...) &&>;
112 using type = absl::conditional_t<std::is_const<T>::value,
119 absl::conditional_t<std::is_const<T>::value, R(P...) const & noexcept,
126 absl::conditional_t<std::is_const<T>::value, R(P...) const && noexcept,
380 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
387 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/functional/
Dany_invocable_test.cc65 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&;
76 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&&;
91 absl::conditional_t<std::is_const<T>::value, R(P...) const, R(P...)>;
97 absl::conditional_t<std::is_const<T>::value, R(P...) const&, R(P...)&>;
103 absl::conditional_t<std::is_const<T>::value, R(P...) const&&, R(P...) &&>;
111 using type = absl::conditional_t<std::is_const<T>::value,
118 absl::conditional_t<std::is_const<T>::value, R(P...) const & noexcept,
125 absl::conditional_t<std::is_const<T>::value, R(P...) const && noexcept,
379 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
386 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
[all …]
/external/abseil-cpp/absl/functional/
Dany_invocable_test.cc65 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&;
76 absl::conditional_t<std::is_const<Qualifiers>::value, const This, This>&&;
91 absl::conditional_t<std::is_const<T>::value, R(P...) const, R(P...)>;
97 absl::conditional_t<std::is_const<T>::value, R(P...) const&, R(P...)&>;
103 absl::conditional_t<std::is_const<T>::value, R(P...) const&&, R(P...) &&>;
111 using type = absl::conditional_t<std::is_const<T>::value,
118 absl::conditional_t<std::is_const<T>::value, R(P...) const & noexcept,
125 absl::conditional_t<std::is_const<T>::value, R(P...) const && noexcept,
379 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
386 absl::conditional_t<std::is_rvalue_reference<Qual>::value,
[all …]
/external/skia/src/gpu/tessellate/
DPatchWriter.h120 using DataType = std::conditional_t<Required, T,
121 std::conditional_t<Optional, std::pair<T, bool>,
223 using Color = std::conditional_t<kRequireWideColor, SkPMColor4f,
224 std::conditional_t<kOptionalWideColor, VertexColor,
243 using DeferredPatch = std::conditional_t<kTrackJoinControlPoints,
245 using InnerTriangulator = std::conditional_t<kAddTrianglesWhenChopping,
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.as.rvalue/
Dend.pass.cpp77 …using Expected = std::conditional_t<is_common, std::move_iterator<Sent>, std::move_sentinel<Sent>>; in test_range()
102 …using Expected = std::conditional_t<is_common, std::move_iterator<Sent>, std::move_sentinel<Sent>>; in test_const_range()
/external/cronet/buildtools/third_party/libc++/trunk/test/support/
Dtest_format_string.h35 …std::conditional_t<std::same_as<CharT, char>, std::format_string<Args...>, std::wformat_string<Arg…
/external/cronet/buildtools/third_party/libc++/trunk/include/__compare/
Dstrong_order.h92 using _IntType = conditional_t< in __go()
93 sizeof(__t) == sizeof(int32_t), int32_t, conditional_t< in __go()
/external/pigweed/pw_minimal_cpp_stdlib/public/internal/
Dtype_traits.h222 using conditional_t = typename conditional<kBool, TrueType, FalseType>::type;
237 : conditional_t<bool(First::value), conjunction<Others...>, First> {};
253 : conditional_t<bool(First::value), First, disjunction<Others...>> {};
382 conditional_t<is_array<U>::value, remove_extent_t<U>*, remove_cv_t<U>>;
/external/python/pybind11/include/pybind11/detail/
Dcommon.h482 using std::conditional_t;
487 template <bool B, typename T, typename F> using conditional_t = typename std::conditional<B, T, F>:… variable
506 …: select_indices_impl<conditional_t<B, index_sequence<IPrev..., I>, index_sequence<IPrev...>>, I +…
610 using type = conditional_t<found, typename pack_element<index, Ts...>::type, Default>;
677 using function_signature_t = conditional_t<
680 typename conditional_t<

1234567891011