Home
last modified time | relevance | path

Searched refs:down_cast (Results 1 – 25 of 64) 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.h93 return *down_cast<const ImpreciseConstType*>(&result); in ByteConstant()
100 return *down_cast<const ImpreciseConstType*>(&result); in CharConstant()
106 return *down_cast<const ImpreciseConstType*>(&result); in ShortConstant()
112 return *down_cast<const ImpreciseConstType*>(&result); in IntConstant()
118 return *down_cast<const ImpreciseConstType*>(&result); in PosByteConstant()
124 return *down_cast<const ImpreciseConstType*>(&result); in PosShortConstant()
132 return *down_cast<const PreciseReferenceType*>(result); in JavaLangClass()
141 return *down_cast<const PreciseReferenceType*>(result); in JavaLangString()
149 return *down_cast<const PreciseReferenceType*>(result); in JavaLangInvokeMethodHandle()
157 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()
/art/runtime/mirror/
Dclass_ext-inl.h106 return down_cast<PointerArray*>(GetInstanceJFieldIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetInstanceJFieldIDsPointerArray()
117 return down_cast<PointerArray*>(GetStaticJFieldIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetStaticJFieldIDsPointerArray()
139 return down_cast<PointerArray*>(GetJMethodIDs<kVerifyFlags, kReadBarrierOption>().Ptr()); in GetJMethodIDsPointerArray()
193 ObjPtr<PointerArray> marr(down_cast<PointerArray*>(arr.Ptr())); in VisitJMethodIDs()
207 ObjPtr<PointerArray> sarr(down_cast<PointerArray*>(sarr_obj->AsArray().Ptr())); in VisitJFieldIDs()
218 ObjPtr<PointerArray> iarr(down_cast<PointerArray*>(iarr_obj->AsArray().Ptr())); in VisitJFieldIDs()
/art/runtime/
Dhandle_scope-inl.h184 return down_cast<VariableSizedHandleScope*>(this); in AsVariableSized()
189 return down_cast<HandleScope*>(this); in AsHandleScope()
194 return down_cast<const VariableSizedHandleScope*>(this); in AsVariableSized()
199 return down_cast<const HandleScope*>(this); in AsHandleScope()
235 LocalScopeType* next = down_cast<LocalScopeType*>(current_scope_->GetLink()); in ~VariableSizedHandleScope()
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()
155 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
162 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
Dgc_root-inl.h32 return down_cast<MirrorType*>( in Read()
/art/runtime/arch/
Dinstruction_set_features.cc244 return down_cast<const ArmInstructionSetFeatures*>(this); in AsArmInstructionSetFeatures()
249 return down_cast<const Arm64InstructionSetFeatures*>(this); in AsArm64InstructionSetFeatures()
255 return down_cast<const X86InstructionSetFeatures*>(this); in AsX86InstructionSetFeatures()
260 return down_cast<const X86_64InstructionSetFeatures*>(this); in AsX86_64InstructionSetFeatures()
/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/runtime/jni/
Dcheck_jni.cc771 if (is_static && !CheckStaticFieldID(soa, down_cast<jclass>(obj), fid)) { in CheckFieldAccess()
2579 return down_cast<jobjectArray>(result.a); in NewObjectArray()
2617 return down_cast<jbooleanArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewBooleanArray()
2622 return down_cast<jbyteArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewByteArray()
2627 return down_cast<jcharArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewCharArray()
2632 return down_cast<jshortArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewShortArray()
2637 return down_cast<jintArray>(NewPrimitiveArray(__FUNCTION__, env, length, Primitive::kPrimInt)); in NewIntArray()
2641 return down_cast<jlongArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewLongArray()
2646 return down_cast<jfloatArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewFloatArray()
2651 return down_cast<jdoubleArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewDoubleArray()
[all …]
/art/test/2033-shutdown-mechanics/
Dnative_shutdown.cc40 JNIEnvExt* const extEnv = down_cast<JNIEnvExt*>(env); in Java_Main_monitorShutdown()
/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()
Dintrinsics_utils.h57 TAssembler* assembler = down_cast<TAssembler*>(codegen->GetAssembler()); in EmitNativeCode()
Doptimizing_cfi_test.cc193 #define __ down_cast<arm::ArmVIXLAssembler*>(GetCodeGenerator() \ in TEST_ISA()
Dscheduler_arm.h55 : codegen_(down_cast<CodeGeneratorARMType*>(codegen)) {} in SchedulingLatencyVisitorARM()
/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/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/entrypoints/jni/
Djni_entrypoints.cc110 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
/art/runtime/gc/
Dreference_queue.cc199 list_ = down_cast<mirror::Reference*>(visitor->IsMarked(list_)); in UpdateRoots()

123