Home
last modified time | relevance | path

Searched refs:is_same (Results 1 – 25 of 195) sorted by relevance

12345678

/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsics.h61 constexpr __detail::enable_if_t<__detail::is_same<int16_t, T>::value ||
62 __detail::is_same<uint16_t, T>::value ||
63 __detail::is_same<half, T>::value,
70 constexpr __detail::enable_if_t<__detail::is_same<int16_t, T>::value ||
71 __detail::is_same<uint16_t, T>::value ||
72 __detail::is_same<half, T>::value,
124 constexpr __detail::enable_if_t<__detail::is_same<int16_t, T>::value ||
125 __detail::is_same<uint16_t, T>::value ||
126 __detail::is_same<half, T>::value,
133 constexpr __detail::enable_if_t<__detail::is_same<int16_t, T>::value ||
[all …]
H A Dhlsl_intrinsic_helpers.h29 constexpr enable_if_t<is_same<float, T>::value || is_same<half, T>::value, T>
48 constexpr enable_if_t<is_same<float, T>::value || is_same<half, T>::value, T>
H A Dhlsl_detail.h16 template <typename T, typename U> struct is_same { struct
20 template <typename T> struct is_same<T, T> { argument
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc662 EXPECT_TRUE((std::is_same<int, F::Result>::value)); in TEST()
663 EXPECT_TRUE((std::is_same<std::tuple<>, F::ArgumentTuple>::value)); in TEST()
664 EXPECT_TRUE((std::is_same<std::tuple<>, F::ArgumentMatcherTuple>::value)); in TEST()
665 EXPECT_TRUE((std::is_same<void(), F::MakeResultVoid>::value)); in TEST()
666 EXPECT_TRUE((std::is_same<IgnoredValue(), F::MakeResultIgnoredValue>::value)); in TEST()
672 EXPECT_TRUE((std::is_same<int, F::Result>::value)); in TEST()
673 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value)); in TEST()
674 EXPECT_TRUE((std::is_same<std::tuple<bool>, F::ArgumentTuple>::value)); in TEST()
676 std::is_same<std::tuple<Matcher<bool>>, F::ArgumentMatcherTuple>::value)); in TEST()
677 EXPECT_TRUE((std::is_same<void(bool), F::MakeResultVoid>::value)); // NOLINT in TEST()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_type_test.cpp23 COMPILER_CHECK((__sanitizer::is_same<__sanitizer::uptr, ::uintptr_t>::value));
24 COMPILER_CHECK((__sanitizer::is_same<__sanitizer::sptr, ::intptr_t>::value));
25 COMPILER_CHECK((__sanitizer::is_same<__sanitizer::usize, ::size_t>::value));
26 COMPILER_CHECK((__sanitizer::is_same<::PTRDIFF_T, ::ptrdiff_t>::value));
27 COMPILER_CHECK((__sanitizer::is_same<::SIZE_T, ::size_t>::value));
30 COMPILER_CHECK((__sanitizer::is_same<::SSIZE_T, ::ssize_t>::value));
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Du8path.h33 is_same<typename __is_pathable<_InputIt>::__char_type, char8_t>::value || in u8path()
35 is_same<typename __is_pathable<_InputIt>::__char_type, char>::value, in u8path()
55 is_same<typename __is_pathable<_InputIt>::__char_type, char8_t>::value || in u8path()
57 is_same<typename __is_pathable<_InputIt>::__char_type, char>::value, in u8path()
76 is_same<typename __is_pathable<_Source>::__char_type, char8_t>::value || in u8path()
78 is_same<typename __is_pathable<_Source>::__char_type, char>::value, in u8path()
/freebsd/contrib/googletest/googletest/test/
H A Dgtest-typed-test_test.cc169 if (std::is_same<T, char>::value) { in GetName()
172 if (std::is_same<T, int>::value) { in GetName()
181 if (std::is_same<TypeParam, char>::value) { in TYPED_TEST()
187 if (std::is_same<TypeParam, int>::value) { in TYPED_TEST()
297 if (std::is_same<TypeParam, char>::value) { in TYPED_TEST_P()
303 if (std::is_same<TypeParam, int>::value) { in TYPED_TEST_P()
317 if (std::is_same<T, char>::value) { in GetName()
320 if (std::is_same<T, int>::value) { in GetName()
/freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/
H A Dis_same.h20 template <typename T, typename U> struct is_same : cpp::false_type {}; struct
21 template <typename T> struct is_same<T, T> : cpp::true_type {};
23 LIBC_INLINE_VAR constexpr bool is_same_v = is_same<T, U>::value;
/freebsd/contrib/llvm-project/libcxx/include/__numeric/
H A Dgcd_lcm.h99 static_assert(!is_same<__remove_cv_t<_Tp>, bool>::value, "First argument to gcd cannot be bool");
100 static_assert(!is_same<__remove_cv_t<_Up>, bool>::value, "Second argument to gcd cannot be bool");
110 static_assert(!is_same<__remove_cv_t<_Tp>, bool>::value, "First argument to lcm cannot be bool");
111 static_assert(!is_same<__remove_cv_t<_Up>, bool>::value, "Second argument to lcm cannot be bool");
/freebsd/contrib/jemalloc/m4/
H A Dax_cxx_compile_stdcxx.m4235 struct is_same
241 struct is_same<T, T>
256 static_assert(is_same<int, decltype(0)>::value == true, "");
257 static_assert(is_same<int, decltype(c)>::value == false, "");
258 static_assert(is_same<int, decltype(v)>::value == false, "");
263 static_assert(is_same<int, decltype(ac)>::value == true, "");
264 static_assert(is_same<int, decltype(av)>::value == true, "");
265 static_assert(is_same<int, decltype(sumi)>::value == true, "");
266 static_assert(is_same<int, decltype(sumf)>::value == false, "");
267 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
[all …]
/freebsd/contrib/kyua/m4/
H A Dax_cxx_compile_stdcxx.m4235 struct is_same
241 struct is_same<T, T>
256 static_assert(is_same<int, decltype(0)>::value == true, "");
257 static_assert(is_same<int, decltype(c)>::value == false, "");
258 static_assert(is_same<int, decltype(v)>::value == false, "");
263 static_assert(is_same<int, decltype(ac)>::value == true, "");
264 static_assert(is_same<int, decltype(av)>::value == true, "");
265 static_assert(is_same<int, decltype(sumi)>::value == true, "");
266 static_assert(is_same<int, decltype(sumf)>::value == false, "");
267 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__atomic/
H A Datomic.h408 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
413 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
420 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
426 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
434 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
439 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
446 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
452 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
460 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
465 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringExtras.h69 static_assert(std::is_same<CharT, char>::value || in arrayRefFromStringRef()
70 std::is_same<CharT, unsigned char>::value || in arrayRefFromStringRef()
71 std::is_same<CharT, signed char>::value, in arrayRefFromStringRef()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Dis_always_bitcastable.h40 (is_same<_UnqualFrom, _UnqualTo>::value && is_trivially_copyable<_UnqualFrom>::value) ||
78 !is_same<_UnqualTo, bool>::value
H A Dis_equality_comparable.h67 __enable_if_t<is_integral<_Tp>::value && is_integral<_Up>::value && !is_same<_Tp, _Up>::value &&
79 …(is_same<__remove_cv_t<_Tp>, __remove_cv_t<_Up> >::value || is_void<_Tp>::value || is_void<_Up>::v…
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_always_bitcastable.h38 (is_same<_UnqualFrom, _UnqualTo>::value && is_trivially_copyable<_UnqualFrom>::value) ||
76 !is_same<_UnqualTo, bool>::value
H A Dis_equality_comparable.h67 __enable_if_t<is_integral<_Tp>::value && is_integral<_Up>::value && !is_same<_Tp, _Up>::value &&
79 …(is_same<__remove_cv_t<_Tp>, __remove_cv_t<_Up> >::value || is_void<_Tp>::value || is_void<_Up>::v…
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dsimple_packed_serialization.h146 std::enable_if_t<std::is_same<SPSTagT, bool>::value ||
147 std::is_same<SPSTagT, char>::value ||
148 std::is_same<SPSTagT, int8_t>::value ||
149 std::is_same<SPSTagT, int16_t>::value ||
150 std::is_same<SPSTagT, int32_t>::value ||
151 std::is_same<SPSTagT, int64_t>::value ||
152 std::is_same<SPSTagT, uint8_t>::value ||
153 std::is_same<SPSTagT, uint16_t>::value ||
154 std::is_same<SPSTagT, uint32_t>::value ||
155 std::is_same<SPSTagT, uint64_t>::value>> {
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSimplePackedSerialization.h158 std::enable_if_t<std::is_same<SPSTagT, bool>::value ||
159 std::is_same<SPSTagT, char>::value ||
160 std::is_same<SPSTagT, int8_t>::value ||
161 std::is_same<SPSTagT, int16_t>::value ||
162 std::is_same<SPSTagT, int32_t>::value ||
163 std::is_same<SPSTagT, int64_t>::value ||
164 std::is_same<SPSTagT, uint8_t>::value ||
165 std::is_same<SPSTagT, uint16_t>::value ||
166 std::is_same<SPSTagT, uint32_t>::value ||
167 std::is_same<SPSTagT, uint64_t>::value>> {
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/
H A DVecUtils.h60 static_assert(std::is_same<LoadOrStoreT, LoadInst>::value ||
61 std::is_same<LoadOrStoreT, StoreInst>::value,
73 static_assert(std::is_same<LoadOrStoreT, LoadInst>::value ||
74 std::is_same<LoadOrStoreT, StoreInst>::value,
H A DSeedCollector.h140 static_assert(std::is_same<LoadOrStoreT, LoadInst>::value || in MemSeedBundle()
141 std::is_same<LoadOrStoreT, StoreInst>::value, in MemSeedBundle()
152 static_assert(std::is_same<LoadOrStoreT, LoadInst>::value || in MemSeedBundle()
153 std::is_same<LoadOrStoreT, StoreInst>::value, in MemSeedBundle()
/freebsd/contrib/llvm-project/libcxx/include/__tuple/
H A Dfind_index.h42 static constexpr bool __matches[sizeof...(_Args)] = {is_same<_T1, _Args>::value...};
50 static_assert(!is_same<_T1, _T1>::value, "type not in empty type list");
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/
H A Dcompressed_pair.h51 …template <class _Up, __enable_if_t<!is_same<__compressed_pair_elem, __decay_t<_Up> >::value, int> …
72 …template <class _Up, __enable_if_t<!is_same<__compressed_pair_elem, __decay_t<_Up> >::value, int> …
87 (!is_same<_T1, _T2>::value),
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/
H A Dreverse_iterator.h73 …template <class _Up, __enable_if_t<!is_same<_Up, _Iter>::value && is_convertible<_Up const&, _Iter…
77 __enable_if_t<!is_same<_Up, _Iter>::value && is_convertible<_Up const&, _Iter>::value &&
89 …template <class _Up, __enable_if_t<!is_same<_Up, _Iter>::value && is_convertible<_Up const&, _Iter…
93 __enable_if_t<!is_same<_Up, _Iter>::value && is_convertible<_Up const&, _Iter>::value &&
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h580 !std::is_same<From, T>::value> * = nullptr)
591 std::enable_if_t<std::is_same<T, QualType>::value &&
592 std::is_same<TypeT, Type>::value> * = nullptr)
898 static_assert(std::is_same<T, CXXOperatorCallExpr>::value ||
901 static_assert(std::is_same<ArgT, std::vector<std::string>>::value,
982 static_assert(std::is_same<DeclMatcherT, Matcher<Decl>>::value,
1165 std::is_same<T, Decl>::value || std::is_same<T, Stmt>::value ||
1166 std::is_same<T, QualType>::value || std::is_same<T, Type>::value ||
1167 std::is_same<T, TypeLoc>::value ||
1168 std::is_same<T, NestedNameSpecifier>::value ||
[all …]

12345678