Home
last modified time | relevance | path

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

123

/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()
/art/runtime/verifier/
Dreg_type_cache-inl.h92 return *down_cast<const ImpreciseConstType*>(&result); in ByteConstant()
99 return *down_cast<const ImpreciseConstType*>(&result); in CharConstant()
105 return *down_cast<const ImpreciseConstType*>(&result); in ShortConstant()
111 return *down_cast<const ImpreciseConstType*>(&result); in IntConstant()
117 return *down_cast<const ImpreciseConstType*>(&result); in PosByteConstant()
123 return *down_cast<const ImpreciseConstType*>(&result); in PosShortConstant()
131 return *down_cast<const PreciseReferenceType*>(result); in JavaLangClass()
140 return *down_cast<const PreciseReferenceType*>(result); in JavaLangString()
148 return *down_cast<const PreciseReferenceType*>(result); in JavaLangInvokeMethodHandle()
156 return *down_cast<const PreciseReferenceType*>(result); in JavaLangInvokeMethodType()
[all …]
Dreg_type_cache.cc403 const UnresolvedMergedType& left_merge = *down_cast<const UnresolvedMergedType*>(&left); in FromUnresolvedMerge()
422 const UnresolvedMergedType& right_merge = *down_cast<const UnresolvedMergedType*>(&right); in FromUnresolvedMerge()
467 const UnresolvedMergedType* cmp_type = down_cast<const UnresolvedMergedType*>(cur_entry); in FromUnresolvedMerge()
489 down_cast<const UnresolvedSuperClass*>(cur_entry); in FromUnresolvedSuperClass()
507 down_cast<const UnresolvedUninitializedRefType*>(cur_entry)->GetAllocationPc() in Uninitialized()
510 return *down_cast<const UnresolvedUninitializedRefType*>(cur_entry); in Uninitialized()
521 down_cast<const UninitializedReferenceType*>(cur_entry) in Uninitialized()
524 return *down_cast<const UninitializedReferenceType*>(cur_entry); in Uninitialized()
595 return *down_cast<const UninitializedType*>(cur_entry); in UninitializedThisArgument()
604 return *down_cast<const UninitializedType*>(cur_entry); in UninitializedThisArgument()
[all …]
Dreg_type.cc481 const ConstantType* const_val = down_cast<const ConstantType*>(this); in HighHalf()
766 const ConstantType& type1 = *down_cast<const ConstantType*>(this); in Merge()
767 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge()
821 const ConstantType& type1 = *down_cast<const ConstantType*>(this); in Merge()
822 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge()
827 const ConstantType& type1 = *down_cast<const ConstantType*>(this); in Merge()
828 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge()
Dreg_type-inl.h65 const ConstantType* const_val = down_cast<const ConstantType*>(this); in IsConstantBoolean()
/art/libdexfile/dex/
Dcode_item_accessors-inl.h61 Init(down_cast<const CompactDexFile::CodeItem&>(*code_item)); in Init()
64 Init(down_cast<const StandardDexFile::CodeItem&>(*code_item)); in Init()
117 Init(down_cast<const CompactDexFile::CodeItem&>(*code_item)); in Init()
120 Init(down_cast<const StandardDexFile::CodeItem&>(*code_item)); in Init()
174 debug_info_offset_ = down_cast<const CompactDexFile*>(dex_file_)->GetDebugInfoOffset(
195 Init(down_cast<const CompactDexFile::CodeItem&>(*code_item), dex_method_index); in Init()
198 Init(down_cast<const StandardDexFile::CodeItem&>(*code_item), dex_method_index); in Init()
Ddex_file-inl.h437 return down_cast<const CompactDexFile*>(this); in AsCompactDexFile()
442 return down_cast<const StandardDexFile*>(this); in AsStandardDexFile()
/art/runtime/mirror/
Dclass_ext-inl.h107 return down_cast<PointerArray*>(GetInstanceJFieldIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetInstanceJFieldIDsPointerArray()
118 return down_cast<PointerArray*>(GetStaticJFieldIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetStaticJFieldIDsPointerArray()
140 return down_cast<PointerArray*>(GetJMethodIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetJMethodIDsPointerArray()
194 ObjPtr<PointerArray> marr(down_cast<PointerArray*>(arr.Ptr())); in VisitJMethodIDs()
208 ObjPtr<PointerArray> sarr(down_cast<PointerArray*>(sarr_obj->AsArray().Ptr())); in VisitJFieldIDs()
219 ObjPtr<PointerArray> iarr(down_cast<PointerArray*>(iarr_obj->AsArray().Ptr())); in VisitJFieldIDs()
/art/runtime/arch/
Dinstruction_set_features.cc225 return down_cast<const ArmInstructionSetFeatures*>(this); in AsArmInstructionSetFeatures()
230 return down_cast<const Arm64InstructionSetFeatures*>(this); in AsArm64InstructionSetFeatures()
236 return down_cast<const X86InstructionSetFeatures*>(this); in AsX86InstructionSetFeatures()
241 return down_cast<const X86_64InstructionSetFeatures*>(this); in AsX86_64InstructionSetFeatures()
/art/runtime/
Dhandle_scope-inl.h181 return down_cast<VariableSizedHandleScope*>(this); in AsVariableSized()
186 return down_cast<HandleScope*>(this); in AsHandleScope()
191 return down_cast<const VariableSizedHandleScope*>(this); in AsVariableSized()
196 return down_cast<const HandleScope*>(this); in AsHandleScope()
225 LocalScopeType* next = down_cast<LocalScopeType*>(current_scope_->GetLink()); in ~VariableSizedHandleScope()
Dgc_root-inl.h32 return down_cast<MirrorType*>( in Read()
Dscoped_thread_state_change-inl.h97 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable()
101 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
Dhandle.h75 return down_cast<T*>(reference_->AsMirrorPtr()); in Get()
160 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
167 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
/art/dex2oat/
Dcommon_compiler_driver_test.cc48 down_cast<QuickCompilerCallbacks*>(callbacks_.get())->SetVerificationResults( in CompileAll()
53 down_cast<QuickCompilerCallbacks*>(callbacks_.get())->SetVerificationResults( in CompileAll()
/art/test/136-daemon-jni-shutdown/
Ddaemon_jni_shutdown.cc61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in Java_Main_destroyJavaVMAndExit()
/art/compiler/optimizing/
Dinstruction_simplifier_x86_64.cc30 codegen_(down_cast<CodeGeneratorX86_64*>(codegen)), in InstructionSimplifierX86_64Visitor()
Dinstruction_simplifier_x86.cc30 codegen_(down_cast<CodeGeneratorX86*>(codegen)), in InstructionSimplifierX86Visitor()
Dscheduler_arm.h55 : codegen_(down_cast<CodeGeneratorARMType*>(codegen)) {} in SchedulingLatencyVisitorARM()
Doptimizing_cfi_test.cc193 #define __ down_cast<arm::ArmVIXLAssembler*>(GetCodeGenerator() \ in TEST_ISA()
Dpc_relative_fixups_x86.cc31 codegen_(down_cast<CodeGeneratorX86*>(codegen)), in PCRelativeHandlerVisitor()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc42 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
/art/libartbase/base/
Dcasts.h73 inline To down_cast(From* f) { // so we only accept pointers in down_cast() function
81 inline To down_cast(From& f) { // so we only accept references in down_cast() function
/art/dex2oat/dex/
Ddex_to_dex_decompiler_test.cc46 down_cast<QuickCompilerCallbacks*>(Runtime::Current()->GetCompilerCallbacks())->SetVerifierDeps( in CompileAll()
/art/runtime/gc/accounting/
Dmod_union_table_test.cc56 auto* obj = down_cast<mirror::ObjectArray<mirror::Object>*>( in AllocObjectArray()
84 auto* klass = down_cast<mirror::Class*>(space->Alloc(self, class_size, &bytes_allocated, in GetObjectArrayClass()
/art/runtime/gc/
Dreference_queue.cc199 list_ = down_cast<mirror::Reference*>(visitor->IsMarked(list_)); in UpdateRoots()

123