| /system/ulib/fit/include/lib/fit/ |
| A D | defer.h | 27 explicit deferred_action(decltype(nullptr)) {} in deferred_action() 73 deferred_action& operator=(decltype(nullptr)) { in decltype() function 92 bool operator==(const deferred_action<T>& action, decltype(nullptr)) { 96 bool operator==(decltype(nullptr), const deferred_action<T>& action) { 100 bool operator!=(const deferred_action<T>& action, decltype(nullptr)) { 104 bool operator!=(decltype(nullptr), const deferred_action<T>& action) {
|
| A D | nullable.h | 30 struct is_null_predicate<T, decltype(std::declval<const T&>() == nullptr)> { 54 std::is_constructible<T, decltype(nullptr)>::value && 55 std::is_assignable<T&, decltype(nullptr)>::value && 79 explicit constexpr nullable(decltype(nullptr)) {} 107 nullable& operator=(decltype(nullptr)) { 132 explicit constexpr nullable(decltype(nullptr)) 182 nullable& operator=(decltype(nullptr)) { 209 constexpr bool operator==(const nullable<T>& lhs, decltype(nullptr)) { 213 constexpr bool operator!=(const nullable<T>& lhs, decltype(nullptr)) { 218 constexpr bool operator==(decltype(nullptr), const nullable<T>& rhs) { [all …]
|
| A D | function.h | 84 using null_target_type = target_type<decltype(nullptr)>; 96 function_impl(decltype(nullptr)) { in function_impl() 114 decltype(std::declval<Callable&>()( 144 function_impl& operator=(decltype(nullptr)) { in decltype() function 155 decltype(std::declval<Callable&>()( 286 decltype(nullptr)) { 290 bool operator==(decltype(nullptr), 296 decltype(nullptr)) { 300 bool operator!=(decltype(nullptr),
|
| A D | promise.h | 316 explicit promise_impl(decltype(nullptr)) {} in promise_impl() 391 promise_impl& operator=(decltype(nullptr)) { in decltype() function 709 decltype(auto) wrap_with(Wrapper& wrapper, Args... args) { in decltype() function 764 decltype(nullptr)) { 768 bool operator==(decltype(nullptr), 774 decltype(nullptr)) { 778 bool operator!=(decltype(nullptr), 985 future_impl(decltype(nullptr)) {} in future_impl() 1186 future_impl& operator=(decltype(nullptr)) { in decltype() function 1236 bool operator==(const future_impl<Promise>& f, decltype(nullptr)) { [all …]
|
| A D | traits.h | 59 struct callable_traits : public callable_traits<decltype(&T::operator())> {}; 105 struct is_callable<T, void_t<decltype(&T::operator())>>
|
| /system/ulib/zircon/ |
| A D | private.h | 22 __LOCAL decltype(zx_ticks_get) CODE_soft_ticks_get; 29 decltype(name) name __WEAK_ALIAS("_" #name); \ 30 decltype(name) VDSO_##name __LOCAL __ALIAS("_" #name)
|
| /system/ulib/fbl/include/fbl/ |
| A D | unique_free_ptr.h | 21 constexpr unique_free_ptr(decltype(nullptr)) : unique_free_ptr() {} in unique_free_ptr() 35 unique_free_ptr& operator=(decltype(nullptr)) { in decltype() function 41 bool operator==(decltype(nullptr)) const { return (ptr_ == nullptr); } 42 bool operator!=(decltype(nullptr)) const { return (ptr_ != nullptr); } 91 static inline bool operator==(decltype(nullptr), const unique_free_ptr<T>& ptr) { 96 static inline bool operator!=(decltype(nullptr), const unique_free_ptr<T>& ptr) {
|
| A D | macros.h | 54 template <typename C> static std::true_type test( decltype(&C::fn_name) ); \ 58 static constexpr bool value = decltype(test<T>(nullptr))::value; \ 72 template <typename C> static std::true_type test( decltype(static_cast<sig>(&C::fn_name)) ); \ 76 static constexpr bool value = decltype(test<T>(nullptr))::value; \
|
| A D | unique_ptr.h | 27 constexpr unique_ptr(decltype(nullptr)) : unique_ptr() {} in unique_ptr() 41 unique_ptr& operator=(decltype(nullptr)) { in decltype() function 47 bool operator==(decltype(nullptr)) const { return (ptr_ == nullptr); } 48 bool operator!=(decltype(nullptr)) const { return (ptr_ != nullptr); } 139 constexpr unique_ptr(decltype(nullptr)) : unique_ptr() {} in unique_ptr() 156 bool operator==(decltype(nullptr)) const { return (ptr_ == nullptr); } 157 bool operator!=(decltype(nullptr)) const { return (ptr_ != nullptr); } 203 static inline bool operator==(decltype(nullptr), const unique_ptr<T>& ptr) { 208 static inline bool operator!=(decltype(nullptr), const unique_ptr<T>& ptr) {
|
| A D | ref_ptr.h | 55 constexpr RefPtr(decltype(nullptr)) in RefPtr() 191 bool operator==(decltype(nullptr)) const { return (ptr_ == nullptr); } 192 bool operator!=(decltype(nullptr)) const { return (ptr_ != nullptr); } 229 static inline bool operator==(decltype(nullptr), const RefPtr<T>& ptr) { 234 static inline bool operator!=(decltype(nullptr), const RefPtr<T>& ptr) {
|
| A D | type_support.h | 41 struct is_null_pointer<decltype(nullptr)> : true_type {}; 44 struct is_null_pointer<const decltype(nullptr)> : true_type {}; 47 struct is_null_pointer<volatile decltype(nullptr)> : true_type {}; 50 struct is_null_pointer<const volatile decltype(nullptr)> : true_type {}; 160 template <typename T, decltype(sizeof(nullptr)) N> 361 decltype(test(make_from_type()))::value; 436 … decltype(internal::choose<T>(internal::make<T>(0)))
|
| A D | function.h | 30 struct NullEq<T, decltype(*static_cast<T*>(nullptr) == nullptr)> { 211 Function(decltype(nullptr)) { holder_.InitializeNullTarget(); } 242 Function& operator=(decltype(nullptr)) { 438 decltype(nullptr)) { 443 decltype(nullptr)) { 447 bool operator==(decltype(nullptr), 452 bool operator!=(decltype(nullptr),
|
| /system/ulib/ddktl/include/ddktl/ |
| A D | device-internal.h | 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() 160 static_assert(std::is_same<decltype(&D::DdkClose), zx_status_t (D::*)(uint32_t)>::value, in CheckClosable() 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/ctor/dso-ctor/ |
| A D | dso-ctor.cpp | 36 EXPECT_TRUE(decltype(dso_tlocal)::check_before_reference()); in check_dso_tlocal_in_thread() 38 EXPECT_TRUE(decltype(dso_tlocal)::check_after_reference()); in check_dso_tlocal_in_thread() 44 EXPECT_TRUE(decltype(dso_tlocal)::check_after_join()); in check_dso_tlocal_after_join()
|
| /system/utest/fbl/ |
| A D | type_info_tests.cpp | 43 EXPECT_STR_NE(fbl::TypeInfo<decltype(lambda)>::Name(), ""); in type_info_test() 46 EXPECT_STR_EQ(fbl::TypeInfo<decltype(array)>::Name(), "char [10]"); in type_info_test() 49 EXPECT_STR_EQ(fbl::TypeInfo<decltype(array_reference)>::Name(), "char (&)[10]"); in type_info_test()
|
| A D | type_support_tests.cpp | 23 static_assert(fbl::is_null_pointer<decltype(nullptr)>::value, ""); 24 static_assert(fbl::is_null_pointer<const decltype(nullptr)>::value, ""); 519 static_assert( fbl::is_pointer<decltype(&SomeGlobalFunc)>::value, 523 static_assert(!fbl::is_pointer<decltype(nullptr)>::value, 589 static_assert(!has_simple<decltype(nullptr)>::value, ""); 595 static_assert(!has_overloaded<decltype(nullptr)>::value, ""); 601 static_assert(!has_simple_void<decltype(nullptr)>::value, ""); 607 static_assert(!has_simple_int<decltype(nullptr)>::value, ""); 675 static_assert(!fbl::is_function<decltype(nullptr)>::value, ""); 678 static_assert(!fbl::is_function<decltype(nullptr)*>::value, ""); [all …]
|
| /system/utest/ctor/ |
| A D | ctor.cpp | 45 EXPECT_TRUE(decltype(tlocal)::check_before_reference()); in do_thread_local_dtor_test() 47 EXPECT_TRUE(decltype(tlocal)::check_after_reference()); in do_thread_local_dtor_test() 60 EXPECT_TRUE(decltype(tlocal)::check_after_join()); in check_thread_local_ctor_dtor()
|
| /system/utest/fit/ |
| A D | nullable_tests.cpp | 15 constexpr bool operator==(decltype(nullptr)) const { return value == -1; } in operator ==() 24 constexpr explicit nullable_struct(decltype(nullptr)) in nullable_struct() 38 nullable_struct& operator=(decltype(nullptr)) { in operator =() 101 constexpr void operator==(decltype(nullptr)) const {} in operator ==() 140 static_assert(fit::is_nullable<decltype(nullptr)>::value, ""); 146 static_assert(!fit::is_nullable<decltype(function)>::value, ""); 147 static_assert(fit::is_nullable<decltype(&function)>::value, ""); 148 static_assert(!fit::is_nullable<decltype(lambda)>::value, ""); 149 static_assert(fit::is_nullable<decltype(&lambda)>::value, ""); 166 static_assert(std::is_same<decltype(&function), [all …]
|
| A D | promise_tests.cpp | 30 decltype(auto) wrap(Promise promise) { in wrap() 275 static_assert(std::is_same<int, decltype(p)::value_type>::value, ""); in make_promise() 389 static_assert(std::is_same<int, decltype(p)::value_type>::value, ""); in make_promise_with_continuation() 390 static_assert(std::is_same<char, decltype(p)::error_type>::value, ""); in make_promise_with_continuation() 910 static_assert(std::is_same<void, decltype(p)::value_type>::value, ""); in wrap_with_combinator() 911 static_assert(std::is_same<void, decltype(p)::error_type>::value, ""); in wrap_with_combinator() 1123 decltype(result_continuation_lambda), 1129 decltype(value_continuation_lambda), 1135 decltype(error_continuation_lambda), 1163 decltype(continuation_lambda)>::value, [all …]
|
| A D | traits_tests.cpp | 77 using Traits = CallableTraitsTest<decltype(lambda)>::Traits; 109 static_assert(fit::is_callable<decltype(lambda_traits::lambda)>::value, "");
|
| /system/dev/tee/optee/ |
| A D | optee-smc.h | 13 alignas(alignof(decltype(zx_smc_parameters_t::func_id))) uint32_t func_id; \ 14 alignas(alignof(decltype(zx_smc_parameters_t::arg1))) type1 name1; \ 15 alignas(alignof(decltype(zx_smc_parameters_t::arg2))) type2 name2; \ 16 alignas(alignof(decltype(zx_smc_parameters_t::arg3))) type3 name3; \ 17 alignas(alignof(decltype(zx_smc_parameters_t::arg4))) type4 name4; \ 18 alignas(alignof(decltype(zx_smc_parameters_t::arg5))) type5 name5; \ 19 alignas(alignof(decltype(zx_smc_parameters_t::arg6))) type6 name6;
|
| A D | tee-smc.h | 12 alignas(alignof(decltype(zx_smc_result_t::arg0))) type0 name0; \ 13 alignas(alignof(decltype(zx_smc_result_t::arg1))) type1 name1; \ 14 alignas(alignof(decltype(zx_smc_result_t::arg2))) type2 name2; \ 15 alignas(alignof(decltype(zx_smc_result_t::arg3))) type3 name3;
|
| /system/ulib/fidl-utils/include/lib/fidl-utils/ |
| A D | bind.h | 62 typename U = typename internal::MemberFunctionTraits<decltype(Fn)>::instance_type, 68 return (instance->*Fn)(static_cast<decltype(args)&&>(args)...); 103 static_assert(std::is_same<decltype(Dispatch),
|
| /system/ulib/hwreg/include/hwreg/ |
| A D | bitfields.h | 287 typename fbl::remove_reference<decltype(FIELD)>::type>::value, \ 290 static_assert((BIT_HIGH) < sizeof(decltype(FIELD)) * CHAR_BIT, "Upper bit is out of range"); \ 291 typename fbl::remove_reference<decltype(FIELD)>::type NAME() const { \ 292 return hwreg::BitfieldRef<const typename fbl::remove_reference<decltype(FIELD)>::type>( \ 295 void set_ ## NAME(typename fbl::remove_reference<decltype(FIELD)>::type val) { \ 296 hwreg::BitfieldRef<typename fbl::remove_reference<decltype(FIELD)>::type>( \
|
| /system/utest/int-types/ |
| A D | int-types.cpp | 220 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, "");
|