Home
last modified time | relevance | path

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

/system/ulib/ddktl/include/ddktl/
A Ddevice-internal.h44 using is_base_proto = std::is_same<internal::base_protocol, T>;
118 static_assert(std::is_same<decltype(&D::DdkGetProtocol), in CheckGetProtocolable()
131 static_assert(std::is_same<decltype(&D::DdkOpen), in CheckOpenable()
146 std::is_same<decltype(&D::DdkOpenAt), in CheckOpenAtable()
173 static_assert(std::is_same<decltype(&D::DdkUnbind), void (D::*)(void)>::value, in CheckUnbindable()
185 static_assert(std::is_same<decltype(&D::DdkRelease), void (D::*)(void)>::value, in CheckReleasable()
197 static_assert(std::is_same<decltype(&D::DdkRead), in CheckReadable()
211 static_assert(std::is_same<decltype(&D::DdkWrite), in CheckWritable()
225 static_assert(std::is_same<decltype(&D::DdkGetSize), zx_off_t (D::*)(void)>::value, in CheckGetSizable()
238 static_assert(std::is_same<decltype(&D::DdkIoctl), in CheckIoctlable()
[all …]
/system/utest/fit/
A Dpromise_tests.cpp994 static_assert(std::is_same<
1000 static_assert(std::is_same<
1006 static_assert(std::is_same<
1014 static_assert(std::is_same<
1020 static_assert(std::is_same<
1026 static_assert(std::is_same<
1034 static_assert(std::is_same<
1040 static_assert(std::is_same<
1046 static_assert(std::is_same<
1054 static_assert(std::is_same<
[all …]
A Dtraits_tests.cpp14 static_assert(std::is_same<fit::void_t<>, void>::value, "");
15 static_assert(std::is_same<fit::void_t<int>, void>::value, "");
16 static_assert(std::is_same<fit::void_t<int, int>, void>::value, "");
A Dnullable_tests.cpp164 static_assert(std::is_same<int, fit::nullable<int>::value_type>::value, "");
165 static_assert(std::is_same<void*, fit::nullable<void*>::value_type>::value, "");
166 static_assert(std::is_same<decltype(&function),
A Doptional_tests.cpp63 static_assert(std::is_same<int, fit::optional<int>::value_type>::value, "");
/system/ulib/fbl/include/fbl/
A Drecycler.h88 static_assert(is_same<T, T>::value == false,
121 typename enable_if<is_same<typename remove_cv<T>::type, T>::value>::type> {
132 static_assert(is_same<decltype(&T::fbl_recycle), void (T::*)(void)>::value,
A Datomic.h67 static_assert(!is_same<T, wchar_t>::value, "fbl::atomic does not support wide characters");
145 static_assert(!fbl::is_same<T, bool>::value, "no arithmetic on atomic<bool>!");
149 static_assert(!fbl::is_same<T, bool>::value, "no arithmetic on atomic<bool>!");
154 static_assert(!fbl::is_same<T, bool>::value, "no arithmetic on atomic<bool>!");
158 static_assert(!fbl::is_same<T, bool>::value, "no arithmetic on atomic<bool>!");
163 static_assert(!fbl::is_same<T, bool>::value, "no arithmetic on atomic<bool>!");
167 static_assert(!fbl::is_same<T, bool>::value, "no arithmetic on atomic<bool>!");
172 static_assert(!fbl::is_same<T, bool>::value, "no arithmetic on atomic<bool>!");
176 static_assert(!fbl::is_same<T, bool>::value, "no arithmetic on atomic<bool>!");
181 static_assert(!fbl::is_same<T, bool>::value, "no arithmetic on atomic<bool>!");
[all …]
A Dvector.h231 typename = typename enable_if<is_same<internal::remove_cv_ref<U>, T>::value>::type>
240 typename = typename enable_if<is_same<internal::remove_cv_ref<U>, T>::value>::type>
251 typename = typename enable_if<is_same<internal::remove_cv_ref<U>, T>::value>::type>
261 typename = typename enable_if<is_same<internal::remove_cv_ref<U>, T>::value>::type>
271 typename = typename enable_if<is_same<internal::remove_cv_ref<U>, T>::value>::type>
A Dref_ptr.h78 is_same<T, const U>::value), in RefPtr()
113 is_same<T, const U>::value), in RefPtr()
146 static_assert(is_same<BaseRefPtr, RefPtr<typename BaseRefPtr::ObjType>>::value, in Downcast()
A Dtype_support.h180 template<class T, class U> struct is_same : false_type {};
181 template<class T> struct is_same<T, T> : true_type {};
435 is_same<internal::func_tag,
A Dunique_ptr.h112 static_assert(is_same<T, const U>::value || in unique_ptr()
/system/ulib/fidl/include/lib/fidl/llcpp/
A Dencoded_message.h93 std::is_same< in decltype()
96 std::is_same< in decltype()
/system/ulib/fit/include/lib/fit/
A Dpromise_internal.h259 std::is_same<context_arg_type, ::fit::context&>::value,
309 (std::is_same<result_arg_type, PriorResult>::value &&
311 std::is_same<result_arg_type, PriorResult&>::value ||
312 std::is_same<result_arg_type, const PriorResult&>::value,
343 (std::is_same<value_arg_type, V>::value &&
345 std::is_same<value_arg_type, V&>::value ||
346 std::is_same<value_arg_type, const V&>::value,
396 (std::is_same<error_arg_type, E>::value &&
398 std::is_same<error_arg_type, E&>::value ||
399 std::is_same<error_arg_type, const E&>::value,
/system/ulib/lockdep/include/lockdep/
A Dguard.h40 fbl::is_same<GetLockType<T>, LockType>::value &&
46 fbl::is_same<GetLockType<T>, LockType>::value &&
61 !fbl::is_same<LockPolicy<LockType, Option>, AmbiguousOption>::value,
/system/utest/int-types/
A Dint-types.cpp220 static_assert(std::is_same<intmax_t, decltype(INTMAX_C(0))>::value, "");
221 static_assert(std::is_same<intmax_t, decltype(INTMAX_C(-0x7fffffffffffffff - 1))>::value, "");
222 static_assert(std::is_same<intmax_t, decltype(INTMAX_C(0x7fffffffffffffff))>::value, "");
227 static_assert(std::is_same<uintmax_t, decltype(UINTMAX_C(0))>::value, "");
228 static_assert(std::is_same<uintmax_t, decltype(UINTMAX_C(0xffffffffffffffff))>::value, "");
/system/ulib/hwreg/include/hwreg/
A Dbitfields.h100 static_assert(fbl::is_same<PrinterState, void>::value ||
101 fbl::is_same<PrinterState, EnablePrinter>::value, "unsupported printer state");
105 using PrinterEnabled = fbl::is_same<PrinterState, EnablePrinter>;
/system/ulib/zx/include/lib/zx/
A Dobject.h82 static_assert(is_same<T, void>::value, "Receiver must be compatible."); in object()
86 static_assert(is_same<T, void>::value, "Receiver must be compatible.");
187 template <typename A, typename B> struct is_same { struct
191 template <typename A> struct is_same<A, A> { argument
/system/utest/fbl/
A Dtype_support_tests.cpp186 static_assert(fbl::is_same<fbl::underlying_type<int_enum>::type, int>::value, "expected int");
187 static_assert(fbl::is_same<fbl::underlying_type<char_enum>::type, char>::value, "expected char");
190 static_assert(fbl::is_same<fbl::match_cv<int, void>::type, void>::value, "wrong type");
191 static_assert(fbl::is_same<fbl::match_cv<const int, void>::type, const void>::value,
193 static_assert(fbl::is_same<fbl::match_cv<volatile void, char>::type, volatile char>::value,
195 static_assert(fbl::is_same<fbl::match_cv<const int, const char>::type, const char>::value,
197 static_assert(fbl::is_same<fbl::match_cv<const int, volatile char>::type, const char>::value,
199 static_assert(fbl::is_same<fbl::match_cv<char, const volatile void>::type, void>::value,
556 static_assert(fbl::is_same<fbl::conditional<true, int, bool>::type, int>::value, "wrong type");
557 static_assert(fbl::is_same<fbl::conditional<false, int, bool>::type, bool>::value, "wrong type");
A Datomic_tests.cpp146 return fbl::is_same<T, fbl::atomic_char>::value || in IsSameAsSomeBuiltin()
147 fbl::is_same<T, fbl::atomic_schar>::value || in IsSameAsSomeBuiltin()
148 fbl::is_same<T, fbl::atomic_uchar>::value || in IsSameAsSomeBuiltin()
149 fbl::is_same<T, fbl::atomic_short>::value || in IsSameAsSomeBuiltin()
150 fbl::is_same<T, fbl::atomic_ushort>::value || in IsSameAsSomeBuiltin()
151 fbl::is_same<T, fbl::atomic_int>::value || in IsSameAsSomeBuiltin()
152 fbl::is_same<T, fbl::atomic_uint>::value || in IsSameAsSomeBuiltin()
153 fbl::is_same<T, fbl::atomic_long>::value || in IsSameAsSomeBuiltin()
154 fbl::is_same<T, fbl::atomic_ulong>::value || in IsSameAsSomeBuiltin()
155 fbl::is_same<T, fbl::atomic_llong>::value || in IsSameAsSomeBuiltin()
[all …]
/system/ulib/fidl-utils/include/lib/fidl-utils/
A Dbind.h103 static_assert(std::is_same<decltype(Dispatch),
/system/dev/tee/optee/
A Doptee-message.h138 static_assert(fbl::is_same<PtrType, SharedMemory*>::value ||
139 fbl::is_same<PtrType, fbl::unique_ptr<SharedMemory>>::value,
/system/dev/block/fvm/
A Dvpartition.cpp472 static_assert(fbl::is_same<decltype(info_out), decltype(&info_)>::value, "Info type mismatch"); in BlockImplQuery()
/system/host/fidl/include/fidl/
A Dflat_ast.h122 static_assert(std::is_arithmetic<ValueType>::value && !std::is_same<ValueType, bool>::value,
/system/host/fidl/lib/
A Dflat_ast.cpp2619 static_assert(std::is_integral<MemberType>::value && !std::is_same<MemberType, bool>::value, in ValidateEnumMembers()

Completed in 788 milliseconds