/art/runtime/base/ |
H A D | type_static_if.h | 20 // A static if which determines whether to return type A or B based on the condition boolean. 23 typedef A type; typedef in struct:TypeStaticIf 29 typedef B type; typedef in struct:TypeStaticIf
|
/art/runtime/entrypoints/quick/ |
H A D | quick_field_entrypoints.cc | 286 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 288 if (type == Primitive::kPrimBoolean) { 291 DCHECK_EQ(Primitive::kPrimByte, type); 298 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 300 if (type == Primitive::kPrimBoolean) { 303 DCHECK_EQ(Primitive::kPrimByte, type); 317 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 319 if (type == Primitive::kPrimChar) { 322 DCHECK_EQ(Primitive::kPrimShort, type); 329 Primitive::Type type local 409 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 429 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 448 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 468 Primitive::Type type = field->GetTypeAsPrimitiveType(); local [all...] |
H A D | callee_save_frame.h | 73 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { argument 75 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) : 76 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) : 77 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) : 78 isa == kMips64 ? mips64::Mips64CalleeSaveFrameSize(type) : 79 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) : 80 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) : 100 Runtime::CalleeSaveType type) { 101 return GetCalleeSaveFrameSize(isa, type) - GetConstExprPointerSize(isa); 99 GetCalleeSaveReturnPcOffset(InstructionSet isa, Runtime::CalleeSaveType type) argument
|
/art/runtime/ |
H A D | primitive.cc | 34 const char* Primitive::PrettyDescriptor(Primitive::Type type) { argument 35 CHECK(Primitive::kPrimNot <= type && type <= Primitive::kPrimVoid) << static_cast<int>(type); 36 return kTypeNames[type]; 39 std::ostream& operator<<(std::ostream& os, const Primitive::Type& type) { argument 40 int32_t int_type = static_cast<int32_t>(type); 41 if (type >= Primitive::kPrimNot && type <= Primitive::kPrimVoid) {
|
H A D | art_field.cc | 41 Primitive::Type type = GetTypeAsPrimitiveType(); local 42 if (type == Primitive::kPrimDouble || type == Primitive::kPrimLong) {
|
H A D | primitive.h | 51 static Type GetType(char type) { argument 52 switch (type) { 76 static size_t ComponentSizeShift(Type type) { argument 77 switch (type) { 89 LOG(FATAL) << "Invalid type " << static_cast<int>(type); 94 static size_t ComponentSize(Type type) { argument 95 switch (type) { 107 LOG(FATAL) << "Invalid type " << static_cast<int>(type); 112 Descriptor(Type type) argument 140 IsFloatingPointType(Type type) argument 144 IsIntegralType(Type type) argument 160 IsIntOrLongType(Type type) argument 164 Is64BitType(Type type) argument [all...] |
/art/compiler/utils/arm/ |
H A D | assembler_thumb2_test.cc | 251 arm::StoreOperandType type = arm::kStoreWord; local 253 ASSERT_TRUE(arm::Address::CanHoldStoreOffsetThumb(type, offset)); 255 __ StoreToOffset(type, arm::R0, arm::SP, offset); 256 __ StoreToOffset(type, arm::IP, arm::SP, offset); 257 __ StoreToOffset(type, arm::IP, arm::R5, offset); 267 arm::StoreOperandType type = arm::kStoreWord; local 269 ASSERT_FALSE(arm::Address::CanHoldStoreOffsetThumb(type, offset)); 271 __ StoreToOffset(type, arm::R0, arm::SP, offset); 272 __ StoreToOffset(type, arm::IP, arm::SP, offset); 273 __ StoreToOffset(type, ar 295 arm::StoreOperandType type = arm::kStoreWordPair; local 319 arm::StoreOperandType type = arm::kStoreWordPair; local [all...] |
/art/runtime/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmServer.cc | 27 static void DdmServer_nativeSendChunk(JNIEnv* env, jclass, jint type, argument 32 Dbg::DdmSendChunk(type, length, reinterpret_cast<const uint8_t*>(&data[offset]));
|
H A D | java_lang_DexCache.cc | 65 jobject type) { 68 dex_cache->SetResolvedType(type_index, soa.Decode<mirror::Class*>(type)); 64 DexCache_setResolvedType(JNIEnv* env, jobject javaDexCache, jint type_index, jobject type) argument
|
/art/runtime/arch/mips/ |
H A D | quick_method_frame_info_mips.h | 40 constexpr uint32_t MipsCalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 42 (type == Runtime::kRefsAndArgs ? kMipsCalleeSaveArgSpills : 0) | 43 (type == Runtime::kSaveAll ? kMipsCalleeSaveAllSpills : 0) | (1 << art::mips::RA); 46 constexpr uint32_t MipsCalleeSaveFPSpills(Runtime::CalleeSaveType type) { argument 47 return type == Runtime::kSaveAll ? kMipsCalleeSaveAllFPSpills : 0; 50 constexpr uint32_t MipsCalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 51 return RoundUp((POPCOUNT(MipsCalleeSaveCoreSpills(type)) /* gprs */ + 52 POPCOUNT(MipsCalleeSaveFPSpills(type)) /* fprs */ + 56 constexpr QuickMethodFrameInfo MipsCalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 57 return QuickMethodFrameInfo(MipsCalleeSaveFrameSize(type), [all...] |
/art/runtime/arch/mips64/ |
H A D | quick_method_frame_info_mips64.h | 50 constexpr uint32_t Mips64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 52 (type == Runtime::kRefsAndArgs ? kMips64CalleeSaveArgSpills : 0) | 53 (type == Runtime::kSaveAll ? kMips64CalleeSaveAllSpills : 0) | (1 << art::mips64::RA); 56 constexpr uint32_t Mips64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { argument 58 (type == Runtime::kRefsAndArgs ? kMips64CalleeSaveFpArgSpills: 0) | 59 (type == Runtime::kSaveAll ? kMips64CalleeSaveFpAllSpills : 0); 62 constexpr uint32_t Mips64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 63 return RoundUp((POPCOUNT(Mips64CalleeSaveCoreSpills(type)) /* gprs */ + 64 POPCOUNT(Mips64CalleeSaveFpSpills(type)) /* fprs */ + 68 constexpr QuickMethodFrameInfo Mips64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument [all...] |
/art/runtime/arch/x86_64/ |
H A D | quick_method_frame_info_x86_64.h | 42 constexpr uint32_t X86_64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 44 (type == Runtime::kRefsAndArgs ? kX86_64CalleeSaveArgSpills : 0) | 48 constexpr uint32_t X86_64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { argument 50 (type == Runtime::kRefsAndArgs ? kX86_64CalleeSaveFpArgSpills : 0); 53 constexpr uint32_t X86_64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 54 return RoundUp((POPCOUNT(X86_64CalleeSaveCoreSpills(type)) /* gprs */ + 55 POPCOUNT(X86_64CalleeSaveFpSpills(type)) /* fprs */ + 59 constexpr QuickMethodFrameInfo X86_64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 60 return QuickMethodFrameInfo(X86_64CalleeSaveFrameSize(type), 61 X86_64CalleeSaveCoreSpills(type), [all...] |
/art/runtime/mirror/ |
H A D | field-inl.h | 34 // Try to resolve type before allocating since this is a thread suspension point. 35 Handle<mirror::Class> type = hs.NewHandle(field->GetType<true>()); local 37 if (type.Get() == nullptr) { 44 // Can't resolve, clear the exception if it isn't OOME and continue with a null type. 76 ret->SetType<kTransactionActive>(type.Get());
|
H A D | field.h | 113 void SetType(mirror::Class* type) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 114 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, type_), type); local
|
/art/runtime/arch/arm/ |
H A D | quick_method_frame_info_arm.h | 51 constexpr uint32_t ArmCalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 53 (type == Runtime::kRefsAndArgs ? kArmCalleeSaveArgSpills : 0) | 54 (type == Runtime::kSaveAll ? kArmCalleeSaveAllSpills : 0); 57 constexpr uint32_t ArmCalleeSaveFpSpills(Runtime::CalleeSaveType type) { argument 59 (type == Runtime::kRefsAndArgs ? kArmCalleeSaveFpArgSpills: 0) | 60 (type == Runtime::kSaveAll ? kArmCalleeSaveFpAllSpills : 0); 63 constexpr uint32_t ArmCalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 64 return RoundUp((POPCOUNT(ArmCalleeSaveCoreSpills(type)) /* gprs */ + 65 POPCOUNT(ArmCalleeSaveFpSpills(type)) /* fprs */ + 69 constexpr QuickMethodFrameInfo ArmCalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 75 ArmCalleeSaveFpr1Offset(Runtime::CalleeSaveType type) argument 81 ArmCalleeSaveGpr1Offset(Runtime::CalleeSaveType type) argument 86 ArmCalleeSaveLrOffset(Runtime::CalleeSaveType type) argument [all...] |
/art/runtime/arch/arm64/ |
H A D | quick_method_frame_info_arm64.h | 60 constexpr uint32_t Arm64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 62 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveArgSpills : 0) | 63 (type == Runtime::kSaveAll ? kArm64CalleeSaveAllSpills : 0); 66 constexpr uint32_t Arm64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { argument 68 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveFpArgSpills: 0) | 69 (type == Runtime::kSaveAll ? kArm64CalleeSaveFpAllSpills : 0); 72 constexpr uint32_t Arm64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 73 return RoundUp((POPCOUNT(Arm64CalleeSaveCoreSpills(type)) /* gprs */ + 74 POPCOUNT(Arm64CalleeSaveFpSpills(type)) /* fprs */ + 78 constexpr QuickMethodFrameInfo Arm64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 84 Arm64CalleeSaveFpr1Offset(Runtime::CalleeSaveType type) argument 90 Arm64CalleeSaveGpr1Offset(Runtime::CalleeSaveType type) argument 95 Arm64CalleeSaveLrOffset(Runtime::CalleeSaveType type) argument [all...] |
/art/runtime/arch/ |
H A D | memcmp16_test.cc | 53 size_t type = r.next() % range_of_tests; local 57 switch (type) {
|
/art/runtime/arch/x86/ |
H A D | quick_method_frame_info_x86.h | 47 constexpr uint32_t X86CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 48 return kX86CalleeSaveRefSpills | (type == Runtime::kRefsAndArgs ? kX86CalleeSaveArgSpills : 0) | 52 constexpr uint32_t X86CalleeSaveFpSpills(Runtime::CalleeSaveType type) { argument 53 return type == Runtime::kRefsAndArgs ? kX86CalleeSaveFpArgSpills : 0; 56 constexpr uint32_t X86CalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 57 return RoundUp((POPCOUNT(X86CalleeSaveCoreSpills(type)) /* gprs */ + 58 2 * POPCOUNT(X86CalleeSaveFpSpills(type)) /* fprs */ + 62 constexpr QuickMethodFrameInfo X86CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 63 return QuickMethodFrameInfo(X86CalleeSaveFrameSize(type), 64 X86CalleeSaveCoreSpills(type), [all...] |
H A D | thread_x86.cc | 33 unsigned base1: 8, type: 4, s: 1, dpl: 2, p: 1; member in struct:descriptor_table_entry_t 67 entry.type = ((read_exec_only ^ 1) << 1) | (contents << 2);
|
/art/runtime/interpreter/ |
H A D | safe_math.h | 26 // Declares a type which is the larger in bit size of the two template parameters. 29 typedef typename std::conditional<sizeof(T1) >= sizeof(T2), T1, T2>::type type; typedef in struct:art::interpreter::select_bigger 34 static inline typename select_bigger<T1, T2>::type SafeMath(T1 a, T2 b) { 35 typedef typename select_bigger<T1, T2>::type biggest_T; 36 typedef typename std::make_unsigned<biggest_T>::type unsigned_biggest_T; 46 static inline typename select_bigger<T1, T2>::type SafeAdd(T1 a, T2 b) { 52 static inline typename select_bigger<T1, T2>::type SafeSub(T1 a, T2 b) { 58 static inline typename select_bigger<T1, T2>::type SafeMul(T1 a, T2 b) {
|
/art/compiler/optimizing/ |
H A D | constant_folding.cc | 113 Primitive::Type type = instruction->GetType(); local 114 if (Primitive::IsIntOrLongType(type) && 146 Primitive::Type type = instruction->GetType(); local 148 if (!Primitive::IsIntegralType(type)) { 176 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); 190 Primitive::Type type = instruction->GetType(); local 192 if (!Primitive::IsIntegralType(type)) { 209 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); 224 Primitive::Type type = instruction->GetType(); local 226 instruction->ReplaceWith(GetGraph()->GetConstant(type, [all...] |
/art/runtime/verifier/ |
H A D | register_line-inl.h | 38 verifier->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "Expected category1 register type not '" 91 const RegType& type = GetRegisterType(verifier, vsrc); local 92 if (!SetRegisterType(verifier, vdst, type)) { 95 if (!type.IsConflict() && // Allow conflicts to be copied around. 96 ((cat == kTypeCategory1nr && !type.IsCategory1Types()) || 97 (cat == kTypeCategoryRef && !type.IsReferenceTypes()))) { 98 verifier->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "copy1 v" << vdst << "<-v" << vsrc << " type=" << type 111 << " type=" << type_l << "/" << type_h; 130 // Verify the src register type agains [all...] |
/art/compiler/driver/ |
H A D | compiler_driver_test.cc | 119 mirror::Class* type = dex_cache->GetResolvedType(i); local 120 EXPECT_TRUE(type != nullptr) << "type_idx=" << i
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | MapItem.java | 41 public short type; field in class:MapItem 47 type = file.readUShort(); 50 if (type == TYPE_HEADER_ITEM) { 59 file.writeUShort(type);
|
/art/compiler/ |
H A D | common_compiler_test.cc | 179 Runtime::CalleeSaveType type = Runtime::CalleeSaveType(i); local 180 if (!runtime_->HasCalleeSaveMethod(type)) { 181 runtime_->SetCalleeSaveMethod(runtime_->CreateCalleeSaveMethod(), type);
|