Home
last modified time | relevance | path

Searched refs:down_cast (Results 1 – 25 of 75) 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.h49 return *down_cast<const ImpreciseConstType*>(&result); in ByteConstant()
56 return *down_cast<const ImpreciseConstType*>(&result); in CharConstant()
62 return *down_cast<const ImpreciseConstType*>(&result); in ShortConstant()
68 return *down_cast<const ImpreciseConstType*>(&result); in IntConstant()
74 return *down_cast<const ImpreciseConstType*>(&result); in PosByteConstant()
80 return *down_cast<const ImpreciseConstType*>(&result); in PosShortConstant()
86 return *down_cast<const PreciseReferenceType*>(result); in JavaLangClass()
94 return *down_cast<const PreciseReferenceType*>(result); in JavaLangString()
102 return *down_cast<const PreciseReferenceType*>(result); in JavaLangThrowable()
105 return *down_cast<const ReferenceType*>(result); in JavaLangThrowable()
[all …]
Dreg_type_cache.cc353 const UnresolvedMergedType& left_merge = *down_cast<const UnresolvedMergedType*>(&left); in FromUnresolvedMerge()
372 const UnresolvedMergedType& right_merge = *down_cast<const UnresolvedMergedType*>(&right); in FromUnresolvedMerge()
414 const UnresolvedMergedType* cmp_type = down_cast<const UnresolvedMergedType*>(cur_entry); in FromUnresolvedMerge()
436 down_cast<const UnresolvedSuperClass*>(cur_entry); in FromUnresolvedSuperClass()
454 down_cast<const UnresolvedUninitializedRefType*>(cur_entry)->GetAllocationPc() in Uninitialized()
457 return *down_cast<const UnresolvedUninitializedRefType*>(cur_entry); in Uninitialized()
468 down_cast<const UninitializedReferenceType*>(cur_entry) in Uninitialized()
471 return *down_cast<const UninitializedReferenceType*>(cur_entry); in Uninitialized()
542 return *down_cast<const UninitializedType*>(cur_entry); in UninitializedThisArgument()
551 return *down_cast<const UninitializedType*>(cur_entry); in UninitializedThisArgument()
[all …]
Dreg_type.cc464 const ConstantType* const_val = down_cast<const ConstantType*>(this); in HighHalf()
603 const ConstantType& type1 = *down_cast<const ConstantType*>(this); in Merge()
604 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge()
658 const ConstantType& type1 = *down_cast<const ConstantType*>(this); in Merge()
659 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge()
664 const ConstantType& type1 = *down_cast<const ConstantType*>(this); in Merge()
665 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge()
Dreg_type-inl.h62 const ConstantType* const_val = down_cast<const ConstantType*>(this); in IsConstantBoolean()
/art/runtime/arch/
Dinstruction_set_features.cc256 return down_cast<const ArmInstructionSetFeatures*>(this); in AsArmInstructionSetFeatures()
261 return down_cast<const Arm64InstructionSetFeatures*>(this); in AsArm64InstructionSetFeatures()
266 return down_cast<const MipsInstructionSetFeatures*>(this); in AsMipsInstructionSetFeatures()
271 return down_cast<const Mips64InstructionSetFeatures*>(this); in AsMips64InstructionSetFeatures()
276 return down_cast<const X86InstructionSetFeatures*>(this); in AsX86InstructionSetFeatures()
281 return down_cast<const X86_64InstructionSetFeatures*>(this); in AsX86_64InstructionSetFeatures()
/art/runtime/mirror/
Diftable.h40 auto* method_array = down_cast<PointerArray*>(Get<kVerifyFlags, kReadBarrierOption>( in GetMethodArray()
49 auto* method_array = down_cast<PointerArray*>( in GetMethodArrayCount()
Dobject-inl.h178 return down_cast<Class*>(this); in AsClass()
192 return down_cast<ObjectArray<T>*>(this); in AsObjectArray()
209 return down_cast<Reference*>(this); in AsReference()
215 return down_cast<Array*>(this); in AsArray()
223 return down_cast<BooleanArray*>(this); in AsBooleanArray()
231 return down_cast<ByteArray*>(this); in AsByteArray()
240 return down_cast<ByteArray*>(this); in AsByteSizedArray()
248 return down_cast<CharArray*>(this); in AsCharArray()
256 return down_cast<ShortArray*>(this); in AsShortArray()
265 return down_cast<ShortArray*>(this); in AsShortSizedArray()
[all …]
Darray-inl.h182 result = down_cast<Array*>( in Alloc()
189 result = down_cast<Array*>( in Alloc()
230 return down_cast<PrimitiveArray<T>*>(raw_array); in Alloc()
413 (kUnchecked ? down_cast<LongArray*>(static_cast<Object*>(this)) : AsLongArray())-> in SetElementPtrSize()
417 (kUnchecked ? down_cast<IntArray*>(static_cast<Object*>(this)) : AsIntArray()) in SetElementPtrSize()
451 LongArray* l_this = (kUnchecked ? down_cast<LongArray*>(static_cast<Object*>(this)) in Memcpy()
453 LongArray* l_src = (kUnchecked ? down_cast<LongArray*>(static_cast<Object*>(src.Ptr())) in Memcpy()
457 IntArray* i_this = (kUnchecked ? down_cast<IntArray*>(static_cast<Object*>(this)) in Memcpy()
459 IntArray* i_src = (kUnchecked ? down_cast<IntArray*>(static_cast<Object*>(src.Ptr())) in Memcpy()
Dclass_ext.cc106 return down_cast<ClassExt*>(dalvik_system_ClassExt_.Read()->AllocObject(self).Ptr()); in Alloc()
/art/compiler/optimizing/
Ddex_cache_array_fixups_mips.cc34 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)), in DexCacheArrayFixupsVisitor()
95 CodeGeneratorMIPS* mips_codegen = down_cast<CodeGeneratorMIPS*>(codegen_); in Run()
Dpc_relative_fixups_mips.cc31 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)), in PCRelativeHandlerVisitor()
120 CodeGeneratorMIPS* mips_codegen = down_cast<CodeGeneratorMIPS*>(codegen_); in Run()
Doptimizing_cfi_test.cc200 #define __ down_cast<arm::Thumb2Assembler*>(GetCodeGenerator()->GetAssembler())-> in TEST_ISA()
208 #define __ down_cast<arm::ArmVIXLAssembler*>(GetCodeGenerator() \ in TEST_ISA()
240 #define __ down_cast<mips::MipsAssembler*>(GetCodeGenerator()->GetAssembler())-> in TEST_F()
270 #define __ down_cast<mips64::Mips64Assembler*>(GetCodeGenerator()->GetAssembler())-> in TEST_F()
Ddex_cache_array_fixups_arm.cc46 codegen_(down_cast<CodeGeneratorARMType*>(codegen)), in DexCacheArrayFixupsVisitor()
/art/runtime/
Dcheck_jni.cc683 if (is_static && !CheckStaticFieldID(soa, down_cast<jclass>(obj), fid)) { in CheckFieldAccess()
2370 return down_cast<jobjectArray>(result.a); in NewObjectArray()
2406 return down_cast<jbooleanArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewBooleanArray()
2411 return down_cast<jbyteArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewByteArray()
2416 return down_cast<jcharArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewCharArray()
2421 return down_cast<jshortArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewShortArray()
2426 return down_cast<jintArray>(NewPrimitiveArray(__FUNCTION__, env, length, Primitive::kPrimInt)); in NewIntArray()
2430 return down_cast<jlongArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewLongArray()
2435 return down_cast<jfloatArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewFloatArray()
2440 return down_cast<jdoubleArray>(NewPrimitiveArray(__FUNCTION__, env, length, in NewDoubleArray()
[all …]
Dhandle.h61 return down_cast<T*>(reference_->AsMirrorPtr()); in Get()
132 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
139 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
Dhandle_scope-inl.h168 return down_cast<VariableSizedHandleScope*>(this); in AsVariableSized()
173 return down_cast<HandleScope*>(this); in AsHandleScope()
178 return down_cast<const VariableSizedHandleScope*>(this); in AsVariableSized()
183 return down_cast<const HandleScope*>(this); in AsHandleScope()
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_->vm) {} in ScopedObjectAccessAlreadyRunnable()
101 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
/art/test/136-daemon-jni-shutdown/
Ddaemon_jni_shutdown.cc61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->vm; in Java_Main_destroyJavaVMAndExit()
/art/runtime/base/
Dcasts.h72 inline To down_cast(From* f) { // so we only accept pointers in down_cast() function
/art/runtime/gc/accounting/
Dmod_union_table_test.cc54 auto* obj = down_cast<mirror::ObjectArray<mirror::Object>*>( in AllocObjectArray()
83 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()
/art/patchoat/
Dpatchoat.cc498 auto* dex_caches = down_cast<mirror::ObjectArray<mirror::DexCache>*>( in PatchDexFileArrays()
640 mirror::Class* copy_klass = down_cast<mirror::Class*>(copy); in VisitObject()
660 auto* dest = down_cast<mirror::Executable*>(copy); in VisitObject()
661 auto* src = down_cast<mirror::Executable*>(object); in VisitObject()
/art/runtime/openjdkjvmti/
Dart_jvmti.h68 return art::down_cast<ArtJvmTiEnv*>(env); in AsArtJvmTiEnv()

123