Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc662 EXPECT_TRUE((std::is_same<int, F::Result>::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()
685 EXPECT_TRUE((std::is_same<int, F::Result>::value)); in TEST()
686 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value)); in TEST()
702 EXPECT_TRUE((std::is_same<char, F::Result>::value)); in TEST()
703 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value)); in TEST()
704 EXPECT_TRUE((std::is_same<int, F::Arg<1>::type>::value)); in TEST()
705 EXPECT_TRUE((std::is_same<char*, F::Arg<2>::type>::value)); in TEST()
706 EXPECT_TRUE((std::is_same<int&, F::Arg<3>::type>::value)); in TEST()
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__filesystem/
H A Du8path.h39 is_same<typename __is_pathable<_InputIt>::__char_type, char8_t>::value || in u8path()
41 is_same<typename __is_pathable<_InputIt>::__char_type, char>::value, in u8path()
61 is_same<typename __is_pathable<_InputIt>::__char_type, char8_t>::value || in u8path()
63 is_same<typename __is_pathable<_InputIt>::__char_type, char>::value, in u8path()
82 is_same<typename __is_pathable<_Source>::__char_type, char8_t>::value || in u8path()
84 is_same<typename __is_pathable<_Source>::__char_type, char>::value, in u8path()
/freebsd-14.2/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()
H A Dgoogletest-output-test_.cc719 if (std::is_same<T, char>::value) in GetName()
721 if (std::is_same<T, int>::value) in GetName()
752 if (std::is_same<T, unsigned char>::value) { in GetName()
755 if (std::is_same<T, unsigned int>::value) { in GetName()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__numeric/
H A Dgcd_lcm.h61 …static_assert((!is_same<__remove_cv_t<_Tp>, bool>::value), "First argument to gcd cannot be bool");
62 …static_assert((!is_same<__remove_cv_t<_Up>, bool>::value), "Second argument to gcd cannot be bool"…
72 …static_assert((!is_same<__remove_cv_t<_Tp>, bool>::value), "First argument to lcm cannot be bool");
73 …static_assert((!is_same<__remove_cv_t<_Up>, bool>::value), "Second argument to lcm cannot be bool"…
/freebsd-14.2/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, "");
543 struct is_same
549 struct is_same<T, T>
558 static_assert(is_same<int, decltype(f(x))>::value, "");
559 static_assert(is_same<int&, decltype(g(x))>::value, "");
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__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.h66 __enable_if_t<is_integral<_Tp>::value && is_integral<_Up>::value && !is_same<_Tp, _Up>::value &&
78 …(is_same<__remove_cv_t<_Tp>, __remove_cv_t<_Up> >::value || is_void<_Tp>::value || is_void<_Up>::v…
H A Dis_trivially_lexicographically_comparable.h48is_same<__remove_cv_t<_Tp>, __remove_cv_t<_Up> >::value && sizeof(_Tp) == 1 &&
H A Dis_void.h36 struct _LIBCPP_TEMPLATE_VIS is_void : public is_same<__remove_cv_t<_Tp>, void> {};
H A Dis_same.h22 struct _LIBCPP_TEMPLATE_VIS is_same : _BoolConstant<__is_same(_Tp, _Up)> {}; struct
/freebsd-14.2/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-14.2/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic.h540 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
545 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
552 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
558 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
566 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
571 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
578 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
584 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
592 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
597 template <class _Tp, __enable_if_t<is_integral<_Tp>::value && !is_same<_Tp, bool>::value, int> = 0>
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/libcxx/include/__string/
H A Dconstexpr_c_functions.h65 if (sizeof(_Tp) == 1 && !is_same<_Tp, bool>::value) in __constexpr_memcmp()
98 if (sizeof(_Tp) == 1 && is_integral<_Tp>::value && !is_same<_Tp, bool>::value) in __constexpr_memcmp_equal()
199 if (is_same<__remove_cv_t<_Tp>, __remove_cv_t<_Up> >::value) { in __constexpr_memmove()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h592 std::enable_if_t<std::is_same<T, QualType>::value &&
1168 std::is_same<T, Decl>::value || std::is_same<T, Stmt>::value ||
1169 std::is_same<T, QualType>::value || std::is_same<T, Type>::value ||
1170 std::is_same<T, TypeLoc>::value ||
1171 std::is_same<T, NestedNameSpecifier>::value ||
1172 std::is_same<T, NestedNameSpecifierLoc>::value ||
1173 std::is_same<T, CXXCtorInitializer>::value ||
1174 std::is_same<T, TemplateArgumentLoc>::value ||
1175 std::is_same<T, Attr>::value;
2208 static_assert(std::is_same<T, BinaryOperator>::value ||
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_type_traits.h38 struct is_same : public false_type {}; struct
41 struct is_same<T, T> : public true_type {};
/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Dcompressed_pair.h52 …template <class _Up, class = __enable_if_t<!is_same<__compressed_pair_elem, __decay_t<_Up> >::valu…
81 …template <class _Up, class = __enable_if_t<!is_same<__compressed_pair_elem, __decay_t<_Up> >::valu…
104 (!is_same<_T1, _T2>::value),
H A Dunique_ptr.h159 __enable_if_t< (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
202 …__enable_if_t<is_convertible<_Up*, _Tp*>::value && is_same<_Dp, default_delete<_Tp> >::value, int>…
224 …__enable_if_t<is_convertible<_Up*, _Tp*>::value && is_same<_Dp, default_delete<_Tp> >::value, int>…
283 struct _CheckArrayPointerConversion : is_same<_From, pointer> {};
288 is_same<_FromElem*, pointer>::value ||
289 (is_same<pointer, element_type*>::value &&
315 __enable_if_t< is_array<_Up>::value && is_same<pointer, element_type*>::value &&
316 is_same<typename _UPtr::pointer, _ElemT*>::value &&
321 __enable_if_t< (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
/freebsd-14.2/contrib/llvm-project/libcxx/include/__random/
H A Dis_seed_sequence.h26 …!is_convertible<_Sseq, typename _Engine::result_type>::value && !is_same<__remove_cv_t<_Sseq>, _En…
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h223 if (std::is_same<SecCommonFlags, SecFlagType>())
230 IsFlagLegal = std::is_same<SecNameTableFlags, SecFlagType>();
233 IsFlagLegal = std::is_same<SecProfSummaryFlags, SecFlagType>();
236 IsFlagLegal = std::is_same<SecFuncMetadataFlags, SecFlagType>();
240 IsFlagLegal = std::is_same<SecFuncOffsetFlags, SecFlagType>();
251 bool IsCommon = std::is_same<SecCommonFlags, SecFlagType>();
259 bool IsCommon = std::is_same<SecCommonFlags, SecFlagType>();
267 bool IsCommon = std::is_same<SecCommonFlags, SecFlagType>();
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DLog.h140 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in Category()
160 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in Channel()
316 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in GetLog()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DFunctionExtras.h67 std::enable_if_t<!std::is_same<remove_cvref_t<CallableT>, ThisT>::value>;
71 std::is_same<decltype(std::declval<CallableT>()(std::declval<Params>()...)),
73 std::is_same<const decltype(std::declval<CallableT>()(
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h216 if (std::is_same<Function,
219 std::is_same<Argument,
223 if (std::is_same<GlobalVariable,
/freebsd-14.2/contrib/llvm-project/libcxx/include/experimental/
H A D__memory18 #include <__type_traits/is_same.h>
41 is_same<erased_type, typename _Tp::allocator_type>::value > {};

123456