Home
last modified time | relevance | path

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

123456

/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_type_traits_test.cpp22 ASSERT_TRUE((is_same<unsigned, unsigned>::value)); in TEST()
23 ASSERT_TRUE((is_same<uptr, uptr>::value)); in TEST()
24 ASSERT_TRUE((is_same<sptr, sptr>::value)); in TEST()
25 ASSERT_TRUE((is_same<const uptr, const uptr>::value)); in TEST()
27 ASSERT_FALSE((is_same<unsigned, signed>::value)); in TEST()
28 ASSERT_FALSE((is_same<uptr, sptr>::value)); in TEST()
29 ASSERT_FALSE((is_same<uptr, const uptr>::value)); in TEST()
33 ASSERT_TRUE((is_same<int, conditional<true, int, double>::type>::value)); in TEST()
38 ASSERT_TRUE((is_same<int, remove_reference<int>::type>::value)); in TEST()
40 ASSERT_TRUE((is_same<int, remove_reference<int&>::type>::value)); in TEST()
[all …]
/openbsd/gnu/llvm/libcxx/include/__filesystem/
H A Du8path.h42 is_same<typename __is_pathable<_InputIt>::__char_type, char8_t>::value || in u8path()
44 is_same<typename __is_pathable<_InputIt>::__char_type, char>::value, in u8path()
66 is_same<typename __is_pathable<_InputIt>::__char_type, char8_t>::value || in u8path()
68 is_same<typename __is_pathable<_InputIt>::__char_type, char>::value, in u8path()
89 is_same<typename __is_pathable<_Source>::__char_type, char8_t>::value || in u8path()
91 is_same<typename __is_pathable<_Source>::__char_type, char>::value, in u8path()
/openbsd/gnu/llvm/libcxx/include/__numeric/
H A Dgcd_lcm.h67 …static_assert((!is_same<__remove_cv_t<_Tp>, bool>::value), "First argument to gcd cannot be bool" …
68 …static_assert((!is_same<__remove_cv_t<_Up>, bool>::value), "Second argument to gcd cannot be bool"…
82 …static_assert((!is_same<__remove_cv_t<_Tp>, bool>::value), "First argument to lcm cannot be bool" …
83 …static_assert((!is_same<__remove_cv_t<_Up>, bool>::value), "Second argument to lcm cannot be bool"…
/openbsd/gnu/llvm/libcxx/include/__type_traits/
H A Dis_always_bitcastable.h39 (is_same<_UnqualFrom, _UnqualTo>::value && is_trivially_copyable<_UnqualFrom>::value) ||
76 !is_same<_UnqualTo, bool>::value
H A Dis_void.h36 : 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
/openbsd/gnu/llvm/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>> {
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/
H A Dstandard_policies.hpp93 is_same<
128 is_same<
/openbsd/gnu/llvm/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>> {
/openbsd/gnu/llvm/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;
2205 static_assert(std::is_same<T, BinaryOperator>::value ||
[all …]
/openbsd/gnu/llvm/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 {};
/openbsd/gnu/llvm/libcxx/include/__memory/
H A Dcompressed_pair.h49 …template <class _Up, class = __enable_if_t<!is_same<__compressed_pair_elem, typename decay<_Up>::t…
78 …template <class _Up, class = __enable_if_t<!is_same<__compressed_pair_elem, typename decay<_Up>::t…
101 static_assert((!is_same<_T1, _T2>::value),
H A Dunique_ptr.h170 (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
225 is_same<_Dp, default_delete<_Tp> >::value,
250 is_same<_Dp, default_delete<_Tp> >::value,
317 struct _CheckArrayPointerConversion : is_same<_From, pointer> {};
322 is_same<_FromElem*, pointer>::value ||
323 (is_same<pointer, element_type*>::value &&
361 is_same<pointer, element_type*>::value &&
362 is_same<typename _UPtr::pointer, _ElemT*>::value &&
368 (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
/openbsd/gnu/llvm/libcxx/include/__algorithm/
H A Dmake_projected.h65 is_same<typename decay<_Proj>::type, identity>::value ||
67 is_same<typename decay<_Proj>::type, __identity>::value
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DFormatVariadicDetails.h83 std::enable_if_t<std::is_same<decltype(std::declval<llvm::raw_ostream &>()
150 !std::is_same<llvm::Error, std::remove_cv_t<T>>::value, in build_format_adapter()
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/
H A Dstandard_policies.hpp68 is_same<
/openbsd/gnu/llvm/libcxx/include/__random/
H A Dis_seed_sequence.h26 !is_same<__remove_cv_t<_Sseq>, _Engine>::value;
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/
H A DSampleProf.h226 if (std::is_same<SecCommonFlags, SecFlagType>())
233 IsFlagLegal = std::is_same<SecNameTableFlags, SecFlagType>();
236 IsFlagLegal = std::is_same<SecProfSummaryFlags, SecFlagType>();
239 IsFlagLegal = std::is_same<SecFuncMetadataFlags, SecFlagType>();
243 IsFlagLegal = std::is_same<SecFuncOffsetFlags, SecFlagType>();
254 bool IsCommon = std::is_same<SecCommonFlags, SecFlagType>();
262 bool IsCommon = std::is_same<SecCommonFlags, SecFlagType>();
270 bool IsCommon = std::is_same<SecCommonFlags, SecFlagType>();
/openbsd/gnu/llvm/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()
311 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in GetLog()
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h198 if (std::is_same<Function,
201 std::is_same<Argument,
205 if (std::is_same<GlobalVariable,
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/trie_policy/
H A Dnode_metadata_selector.hpp94 is_same<
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/tree_policy/
H A Dnode_metadata_selector.hpp94 is_same<
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DFunctionExtras.h66 std::enable_if_t<!std::is_same<remove_cvref_t<CallableT>, ThisT>::value>;
70 std::is_same<decltype(std::declval<CallableT>()(std::declval<Params>()...)),
72 std::is_same<const decltype(std::declval<CallableT>()(
/openbsd/gnu/llvm/clang/include/clang/Tooling/Refactoring/
H A DRefactoringOptionVisitor.h40 static auto check(ClassT *) -> typename std::is_same<
/openbsd/gnu/llvm/libcxx/include/__iterator/
H A Dreverse_iterator.h99 !is_same<_Up, _Iter>::value && is_convertible<_Up const&, _Iter>::value
107 !is_same<_Up, _Iter>::value &&
124 !is_same<_Up, _Iter>::value && is_convertible<_Up const&, _Iter>::value
132 !is_same<_Up, _Iter>::value &&

123456