/art/runtime/ |
D | experimental_flags.h | 33 constexpr ExperimentalFlags(decltype(kNone) t) // NOLINT [runtime/explicit] in ExperimentalFlags() 36 constexpr operator decltype(kNone)() const { in decltype() function 37 return static_cast<decltype(kNone)>(value_); in decltype() 44 constexpr ExperimentalFlags operator|(const decltype(kNone)& b) const { 45 return static_cast<decltype(kNone)>(value_ | static_cast<uint32_t>(b)); 48 return static_cast<decltype(kNone)>(value_ | b.value_); 52 return static_cast<decltype(kNone)>(value_ & b.value_); 54 constexpr ExperimentalFlags operator&(const decltype(kNone)& b) const { in decltype() function 55 return static_cast<decltype(kNone)>(value_ & static_cast<uint32_t>(b)); in decltype() 78 inline std::ostream& operator<<(std::ostream& stream, const decltype(ExperimentalFlags::kNone)& e) {
|
D | runtime_callbacks.cc | 37 ([this]() -> decltype(this->T) { \ 39 return std::vector<decltype(this->T)::value_type>(this->T); \
|
D | oat.cc | 83 static_assert(decltype(magic_)().size() == kOatMagic.size(), in OatHeader() 85 static_assert(decltype(version_)().size() == kOatVersion.size(), in OatHeader()
|
D | class_loader_utils.h | 177 VisitClassLoaderDexFiles<decltype(helper), void*>(soa, in VisitClassLoaderDexFiles()
|
/art/libdexfile/dex/ |
D | dex_file_types.h | 34 constexpr DexIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {} in DexIndex() 38 return index_ != std::numeric_limits<decltype(index_)>::max(); in IsValid() 41 return DexIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid() 66 explicit constexpr ProtoIndex(uint16_t index) : DexIndex<decltype(index_)>(index) {} in ProtoIndex() 68 return ProtoIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid() 76 explicit constexpr StringIndex(uint32_t index) : DexIndex<decltype(index_)>(index) {} in StringIndex() 78 return StringIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid() 88 return TypeIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid() 100 return hash<decltype(index.index_)>()(index.index_); 106 return hash<decltype(index.index_)>()(index.index_); [all …]
|
/art/libartbase/base/ |
D | transform_array_ref_test.cc | 45 using TarefIter = decltype(taref)::iterator; in TEST() 46 using ConstTarefIter = decltype(taref)::const_iterator; in TEST() 47 static_assert(std::is_same<int, decltype(taref)::value_type>::value, "value_type"); in TEST() 48 static_assert(std::is_same<TarefIter, decltype(taref)::pointer>::value, "pointer"); in TEST() 49 static_assert(std::is_same<int, decltype(taref)::reference>::value, "reference"); in TEST() 50 static_assert(std::is_same<ConstTarefIter, decltype(taref)::const_pointer>::value, in TEST() 52 static_assert(std::is_same<int, decltype(taref)::const_reference>::value, "const_reference"); in TEST() 86 using TarefIter = decltype(taref)::iterator; in TEST() 87 static_assert(std::is_same<void, decltype(taref)::const_iterator>::value, "const_iterator"); in TEST() 88 static_assert(std::is_same<int, decltype(taref)::value_type>::value, "value_type"); in TEST() [all …]
|
D | transform_iterator_test.cc | 47 using vector_titer = decltype(MakeTransformIterator(input.begin(), add1)); in TEST() 54 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1)); in TEST() 61 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1)); in TEST() 68 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1)); in TEST() 136 decltype(MakeTransformIterator(input.cbegin(), add1)) cit = it; in TEST() 137 static_assert(!std::is_same<decltype(it), decltype(cit)>::value, "Types must be different"); in TEST() 140 decltype(MakeTransformIterator(input.crbegin(), add1)) crit(rit); in TEST() 141 static_assert(!std::is_same<decltype(rit), decltype(crit)>::value, "Types must be different"); in TEST() 150 using list_titer = decltype(MakeTransformIterator(input.begin(), sub1)); in TEST() 157 using list_ctiter = decltype(MakeTransformIterator(input.cbegin(), sub1)); in TEST() [all …]
|
D | bit_struct_detail.h | 126 static constexpr auto Test(void*) -> decltype(std::declval<C>()._, TrueT{}); 132 static constexpr bool value = decltype(Test<T>(nullptr))::value; 148 static_assert(std::is_same<decltype(GetMemberType(&T::_)), in ValidateBitStructSize()
|
D | safe_copy_test.cc | 34 DCHECK_EQ(kPageSize, static_cast<decltype(kPageSize)>(PAGE_SIZE)); in TEST() 82 DCHECK_EQ(kPageSize, static_cast<decltype(kPageSize)>(PAGE_SIZE)); in TEST()
|
D | iteration_range.h | 64 typedef typename std::reverse_iterator<decltype(c.begin())> riter; in ReverseRange()
|
D | logging.cc | 138 buf_size = strlen(file) + 1 /* ':' */ + std::numeric_limits<decltype(line)>::max_digits10 + in LogLineLowStack()
|
D | transform_array_ref.h | 44 using ConstIter = decltype(ConstIterHelper<Function>(*reinterpret_cast<int*>(0)));
|
/art/libdexfile/external/include/art_api/ |
D | dex_file_support.h | 91 static decltype(ExtDexFileMakeString)* g_ExtDexFileMakeString; 92 static decltype(ExtDexFileGetString)* g_ExtDexFileGetString; 93 static decltype(ExtDexFileFreeString)* g_ExtDexFileFreeString; in decltype() function 229 static decltype(ExtDexFileOpenFromMemory)* g_ExtDexFileOpenFromMemory; 230 static decltype(ExtDexFileOpenFromFd)* g_ExtDexFileOpenFromFd; 231 static decltype(ExtDexFileGetMethodInfoForOffset)* g_ExtDexFileGetMethodInfoForOffset; 232 static decltype(ExtDexFileGetAllMethodInfos)* g_ExtDexFileGetAllMethodInfos; 233 static decltype(ExtDexFileFree)* g_ExtDexFileFree;
|
/art/libdexfile/external/ |
D | dex_file_supp.cc | 42 #define DEFINE_DLFUNC_PTR(CLASS, DLFUNC) decltype(DLFUNC)* CLASS::g_##DLFUNC = DLFUNC; 44 #define DEFINE_DLFUNC_PTR(CLASS, DLFUNC) decltype(DLFUNC)* CLASS::g_##DLFUNC = nullptr; 79 decltype(DLFUNC)* DLFUNC##_ptr = reinterpret_cast<decltype(DLFUNC)*>(dlsym(handle, #DLFUNC)); \ in FOR_ALL_DLFUNCS()
|
/art/cmdline/detail/ |
D | cmdline_parser_detail.h | 38 … std::remove_reference<decltype(os << value)>* = 0); // NOLINT [whitespace/operators] [3] 45 decltype(InsertionOperatorTest(FakeReference<TStream2>(), std::declval<T2>()))::value; 56 … std::remove_reference<decltype(left == right)>* = 0); // NOLINT [whitespace/operators] [3] 63 decltype(EqualityOperatorTest(std::declval<TLeft>(), std::declval<TRight>()))::value;
|
D | cmdline_parse_argument_detail.h | 362 : argument_info_(std::forward<decltype(argument_info)>(argument_info)), in CmdlineParseArgument() 363 save_argument_(std::forward<decltype(save_argument)>(save_argument)), in CmdlineParseArgument() 364 load_argument_(std::forward<decltype(load_argument)>(load_argument)) { in CmdlineParseArgument()
|
/art/compiler/optimizing/ |
D | nodes_shared.h | 83 auto Compute(T x, U y) const -> decltype(x & ~y) { 84 static_assert(std::is_same<decltype(x & ~y), decltype(x | ~y)>::value && 85 std::is_same<decltype(x & ~y), decltype(x ^ ~y)>::value,
|
D | nodes_x86.h | 179 auto Compute(T x) const -> decltype(x & (x-1)) { 180 static_assert(std::is_same<decltype(x & (x-1)), decltype(x ^(x-1))>::value,
|
/art/sigchainlib/ |
D | sigchain.cc | 93 static decltype(&sigaction) linked_sigaction; 94 static decltype(&sigprocmask) linked_sigprocmask; 97 static decltype(&sigaction64) linked_sigaction64; 98 static decltype(&sigprocmask64) linked_sigprocmask64; 218 if constexpr (std::is_same_v<decltype(action_), SigactionType>) { in GetAction() 235 if constexpr (std::is_same_v<decltype(action_), SigactionType>) { in SetAction()
|
/art/test/912-classes/ |
D | classes_art.cc | 40 decltype(jvmtiEventCallbacks().ClassLoad) class_load, 41 decltype(jvmtiEventCallbacks().ClassPrepare) class_prepare) {
|
/art/libnativeloader/ |
D | native_loader_lazy.cpp | 43 #define GET_FUNC_PTR(name) GetFuncPtr<decltype(&(name))>(#name)
|
/art/tools/jvmti-agents/dump-jvmti-state/ |
D | dump-jvmti.cc | 70 GetInternalData = reinterpret_cast<decltype(GetInternalData)>(cur_info->func); in SetupJvmtiEnv()
|
/art/libnativebridge/ |
D | native_bridge_lazy.cc | 43 #define GET_FUNC_PTR(name) GetFuncPtr<decltype(&(name))>(#name)
|
/art/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 76 UpdateTableWith<decltype(WithReadBarrierUpdater), kIgnoreNull>(WithReadBarrierUpdater); in UpdateTableWithReadBarrier() 206 UpdateTableWith<decltype(IsMarkedUpdater), in SweepImpl()
|
/art/test/ti-agent/ |
D | redefinition_helper.cc | 121 decltype(jvmti->functions->RedefineClasses) entrypoint = nullptr; in CallRedefineEntrypoint() 125 entrypoint = GetExtensionFunction<decltype(entrypoint)>( in CallRedefineEntrypoint()
|