Home
last modified time | relevance | path

Searched refs:down_cast (Results 1 – 25 of 71) 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.cc392 const UnresolvedMergedType& left_merge = *down_cast<const UnresolvedMergedType*>(&left); in FromUnresolvedMerge()
411 const UnresolvedMergedType& right_merge = *down_cast<const UnresolvedMergedType*>(&right); in FromUnresolvedMerge()
456 const UnresolvedMergedType* cmp_type = down_cast<const UnresolvedMergedType*>(cur_entry); in FromUnresolvedMerge()
478 down_cast<const UnresolvedSuperClass*>(cur_entry); in FromUnresolvedSuperClass()
496 down_cast<const UnresolvedUninitializedRefType*>(cur_entry)->GetAllocationPc() in Uninitialized()
499 return *down_cast<const UnresolvedUninitializedRefType*>(cur_entry); in Uninitialized()
510 down_cast<const UninitializedReferenceType*>(cur_entry) in Uninitialized()
513 return *down_cast<const UninitializedReferenceType*>(cur_entry); in Uninitialized()
584 return *down_cast<const UninitializedType*>(cur_entry); in UninitializedThisArgument()
593 return *down_cast<const UninitializedType*>(cur_entry); in UninitializedThisArgument()
[all …]
Dreg_type.cc481 const ConstantType* const_val = down_cast<const ConstantType*>(this); in HighHalf()
624 const ConstantType& type1 = *down_cast<const ConstantType*>(this); in Merge()
625 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge()
679 const ConstantType& type1 = *down_cast<const ConstantType*>(this); in Merge()
680 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge()
685 const ConstantType& type1 = *down_cast<const ConstantType*>(this); in Merge()
686 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.h60 Init(down_cast<const CompactDexFile::CodeItem&>(*code_item)); in Init()
63 Init(down_cast<const StandardDexFile::CodeItem&>(*code_item)); in Init()
116 Init(down_cast<const CompactDexFile::CodeItem&>(*code_item)); in Init()
119 Init(down_cast<const StandardDexFile::CodeItem&>(*code_item)); in Init()
173 debug_info_offset_ = down_cast<const CompactDexFile*>(dex_file_)->GetDebugInfoOffset(
194 Init(down_cast<const CompactDexFile::CodeItem&>(*code_item), dex_method_index); in Init()
197 Init(down_cast<const StandardDexFile::CodeItem&>(*code_item), dex_method_index); in Init()
/art/runtime/arch/
Dinstruction_set_features.cc254 return down_cast<const ArmInstructionSetFeatures*>(this); in AsArmInstructionSetFeatures()
259 return down_cast<const Arm64InstructionSetFeatures*>(this); in AsArm64InstructionSetFeatures()
264 return down_cast<const MipsInstructionSetFeatures*>(this); in AsMipsInstructionSetFeatures()
269 return down_cast<const Mips64InstructionSetFeatures*>(this); in AsMips64InstructionSetFeatures()
275 return down_cast<const X86InstructionSetFeatures*>(this); in AsX86InstructionSetFeatures()
280 return down_cast<const X86_64InstructionSetFeatures*>(this); in AsX86_64InstructionSetFeatures()
/art/runtime/jni/
Dcheck_jni.cc753 if (is_static && !CheckStaticFieldID(soa, down_cast<jclass>(obj), fid)) { in CheckFieldAccess()
2529 return down_cast<jobjectArray>(result.a); in NewObjectArray()
2567 return down_cast<jbooleanArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewBooleanArray()
2572 return down_cast<jbyteArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewByteArray()
2577 return down_cast<jcharArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewCharArray()
2582 return down_cast<jshortArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewShortArray()
2587 return down_cast<jintArray>(NewPrimitiveArray(__FUNCTION__, env, length, Primitive::kPrimInt)); in NewIntArray()
2591 return down_cast<jlongArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewLongArray()
2596 return down_cast<jfloatArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewFloatArray()
2601 return down_cast<jdoubleArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewDoubleArray()
[all …]
/art/compiler/optimizing/
Dpc_relative_fixups_mips.cc31 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)), in PCRelativeHandlerVisitor()
132 CodeGeneratorMIPS* mips_codegen = down_cast<CodeGeneratorMIPS*>(codegen_); in Run()
Dinstruction_simplifier_mips.h34 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)) {} in InstructionSimplifierMips()
Doptimizing_cfi_test.cc203 #define __ down_cast<arm::ArmVIXLAssembler*>(GetCodeGenerator() \ in TEST_ISA()
234 #define __ down_cast<mips::MipsAssembler*>(GetCodeGenerator()->GetAssembler())-> in TEST_F()
264 #define __ down_cast<mips64::Mips64Assembler*>(GetCodeGenerator()->GetAssembler())-> in TEST_F()
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()
Dinstruction_simplifier_mips.cc32 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)) {} in InstructionSimplifierMipsVisitor()
Dscheduler_arm.h55 : codegen_(down_cast<CodeGeneratorARMType*>(codegen)) {} in SchedulingLatencyVisitorARM()
/art/runtime/
Dhandle.h62 return down_cast<T*>(reference_->AsMirrorPtr()); in Get()
134 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
141 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
Dhandle_scope-inl.h178 return down_cast<VariableSizedHandleScope*>(this); in AsVariableSized()
183 return down_cast<HandleScope*>(this); in AsHandleScope()
188 return down_cast<const VariableSizedHandleScope*>(this); in AsVariableSized()
193 return down_cast<const HandleScope*>(this); in AsHandleScope()
Dgc_root-inl.h32 return down_cast<MirrorType*>( in Read()
Dscoped_thread_state_change-inl.h101 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable()
105 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
/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/libartbase/base/
Dcasts.h74 inline To down_cast(From* f) { // so we only accept pointers in down_cast() function
82 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/jdwp/
Dobject_registry.h90 return down_cast<T>(InternalGet(id, error)); in Get()

123