/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/test/964-default-iface-init-generated/src/ |
H A D | Displayer.java | 18 public Displayer(String type) { argument 19 System.out.println("initialization of " + type);
|
/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) {
|
/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 | 67 jobject type) { 71 dex_cache->SetResolvedType(type_index, soa.Decode<mirror::Class*>(type)); 66 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 | 47 constexpr uint32_t MipsCalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 49 (type == Runtime::kRefsAndArgs ? kMipsCalleeSaveArgSpills : 0) | 50 (type == Runtime::kSaveAll ? kMipsCalleeSaveAllSpills : 0); 53 constexpr uint32_t MipsCalleeSaveFPSpills(Runtime::CalleeSaveType type) { argument 55 (type == Runtime::kRefsAndArgs ? kMipsCalleeSaveFpArgSpills : 0) | 56 (type == Runtime::kSaveAll ? kMipsCalleeSaveAllFPSpills : 0); 59 constexpr uint32_t MipsCalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 60 return RoundUp((POPCOUNT(MipsCalleeSaveCoreSpills(type)) /* gprs */ + 61 POPCOUNT(MipsCalleeSaveFPSpills(type)) /* fprs */ + 65 constexpr QuickMethodFrameInfo MipsCalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument [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/entrypoints/quick/ |
H A D | callee_save_frame.h | 76 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { argument 78 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) : 79 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) : 80 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) : 81 isa == kMips64 ? mips64::Mips64CalleeSaveFrameSize(type) : 82 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) : 83 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) : 103 Runtime::CalleeSaveType type) { 104 return GetCalleeSaveFrameSize(isa, type) - GetConstExprPointerSize(isa); 102 GetCalleeSaveReturnPcOffset(InstructionSet isa, Runtime::CalleeSaveType type) argument
|
H A D | quick_field_entrypoints.cc | 30 inline constexpr bool FindFieldTypeIsRead(FindFieldType type) { argument 31 return type == InstanceObjectRead || 32 type == InstancePrimitiveRead || 33 type == StaticObjectRead || 34 type == StaticPrimitiveRead; 40 template<FindFieldType type, bool kAccessCheck> 50 ArtField* field = FindFieldFromCode<type, kAccessCheck>(field_idx, referrer, self, size); 52 ThrowNullPointerExceptionForFieldAccess(field, /*is_read*/FindFieldTypeIsRead(type)); 333 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 335 if (type 345 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 366 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 378 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 476 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 492 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 513 Primitive::Type type = field->GetTypeAsPrimitiveType(); local 529 Primitive::Type type = field->GetTypeAsPrimitiveType(); local [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_REQUIRES(Locks::mutator_lock_) { 114 SetFieldObject<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, type_), type); local
|
/art/compiler/debug/dwarf/ |
H A D | debug_abbrev_writer.h | 38 // It is possible to think of them as type definitions. 41 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); 59 void AddAbbrevAttribute(Attribute name, Form type) { argument 61 EncodeUnsignedLeb128(¤t_abbrev_, type);
|
/art/compiler/optimizing/ |
H A D | nodes_shared.h | 24 HMultiplyAccumulate(Primitive::Type type, argument 30 : HExpression(type, SideEffects::None(), dex_pc), op_kind_(op) {
|
H A D | ssa_builder.h | 43 * that require merging and have a proper type after the merge, are 65 HInstruction* GetFloatOrDoubleEquivalent(HInstruction* instruction, Primitive::Type type); 69 Primitive::Type type = aget->GetType(); local 70 DCHECK(!Primitive::IsFloatingPointType(type)); 71 if (Primitive::IsIntOrLongType(type)) { 77 Primitive::Type type = aset->GetValue()->GetType(); local 78 if (Primitive::IsIntOrLongType(type)) { 101 // Attempts to resolve types of aget(-wide) instructions and type values passed 102 // to aput(-wide) instructions from reference type information on the array 103 // input. Returns false if the type o [all...] |
H A D | instruction_simplifier_shared.cc | 89 Primitive::Type type = mul->GetType(); local 93 if (type != Primitive::kPrimInt) { 98 if (!Primitive::IsIntOrLongType(type)) { 138 new (arena) HMultiplyAccumulate(type, 151 new (arena) HMultiplyAccumulate(type, 153 mul->GetBlock()->GetGraph()->GetConstant(type, 0),
|
H A D | constant_folding.cc | 225 Primitive::Type type = instruction->GetType(); local 226 if (Primitive::IsIntOrLongType(type) && 258 Primitive::Type type = instruction->GetType(); local 260 if (!Primitive::IsIntegralType(type)) { 288 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); 302 Primitive::Type type = instruction->GetType(); local 304 if (!Primitive::IsIntegralType(type)) { 321 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); 336 Primitive::Type type = instruction->GetType(); local 338 instruction->ReplaceWith(GetGraph()->GetConstant(type, [all...] |
H A D | instruction_simplifier_arm64.cc | 89 Primitive::Type type = use->GetType(); local 90 if (type != Primitive::kPrimInt && type != Primitive::kPrimLong) {
|
/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 | 59 constexpr uint32_t Arm64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) { argument 61 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveArgSpills : 0) | 62 (type == Runtime::kSaveAll ? kArm64CalleeSaveAllSpills : 0); 65 constexpr uint32_t Arm64CalleeSaveFpSpills(Runtime::CalleeSaveType type) { argument 67 (type == Runtime::kRefsAndArgs ? kArm64CalleeSaveFpArgSpills: 0) | 68 (type == Runtime::kSaveAll ? kArm64CalleeSaveFpAllSpills : 0); 71 constexpr uint32_t Arm64CalleeSaveFrameSize(Runtime::CalleeSaveType type) { argument 72 return RoundUp((POPCOUNT(Arm64CalleeSaveCoreSpills(type)) /* gprs */ + 73 POPCOUNT(Arm64CalleeSaveFpSpills(type)) /* fprs */ + 77 constexpr QuickMethodFrameInfo Arm64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) { argument 83 Arm64CalleeSaveFpr1Offset(Runtime::CalleeSaveType type) argument 89 Arm64CalleeSaveGpr1Offset(Runtime::CalleeSaveType type) argument 94 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...] |
/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/utils/arm/ |
H A D | assembler_thumb2_test.cc | 283 arm::StoreOperandType type = arm::kStoreWord; local 285 ASSERT_TRUE(arm::Address::CanHoldStoreOffsetThumb(type, offset)); 287 __ StoreToOffset(type, arm::R0, arm::SP, offset); 288 __ StoreToOffset(type, arm::IP, arm::SP, offset); 289 __ StoreToOffset(type, arm::IP, arm::R5, offset); 299 arm::StoreOperandType type = arm::kStoreWord; local 301 ASSERT_FALSE(arm::Address::CanHoldStoreOffsetThumb(type, offset)); 303 __ StoreToOffset(type, arm::R0, arm::SP, offset); 304 __ StoreToOffset(type, arm::IP, arm::SP, offset); 305 __ StoreToOffset(type, ar 324 arm::StoreOperandType type = arm::kStoreWordPair; local 348 arm::StoreOperandType type = arm::kStoreWordPair; local [all...] |