/art/runtime/gc/space/ |
D | space-inl.h | 33 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()
|
D | image_space.cc | 641 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/ |
D | bb_optimizations.h | 36 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 …]
|
D | post_opt_passes.h | 39 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 …]
|
D | bb_optimizations.cc | 28 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()
|
D | post_opt_passes.cc | 28 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()
|
D | pass_driver_me_opts.cc | 76 const PassME* pass_me = down_cast<const PassME*> (pass); in ApplyPass() 79 PassMEDataHolder* pass_me_data_holder = down_cast<PassMEDataHolder*>(data); in ApplyPass()
|
D | pass_driver_me.h | 42 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/ |
D | reg_type_cache.cc | 319 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() 377 … down_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/ |
D | throwable.cc | 84 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()
|
D | object-inl.h | 204 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 …]
|
D | iftable.h | 38 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArray() 45 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArrayCount()
|
D | array-inl.h | 91 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()
|
D | stack_trace_element.cc | 46 down_cast<StackTraceElement*>(GetStackTraceElement()->AllocObject(self)); in Alloc()
|
D | string.cc | 128 String* string = down_cast<String*>(GetJavaLangString()->AllocObject(self)); in Alloc()
|
/art/runtime/ |
D | scoped_thread_state_change.h | 142 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()
|
D | thread_pool.cc | 209 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()
|
D | thread-inl.h | 33 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env)); in ThreadForEnv()
|
D | thread.cc | 845 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()
|
D | class_linker-inl.h | 181 return down_cast<mirror::IfTable*>( in AllocIfTable()
|
D | intern_table.cc | 302 root.Assign(down_cast<mirror::String*>(new_object)); in SweepInternTableWeaks()
|
/art/runtime/base/ |
D | casts.h | 67 inline To down_cast(From* f) { // so we only accept pointers in down_cast() function
|
/art/runtime/native/ |
D | java_lang_reflect_Array.cc | 40 hs.NewHandle(down_cast<mirror::IntArray*>(dimensions_obj))); in Array_createMultiArray()
|
D | java_lang_System.cc | 153 return down_cast<T*>(array); in AsPrimitiveArray()
|
/art/runtime/gc/ |
D | reference_queue.cc | 167 list_ = down_cast<mirror::Reference*>(callback(list_, arg)); in UpdateRoots()
|