/art/runtime/gc/space/ |
D | space-inl.h | 33 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/ |
D | reg_type_cache-inl.h | 49 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 …]
|
D | reg_type_cache.cc | 353 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 …]
|
D | reg_type.cc | 464 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()
|
D | reg_type-inl.h | 62 const ConstantType* const_val = down_cast<const ConstantType*>(this); in IsConstantBoolean()
|
/art/runtime/arch/ |
D | instruction_set_features.cc | 256 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/ |
D | iftable.h | 40 auto* method_array = down_cast<PointerArray*>(Get<kVerifyFlags, kReadBarrierOption>( in GetMethodArray() 49 auto* method_array = down_cast<PointerArray*>( in GetMethodArrayCount()
|
D | object-inl.h | 178 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 …]
|
D | array-inl.h | 182 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()
|
D | class_ext.cc | 106 return down_cast<ClassExt*>(dalvik_system_ClassExt_.Read()->AllocObject(self).Ptr()); in Alloc()
|
/art/compiler/optimizing/ |
D | dex_cache_array_fixups_mips.cc | 34 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)), in DexCacheArrayFixupsVisitor() 95 CodeGeneratorMIPS* mips_codegen = down_cast<CodeGeneratorMIPS*>(codegen_); in Run()
|
D | pc_relative_fixups_mips.cc | 31 codegen_(down_cast<CodeGeneratorMIPS*>(codegen)), in PCRelativeHandlerVisitor() 120 CodeGeneratorMIPS* mips_codegen = down_cast<CodeGeneratorMIPS*>(codegen_); in Run()
|
D | optimizing_cfi_test.cc | 200 #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()
|
D | dex_cache_array_fixups_arm.cc | 46 codegen_(down_cast<CodeGeneratorARMType*>(codegen)), in DexCacheArrayFixupsVisitor()
|
/art/runtime/ |
D | check_jni.cc | 683 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 …]
|
D | handle.h | 61 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()
|
D | handle_scope-inl.h | 168 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()
|
D | gc_root-inl.h | 32 return down_cast<MirrorType*>( in Read()
|
D | scoped_thread_state_change-inl.h | 97 : 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/ |
D | daemon_jni_shutdown.cc | 61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->vm; in Java_Main_destroyJavaVMAndExit()
|
/art/runtime/base/ |
D | casts.h | 72 inline To down_cast(From* f) { // so we only accept pointers in down_cast() function
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 54 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/ |
D | object_registry.h | 90 return down_cast<T>(InternalGet(id, error)); in Get()
|
/art/patchoat/ |
D | patchoat.cc | 498 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/ |
D | art_jvmti.h | 68 return art::down_cast<ArtJvmTiEnv*>(env); in AsArtJvmTiEnv()
|