/art/runtime/mirror/ |
D | object-inl.h | 93 return down_cast<Class*>(this); in AsClass() 98 return down_cast<const Class*>(this); in AsClass() 108 return down_cast<ObjectArray<T>*>(this); in AsObjectArray() 114 return down_cast<const ObjectArray<T>*>(this); in AsObjectArray() 127 return down_cast<ArtField*>(this); in AsArtField() 132 return down_cast<const ArtField*>(this); in AsArtField() 141 return down_cast<ArtMethod*>(this); in AsArtMethod() 146 return down_cast<const ArtMethod*>(this); in AsArtMethod() 155 return down_cast<Array*>(this); in AsArray() 160 return down_cast<const Array*>(this); in AsArray() [all …]
|
D | throwable.cc | 63 ObjectArray<Object>* method_trace = down_cast<ObjectArray<Object>*>(stack_state); in Dump() 65 IntArray* pc_trace = down_cast<IntArray*>(method_trace->Get(depth)); in Dump() 68 ArtMethod* method = down_cast<ArtMethod*>(method_trace->Get(i)); in Dump()
|
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 | stack_trace_element.cc | 46 down_cast<StackTraceElement*>(GetStackTraceElement()->AllocObject(self)); in Alloc()
|
D | array.cc | 55 Array* array = down_cast<Array*>(heap->AllocObject(self, array_class, size)); in Alloc() 149 return down_cast<PrimitiveArray<T>*>(raw_array); in Alloc()
|
D | string.cc | 172 String* string = down_cast<String*>(java_lang_String->AllocObject(self)); in Alloc()
|
/art/runtime/gc/space/ |
D | space-inl.h | 31 return down_cast<ImageSpace*>(down_cast<MemMapSpace*>(this)); in AsImageSpace() 36 return down_cast<DlMallocSpace*>(down_cast<MemMapSpace*>(this)); in AsDlMallocSpace()
|
D | image_space.cc | 215 runtime->SetResolutionMethod(down_cast<mirror::ArtMethod*>(resolution_method)); in Init() 218 …runtime->SetCalleeSaveMethod(down_cast<mirror::ArtMethod*>(callee_save_method), Runtime::kSaveAll); in Init() 220 …runtime->SetCalleeSaveMethod(down_cast<mirror::ArtMethod*>(callee_save_method), Runtime::kRefsOnly… in Init() 222 …runtime->SetCalleeSaveMethod(down_cast<mirror::ArtMethod*>(callee_save_method), Runtime::kRefsAndA… in Init() 253 down_cast<mirror::String*>(image_header.GetImageRoot(ImageHeader::kOatLocation)); in OpenOatFile()
|
/art/runtime/verifier/ |
D | reg_type_cache.cc | 282 types = (down_cast<UnresolvedMergedType*>(&non_const))->GetMergedTypes(); in FromUnresolvedMerge() 288 … std::set<uint16_t> right_types = (down_cast<UnresolvedMergedType*>(&non_const))->GetMergedTypes(); in FromUnresolvedMerge() 298 (down_cast<UnresolvedMergedType*>(cur_entry))->GetMergedTypes(); in FromUnresolvedMerge() 308 UnresolvedMergedType* tmp_entry = down_cast<UnresolvedMergedType*>(entry); in FromUnresolvedMerge() 321 down_cast<UnresolvedSuperClass*>(cur_entry); in FromUnresolvedSuperClass() 342 … down_cast<UnresolvedUninitializedRefType*>(cur_entry)->GetAllocationPc() == allocation_pc && in Uninitialized() 353 down_cast<UninitializedReferenceType*>(cur_entry) in Uninitialized() 450 (down_cast<ConstantType*>(cur_entry))->ConstantValue() == value) { in FromCat1Const() 468 (down_cast<ConstantType*>(cur_entry))->ConstantValueLo() == value) { in FromCat2ConstLo() 486 (down_cast<ConstantType*>(cur_entry))->ConstantValueHi() == value) { in FromCat2ConstHi()
|
D | reg_type.cc | 592 UnresolvedMergedType* left = down_cast<UnresolvedMergedType*>(&__left); in GetMergedTypes() 596 UnresolvedMergedType* right = down_cast<UnresolvedMergedType*>(&_right); in GetMergedTypes()
|
D | reg_type_test.cc | 469 …std::set<uint16_t> merged_ids = (down_cast<UnresolvedMergedType*>(&merged_nonconst))->GetMergedTyp… in TEST_F()
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 135 space::LargeObjectSpace* space = down_cast<space::LargeObjectSpace*>(disc_space); in SwapBitmaps() 140 down_cast<space::LargeObjectSpace*>(space)->SwapBitmaps(); in SwapBitmaps()
|
/art/runtime/base/ |
D | casts.h | 67 inline To down_cast(From* f) { // so we only accept pointers in down_cast() function
|
/art/runtime/ |
D | sirt_ref.h | 39 return down_cast<T*>(sirt_.GetReference(0)); in get()
|
D | thread_pool.cc | 205 WorkStealingThreadPool* thread_pool = down_cast<WorkStealingThreadPool*>(thread_pool_); in Run() 207 WorkStealingTask* stealing_task = down_cast<WorkStealingTask*>(task); in Run() 292 WorkStealingWorker* worker = down_cast<WorkStealingWorker*>(threads_[steal_index_]); in FindTaskToStealFrom()
|
D | class_linker-inl.h | 119 return down_cast<mirror::IfTable*>( in AllocIfTable()
|
D | scoped_thread_state_change.h | 202 return down_cast<T>(Self()->DecodeJObject(obj)); in Decode()
|
D | runtime.cc | 687 mirror::ClassLoader* class_loader = down_cast<mirror::ClassLoader*>(result.GetL()); in CreateSystemClassLoader() 1176 method(self, down_cast<mirror::ArtMethod*>(method_class->AllocObject(self))); in CreateResolutionMethod() 1192 method(self, down_cast<mirror::ArtMethod*>(method_class->AllocObject(self))); in CreateCalleeSaveMethod()
|
D | thread.cc | 1414 mirror::ArtMethod* method = down_cast<mirror::ArtMethod*>(method_trace->Get(i)); in InternalStackTraceToStackTraceElementArray() 1424 mirror::IntArray* pc_trace = down_cast<mirror::IntArray*>(method_trace->Get(depth)); in InternalStackTraceToStackTraceElementArray() 1460 method_trace = down_cast<ObjectArray<Object>*>(Decode<Object*>(soa.Env(), internal)); in InternalStackTraceToStackTraceElementArray() 1461 pc_trace = down_cast<IntArray*>(method_trace->Get(depth)); in InternalStackTraceToStackTraceElementArray() 1521 down_cast<mirror::Throwable*>(exception_class->AllocObject(this))); in ThrowNewWrappedException()
|
D | class_linker.cc | 214 down_cast<mirror::Class*>(heap->AllocObject(self, NULL, in InitFromCompiler() 1181 down_cast<mirror::DexCache*>(heap->AllocObject(self, dex_cache_class, in AllocDexCache() 1250 return down_cast<mirror::ArtField*>(GetClassRoot(kJavaLangReflectArtField)->AllocObject(self)); in AllocArtField() 1254 return down_cast<mirror::ArtMethod*>(GetClassRoot(kJavaLangReflectArtMethod)->AllocObject(self)); in AllocArtMethod() 2770 down_cast<mirror::SynthesizedProxyClass*>(klass.get()); in CreateProxyClass() 2822 down_cast<mirror::ArtMethod*>(proxy_constructor->Clone(self)); in CreateProxyConstructor() 2850 mirror::ArtMethod* method = down_cast<mirror::ArtMethod*>(prototype->Clone(self)); in CreateProxyMethod() 3575 iftable.reset(down_cast<mirror::IfTable*>(iftable->CopyOf(self, idx * mirror::IfTable::kMax))); in LinkInterfaceMethods() 3644 miranda_method.reset(down_cast<mirror::ArtMethod*>(interface_method->Clone(self))); in LinkInterfaceMethods()
|
/art/runtime/native/ |
D | java_lang_reflect_Method.cc | 46 down_cast<mirror::SynthesizedProxyClass*>(proxy_method->GetDeclaringClass()); in Method_getExceptionTypesNative()
|
D | java_lang_reflect_Array.cc | 38 mirror::IntArray* dimensions_array = down_cast<mirror::IntArray*>(dimensions_obj); in Array_createMultiArray()
|
D | java_lang_Class.cc | 90 down_cast<mirror::SynthesizedProxyClass*>(DecodeClass(soa, javaThis)); in Class_getProxyInterfaces()
|
/art/compiler/ |
D | image_writer.cc | 496 copy->SetClass(down_cast<Class*>(GetImageAddress(orig->GetClass()))); in FixupObject() 499 FixupClass(orig->AsClass(), down_cast<Class*>(copy)); in FixupObject() 501 FixupObjectArray(orig->AsObjectArray<Object>(), down_cast<ObjectArray<Object>*>(copy)); in FixupObject() 503 FixupMethod(orig->AsArtMethod(), down_cast<ArtMethod*>(copy)); in FixupObject()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 377 down_cast<mirror::SynthesizedProxyClass*>(rcvr->GetClass()); in InvokeProxyInvocationHandler()
|