Home
last modified time | relevance | path

Searched refs:decltype (Results 1 – 25 of 26) sorted by relevance

12

/art/runtime/
Dexperimental_flags.h33 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) {
Dclass_loader_utils.h154 VisitClassLoaderDexFiles<decltype(helper), void*>(soa, in VisitClassLoaderDexFiles()
Dcha.cc38 decltype(cha_dependency_map_)::value_type(method, ListOfDependentPairs())).first; in AddDependency()
/art/libartbase/base/
Dtransform_array_ref_test.cc46 using TarefIter = decltype(taref)::iterator; in TEST()
47 using ConstTarefIter = decltype(taref)::const_iterator; in TEST()
48 static_assert(std::is_same<int, decltype(taref)::value_type>::value, "value_type"); in TEST()
49 static_assert(std::is_same<TarefIter, decltype(taref)::pointer>::value, "pointer"); in TEST()
50 static_assert(std::is_same<int, decltype(taref)::reference>::value, "reference"); in TEST()
51 static_assert(std::is_same<ConstTarefIter, decltype(taref)::const_pointer>::value, in TEST()
53 static_assert(std::is_same<int, decltype(taref)::const_reference>::value, "const_reference"); in TEST()
87 using TarefIter = decltype(taref)::iterator; in TEST()
88 static_assert(std::is_same<void, decltype(taref)::const_iterator>::value, "const_iterator"); in TEST()
89 static_assert(std::is_same<int, decltype(taref)::value_type>::value, "value_type"); in TEST()
[all …]
Dtransform_iterator_test.cc48 using vector_titer = decltype(MakeTransformIterator(input.begin(), add1)); in TEST()
55 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1)); in TEST()
62 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1)); in TEST()
69 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1)); in TEST()
137 decltype(MakeTransformIterator(input.cbegin(), add1)) cit = it; in TEST()
138 static_assert(!std::is_same<decltype(it), decltype(cit)>::value, "Types must be different"); in TEST()
141 decltype(MakeTransformIterator(input.crbegin(), add1)) crit(rit); in TEST()
142 static_assert(!std::is_same<decltype(rit), decltype(crit)>::value, "Types must be different"); in TEST()
151 using list_titer = decltype(MakeTransformIterator(input.begin(), sub1)); in TEST()
158 using list_ctiter = decltype(MakeTransformIterator(input.cbegin(), sub1)); in TEST()
[all …]
Dbit_struct_detail.h82 static constexpr auto Test(void*) -> decltype(std::declval<C>()._, TrueT{});
88 static constexpr bool value = decltype(Test<T>(0))::value;
104 static_assert(std::is_same<decltype(GetMemberType(&T::_)), in ValidateBitStructSize()
Dsafe_copy_test.cc33 DCHECK_EQ(kPageSize, static_cast<decltype(kPageSize)>(PAGE_SIZE)); in TEST()
81 DCHECK_EQ(kPageSize, static_cast<decltype(kPageSize)>(PAGE_SIZE)); in TEST()
Diteration_range.h59 typedef typename std::reverse_iterator<decltype(c.begin())> riter; in ReverseRange()
Dlogging.cc111 buf_size = strlen(file) + 1 /* ':' */ + std::numeric_limits<decltype(line)>::max_digits10 + in LogLineLowStack()
Dtransform_array_ref.h44 using ConstIter = decltype(ConstIterHelper<Function>(*reinterpret_cast<int*>(0)));
/art/libdexfile/dex/
Ddex_file_types.h32 constexpr StringIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {} in StringIndex()
36 return index_ != std::numeric_limits<decltype(index_)>::max(); in IsValid()
39 return StringIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid()
67 constexpr TypeIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {} in TypeIndex()
71 return index_ != std::numeric_limits<decltype(index_)>::max(); in IsValid()
74 return TypeIndex(std::numeric_limits<decltype(index_)>::max()); in Invalid()
Ddex_file_verifier.h241 std::unordered_set<decltype(DexFile::ClassDef::class_idx_)> defined_classes_;
/art/cmdline/detail/
Dcmdline_parser_detail.h38 … 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;
Dcmdline_parse_argument_detail.h308 : argument_info_(std::forward<decltype(argument_info)>(argument_info)), in CmdlineParseArgument()
309 save_argument_(std::forward<decltype(save_argument)>(save_argument)), in CmdlineParseArgument()
310 load_argument_(std::forward<decltype(load_argument)>(load_argument)) { in CmdlineParseArgument()
/art/compiler/optimizing/
Dnodes_shared.h83 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,
Dregister_allocator_graph_color.cc548 ScopedArenaPriorityQueue<InterferenceNode*, decltype(&HasGreaterNodePriority)> spill_worklist_;
554 decltype(&CoalesceOpportunity::CmpPriority)> coalesce_worklist_;
/art/sigchainlib/
Dsigchain.cc114 static decltype(&sigaction) linked_sigaction;
115 static decltype(&sigprocmask) linked_sigprocmask;
118 static decltype(&sigaction64) linked_sigaction64;
119 static decltype(&sigprocmask64) linked_sigprocmask64;
220 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/
Dclasses_art.cc40 decltype(jvmtiEventCallbacks().ClassLoad) class_load,
41 decltype(jvmtiEventCallbacks().ClassPrepare) class_prepare) {
Dclasses.cc242 decltype(jvmtiEventCallbacks().ClassLoad) class_load,
243 decltype(jvmtiEventCallbacks().ClassPrepare) class_prepare) {
/art/openjdkjvmti/
Djvmti_weak_table-inl.h76 UpdateTableWith<decltype(WithReadBarrierUpdater), kIgnoreNull>(WithReadBarrierUpdater); in UpdateTableWithReadBarrier()
206 UpdateTableWith<decltype(IsMarkedUpdater), in SweepImpl()
Devents-inl.h132 using type = decltype(ArtJvmtiEventCallbacks().name); \
Dti_heap.cc436 RecursiveInterfaceVisit<decltype(visitor)>::VisitStatic(art::Thread::Current(), klass, visitor); in CountInterfaceFields()
/art/runtime/verifier/
Dreg_type_cache.cc344 using Type = typename decltype(type)::type; in CreatePrimitiveAndSmallConstantTypes()
/art/test/913-heaps/
Dheaps.cc1111 reinterpret_cast<decltype(callbacks.heap_iteration_callback)>(HeapIterationExtCallback); in Java_art_Test913_iterateThroughHeapExt()
/art/compiler/jni/
Djni_compiler_test.cc614 #define MAKE_JNI_TEST_DECORATOR(fn) make_jni_test_decorator<decltype(fn), (fn)>::apply
618 #define JNI_CRITICAL_WRAPPER(func) jni_remove_extra_parameters<decltype(func), (func)>::apply

12