Home
last modified time | relevance | path

Searched refs:down_cast (Results 1 – 25 of 39) sorted by relevance

12

/art/runtime/gc/space/
Dspace-inl.h33 return down_cast<ImageSpace*>(down_cast<MemMapSpace*>(this)); in AsImageSpace()
39 return down_cast<MallocSpace*>(down_cast<MemMapSpace*>(this)); in AsMallocSpace()
44 return down_cast<LargeObjectSpace*>(this); in AsLargeObjectSpace()
49 return down_cast<ContinuousSpace*>(this); in AsContinuousSpace()
54 return down_cast<DiscontinuousSpace*>(this); in AsDiscontinuousSpace()
Dimage_space.cc641 runtime->SetResolutionMethod(down_cast<mirror::ArtMethod*>(resolution_method)); in Init()
643 runtime->SetImtConflictMethod(down_cast<mirror::ArtMethod*>(imt_conflict_method)); in Init()
645 runtime->SetDefaultImt(down_cast<mirror::ObjectArray<mirror::ArtMethod>*>(default_imt)); in Init()
648 runtime->SetCalleeSaveMethod(down_cast<mirror::ArtMethod*>(callee_save_method), in Init()
651 runtime->SetCalleeSaveMethod(down_cast<mirror::ArtMethod*>(callee_save_method), in Init()
654 runtime->SetCalleeSaveMethod(down_cast<mirror::ArtMethod*>(callee_save_method), in Init()
/art/compiler/dex/
Dbb_optimizations.h36 CompilationUnit* cUnit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
43 CompilationUnit* cUnit = down_cast<const PassMEDataHolder*>(data)->c_unit; in Gate()
60 CompilationUnit* cUnit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
67 CompilationUnit* cUnit = down_cast<const PassMEDataHolder*>(data)->c_unit; in Gate()
86 CompilationUnit* cUnit = down_cast<const PassMEDataHolder*>(data)->c_unit; in Gate()
93 CompilationUnit* cUnit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
100 const PassMEDataHolder* pass_me_data_holder = down_cast<const PassMEDataHolder*>(data); in Worker()
112 CompilationUnit* cUnit = down_cast<PassMEDataHolder*>(data)->c_unit; in End()
129 CompilationUnit* cUnit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
149 CompilationUnit* cUnit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
[all …]
Dpost_opt_passes.h39 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
95 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
112 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
120 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in End()
140 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
157 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
174 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
192 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
209 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
227 CompilationUnit* c_unit = down_cast<const PassMEDataHolder*>(data)->c_unit; in Worker()
[all …]
Dbb_optimizations.cc28 const PassMEDataHolder* pass_me_data_holder = down_cast<const PassMEDataHolder*>(data); in Worker()
43 const PassMEDataHolder* pass_me_data_holder = down_cast<const PassMEDataHolder*>(data); in Worker()
59 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
Dpost_opt_passes.cc28 CompilationUnit* c_unit = down_cast<const PassMEDataHolder*>(data)->c_unit; in Gate()
41 const PassMEDataHolder* pass_me_data_holder = down_cast<const PassMEDataHolder*>(data); in Worker()
54 const PassMEDataHolder* pass_me_data_holder = down_cast<const PassMEDataHolder*>(data); in Worker()
79 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
Dpass_driver_me_opts.cc76 const PassME* pass_me = down_cast<const PassME*> (pass); in ApplyPass()
79 PassMEDataHolder* pass_me_data_holder = down_cast<PassMEDataHolder*>(data); in ApplyPass()
Dpass_driver_me.h42 const PassME* me_pass = down_cast<const PassME*>(pass); in DispatchPass()
126 const PassME* me_pass = (down_cast<const PassME*>(pass)); in RunPass()
/art/runtime/verifier/
Dreg_type_cache.cc319 types = (down_cast<UnresolvedMergedType*>(&left))->GetMergedTypes(); in FromUnresolvedMerge()
324 std::set<uint16_t> right_types = (down_cast<UnresolvedMergedType*>(&right))->GetMergedTypes(); in FromUnresolvedMerge()
334 (down_cast<UnresolvedMergedType*>(cur_entry))->GetMergedTypes(); in FromUnresolvedMerge()
344 UnresolvedMergedType* tmp_entry = down_cast<UnresolvedMergedType*>(entry); in FromUnresolvedMerge()
357 down_cast<UnresolvedSuperClass*>(cur_entry); in FromUnresolvedSuperClass()
377down_cast<UnresolvedUninitializedRefType*>(cur_entry)->GetAllocationPc() == allocation_pc && in Uninitialized()
379 return *down_cast<UnresolvedUninitializedRefType*>(cur_entry); in Uninitialized()
388 down_cast<UninitializedReferenceType*>(cur_entry) in Uninitialized()
391 return *down_cast<UninitializedReferenceType*>(cur_entry); in Uninitialized()
445 return *down_cast<ImpreciseConstType*>(&result); in ByteConstant()
[all …]
/art/runtime/mirror/
Dthrowable.cc84 ObjectArray<Object>* method_trace = down_cast<ObjectArray<Object>*>(stack_state); in Dump()
86 IntArray* pc_trace = down_cast<IntArray*>(method_trace->Get(depth)); in Dump()
91 mirror::ArtMethod* method = down_cast<ArtMethod*>(method_trace->Get(i)); in Dump()
105 down_cast<ObjectArray<StackTraceElement>*>(stack_trace); in Dump()
Dobject-inl.h204 return down_cast<Class*>(this); in AsClass()
217 return down_cast<ObjectArray<T>*>(this); in AsObjectArray()
235 return down_cast<ArtField*>(this); in AsArtField()
247 return down_cast<ArtMethod*>(this); in AsArtMethod()
258 return down_cast<Reference*>(this); in AsReference()
264 return down_cast<Array*>(this); in AsArray()
272 return down_cast<BooleanArray*>(this); in AsBooleanArray()
280 return down_cast<ByteArray*>(this); in AsByteArray()
289 return down_cast<ByteArray*>(this); in AsByteSizedArray()
297 return down_cast<CharArray*>(this); in AsCharArray()
[all …]
Diftable.h38 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArray()
45 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArrayCount()
Darray-inl.h91 Array* array = down_cast<Array*>(obj); in operator()
113 Array* array = down_cast<Array*>(obj); in operator()
145 result = down_cast<Array*>( in Alloc()
151 result = down_cast<Array*>( in Alloc()
178 return down_cast<PrimitiveArray<T>*>(raw_array); in Alloc()
Dstack_trace_element.cc46 down_cast<StackTraceElement*>(GetStackTraceElement()->AllocObject(self)); in Alloc()
Dstring.cc128 String* string = down_cast<String*>(GetJavaLangString()->AllocObject(self)); in Alloc()
/art/runtime/
Dscoped_thread_state_change.h142 return down_cast<T>(Self()->DecodeJObject(obj)); in Decode()
186 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->vm) { in ScopedObjectAccessAlreadyRunnable()
191 : self_(self), env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
198 : self_(nullptr), env_(nullptr), vm_(down_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable()
Dthread_pool.cc209 WorkStealingThreadPool* thread_pool = down_cast<WorkStealingThreadPool*>(thread_pool_); in Run()
211 WorkStealingTask* stealing_task = down_cast<WorkStealingTask*>(task); in Run()
296 WorkStealingWorker* worker = down_cast<WorkStealingWorker*>(threads_[steal_index_]); in FindTaskToStealFrom()
Dthread-inl.h33 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env)); in ThreadForEnv()
Dthread.cc845 ReaderWriterMutex* rw_mutex = down_cast<ReaderWriterMutex*>(mutex); in DumpState()
1552 mirror::ArtMethod* method = down_cast<mirror::ArtMethod*>(method_trace->Get(i)); in InternalStackTraceToStackTraceElementArray()
1562 mirror::IntArray* pc_trace = down_cast<mirror::IntArray*>(method_trace->Get(depth)); in InternalStackTraceToStackTraceElementArray()
1659 hs.NewHandle(down_cast<mirror::Throwable*>(exception_class->AllocObject(this)))); in ThrowNewWrappedException()
1704 exception->SetDetailMessage(down_cast<mirror::String*>(DecodeJObject(msg_string.get()))); in ThrowNewWrappedException()
1707 exception->SetCause(down_cast<mirror::Throwable*>(DecodeJObject(cause.get()))); in ThrowNewWrappedException()
1714 exception->SetStackState(down_cast<mirror::Throwable*>(DecodeJObject(trace.get()))); in ThrowNewWrappedException()
Dclass_linker-inl.h181 return down_cast<mirror::IfTable*>( in AllocIfTable()
Dintern_table.cc302 root.Assign(down_cast<mirror::String*>(new_object)); in SweepInternTableWeaks()
/art/runtime/base/
Dcasts.h67 inline To down_cast(From* f) { // so we only accept pointers in down_cast() function
/art/runtime/native/
Djava_lang_reflect_Array.cc40 hs.NewHandle(down_cast<mirror::IntArray*>(dimensions_obj))); in Array_createMultiArray()
Djava_lang_System.cc153 return down_cast<T*>(array); in AsPrimitiveArray()
/art/runtime/gc/
Dreference_queue.cc167 list_ = down_cast<mirror::Reference*>(callback(list_, arg)); in UpdateRoots()

12