/art/runtime/arch/x86/ |
D | callee_save_frame_x86.h | 51 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills() argument 52 type = GetCanonicalCalleeSaveType(type); in GetCoreSpills() 54 (type == CalleeSaveType::kSaveRefsAndArgs ? kX86CalleeSaveArgSpills : 0) | in GetCoreSpills() 55 (type == CalleeSaveType::kSaveEverything ? kX86CalleeSaveEverythingSpills : 0); in GetCoreSpills() 58 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills() argument 59 type = GetCanonicalCalleeSaveType(type); in GetFpSpills() 60 return (type == CalleeSaveType::kSaveRefsAndArgs ? kX86CalleeSaveFpArgSpills : 0) | in GetFpSpills() 61 (type == CalleeSaveType::kSaveEverything ? kX86CalleeSaveFpEverythingSpills : 0); in GetFpSpills() 64 static constexpr uint32_t GetFrameSize(CalleeSaveType type) { in GetFrameSize() argument 65 type = GetCanonicalCalleeSaveType(type); in GetFrameSize() [all …]
|
/art/runtime/arch/x86_64/ |
D | callee_save_frame_x86_64.h | 61 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills() argument 62 type = GetCanonicalCalleeSaveType(type); in GetCoreSpills() 64 (type == CalleeSaveType::kSaveRefsAndArgs ? kX86_64CalleeSaveArgSpills : 0) | in GetCoreSpills() 65 (type == CalleeSaveType::kSaveEverything ? kX86_64CalleeSaveEverythingSpills : 0); in GetCoreSpills() 68 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills() argument 69 type = GetCanonicalCalleeSaveType(type); in GetFpSpills() 71 (type == CalleeSaveType::kSaveRefsAndArgs ? kX86_64CalleeSaveFpArgSpills : 0) | in GetFpSpills() 72 (type == CalleeSaveType::kSaveEverything ? kX86_64CalleeSaveFpEverythingSpills : 0); in GetFpSpills() 75 static constexpr uint32_t GetFrameSize(CalleeSaveType type) { in GetFrameSize() argument 76 type = GetCanonicalCalleeSaveType(type); in GetFrameSize() [all …]
|
/art/runtime/arch/arm/ |
D | callee_save_frame_arm.h | 61 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills() argument 62 type = GetCanonicalCalleeSaveType(type); in GetCoreSpills() 64 (type == CalleeSaveType::kSaveRefsAndArgs ? kArmCalleeSaveArgSpills : 0) | in GetCoreSpills() 65 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArmCalleeSaveAllSpills : 0) | in GetCoreSpills() 66 (type == CalleeSaveType::kSaveEverything ? kArmCalleeSaveEverythingSpills : 0); in GetCoreSpills() 69 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills() argument 70 type = GetCanonicalCalleeSaveType(type); in GetFpSpills() 72 (type == CalleeSaveType::kSaveRefsAndArgs ? kArmCalleeSaveFpArgSpills : 0) | in GetFpSpills() 73 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArmCalleeSaveFpAllSpills : 0) | in GetFpSpills() 74 (type == CalleeSaveType::kSaveEverything ? kArmCalleeSaveFpEverythingSpills : 0); in GetFpSpills() [all …]
|
/art/compiler/optimizing/ |
D | data_type.h | 47 static constexpr Type FromShorty(char type); 48 static constexpr char TypeId(DataType::Type type); 50 static constexpr size_t SizeShift(Type type) { in SizeShift() argument 51 switch (type) { in SizeShift() 71 LOG(FATAL) << "Invalid type " << static_cast<int>(type); in SizeShift() 76 static constexpr size_t Size(Type type) { in Size() argument 77 switch (type) { in Size() 98 LOG(FATAL) << "Invalid type " << static_cast<int>(type); in Size() 103 static bool IsFloatingPointType(Type type) { in IsFloatingPointType() argument 104 return type == Type::kFloat32 || type == Type::kFloat64; in IsFloatingPointType() [all …]
|
D | common_arm.h | 70 inline vixl::aarch32::Register RegisterFrom(Location location, DataType::Type type) { in RegisterFrom() argument 71 DCHECK(type != DataType::Type::kVoid && !DataType::IsFloatingPointType(type)) << type; in RegisterFrom() 88 DataType::Type type = instr->GetType(); in OutputSRegister() local 89 DCHECK_EQ(type, DataType::Type::kFloat32) << type; in OutputSRegister() 94 DataType::Type type = instr->GetType(); in OutputDRegister() local 95 DCHECK_EQ(type, DataType::Type::kFloat64) << type; in OutputDRegister() 100 DataType::Type type = instr->GetType(); in OutputVRegister() local 101 if (type == DataType::Type::kFloat32) { in OutputVRegister() 109 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputSRegisterAt() local 110 DCHECK_EQ(type, DataType::Type::kFloat32) << type; in InputSRegisterAt() [all …]
|
D | loop_optimization.h | 103 : base(b), offset(o), type(t), lhs(l), is_string_char_at(c) { } in base() 109 (type < other.type || 110 (type == other.type && 117 DataType::Type type; // component type member 186 DataType::Type type, 189 bool TrySetVectorType(DataType::Type type, /*out*/ uint64_t* restrictions); 192 bool TrySetVectorLength(DataType::Type type, uint32_t length) { in TrySetVectorLength() argument 195 DCHECK(!res || (DataType::Size(type) * length == GetVectorSizeInBytes())); in TrySetVectorLength() 199 void GenerateVecInv(HInstruction* org, DataType::Type type); 205 DataType::Type type); [all …]
|
D | loop_optimization.cc | 45 static uint32_t HiddenOffset(DataType::Type type, bool is_string_char_at) { in HiddenOffset() argument 48 : mirror::Array::DataOffset(DataType::Size(type)).Uint32Value(); in HiddenOffset() 87 DataType::Type type, 93 DataType::Type type, in IsSignExtensionAndGet() argument 100 switch (type) { in IsSignExtensionAndGet() 120 if (instruction->GetType() == type) { in IsSignExtensionAndGet() 121 switch (type) { in IsSignExtensionAndGet() 137 if (type == from && (from == DataType::Type::kInt8 || in IsSignExtensionAndGet() 145 return type == DataType::Type::kUint16 && in IsSignExtensionAndGet() 147 IsZeroExtensionAndGet(instruction->InputAt(0), type, /*out*/ operand); in IsSignExtensionAndGet() [all …]
|
D | data_type-inl.h | 26 constexpr DataType::Type DataTypeFromPrimitive(Primitive::Type type) { in DataTypeFromPrimitive() argument 27 switch (type) { in DataTypeFromPrimitive() 44 constexpr Primitive::Type DataTypeToPrimitive(DataType::Type type) { in DataTypeToPrimitive() argument 45 switch (type) { in DataTypeToPrimitive() 57 LOG(FATAL) << "Unexpected type " << type; in DataTypeToPrimitive() 62 constexpr DataType::Type DataType::FromShorty(char type) { in FromShorty() argument 63 return DataTypeFromPrimitive(Primitive::GetType(type)); in FromShorty() 66 constexpr char DataType::TypeId(DataType::Type type) { in TypeId() argument 69 switch (type) { in TypeId()
|
/art/runtime/arch/arm64/ |
D | callee_save_frame_arm64.h | 84 static constexpr uint32_t GetCoreSpills(CalleeSaveType type) { in GetCoreSpills() argument 85 type = GetCanonicalCalleeSaveType(type); in GetCoreSpills() 87 (type == CalleeSaveType::kSaveRefsAndArgs ? kArm64CalleeSaveArgSpills : 0) | in GetCoreSpills() 88 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArm64CalleeSaveAllSpills : 0) | in GetCoreSpills() 89 (type == CalleeSaveType::kSaveEverything ? kArm64CalleeSaveEverythingSpills : 0); in GetCoreSpills() 92 static constexpr uint32_t GetFpSpills(CalleeSaveType type) { in GetFpSpills() argument 93 type = GetCanonicalCalleeSaveType(type); in GetFpSpills() 95 (type == CalleeSaveType::kSaveRefsAndArgs ? kArm64CalleeSaveFpArgSpills : 0) | in GetFpSpills() 96 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArm64CalleeSaveFpAllSpills : 0) | in GetFpSpills() 97 (type == CalleeSaveType::kSaveEverything ? kArm64CalleeSaveFpEverythingSpills : 0); in GetFpSpills() [all …]
|
/art/libdexfile/dex/ |
D | primitive.cc | 49 const char* Primitive::PrettyDescriptor(Primitive::Type type) { in PrettyDescriptor() argument 52 CHECK(Primitive::kPrimNot <= type && type <= Primitive::kPrimVoid) << static_cast<int>(type); in PrettyDescriptor() 53 return kTypeNames[type]; in PrettyDescriptor() 56 const char* Primitive::BoxedDescriptor(Primitive::Type type) { in BoxedDescriptor() argument 59 CHECK(Primitive::kPrimNot <= type && type <= Primitive::kPrimVoid) << static_cast<int>(type); in BoxedDescriptor() 60 return kBoxedDescriptors[type]; in BoxedDescriptor() 63 std::ostream& operator<<(std::ostream& os, Primitive::Type type) { in operator <<() argument 64 uint32_t int_type = static_cast<uint32_t>(type); in operator <<() 65 if (type <= Primitive::kPrimLast) { in operator <<()
|
D | primitive.h | 53 static constexpr Type GetType(char type) { in GetType() argument 54 switch (type) { in GetType() 78 static constexpr size_t ComponentSizeShift(Type type) { in ComponentSizeShift() argument 79 switch (type) { in ComponentSizeShift() 91 LOG(FATAL) << "Invalid type " << static_cast<int>(type); in ComponentSizeShift() 95 static constexpr size_t ComponentSize(Type type) { in ComponentSize() argument 96 switch (type) { in ComponentSize() 108 LOG(FATAL) << "Invalid type " << static_cast<int>(type); in ComponentSize() 112 static const char* Descriptor(Type type) { in Descriptor() argument 113 switch (type) { in Descriptor() [all …]
|
/art/test/dexdump/ |
D | values.txt | 47 type : 'B' 52 type : 'B' 57 type : 'B' 62 type : 'B' 67 type : 'C' 72 type : 'C' 77 type : 'C' 82 type : 'C' 87 type : 'C' 92 type : 'C' [all …]
|
D | staticfields.txt | 47 type : 'B' 52 type : 'S' 57 type : 'C' 62 type : 'I' 67 type : 'J' 72 type : 'F' 77 type : 'D' 82 type : 'Ljava/lang/String;' 87 type : 'Ljava/lang/Object;' 92 type : 'Z' [all …]
|
/art/test/980-redefine-object/ |
D | expected-stdout.txt | 6 Object allocated of type 'java.lang.Object' 8 Object allocated of type 'Transform' 11 Object allocated of type 'java.util.ArrayList' 13 Object allocated of type 'java.lang.Object' 14 Object allocated of type 'java.lang.Object' 15 Object allocated of type 'Transform' 17 Object allocated of type 'java.util.LinkedList' 19 Object allocated of type 'java.lang.Object' 20 Object allocated of type 'java.util.LinkedList$Node' 21 Object allocated of type 'java.lang.Object' [all …]
|
/art/test/990-field-trace/ |
D | expected-stdout.txt | 1 ….xyz on object of type: class art.Test990$TestClass1 in method public art.Test990$TestClass1(int,j… 2 …abc on object of type: class art.Test990$TestClass1 in method public art.Test990$TestClass1(int,ja… 3 …g art.Test990$TestClass2.TOTAL on object of type: null in method art.Test990$TestClass2(). New val… 4 …xyz on object of type: class art.Test990$TestClass2 in method public art.Test990$TestClass1(int,ja… 5 …c on object of type: class art.Test990$TestClass2 in method public art.Test990$TestClass1(int,java… 6 …stClass2.baz on object of type: class art.Test990$TestClass2 in method public art.Test990$TestClas… 7 ….xyz on object of type: class art.Test990$TestClass1 in method public art.Test990$TestClass1(int,j… 8 …type: class art.Test990$TestClass1 in method public art.Test990$TestClass1(int,java.lang.Object). … 9 ….xyz on object of type: class art.Test990$TestClass1 in method public art.Test990$TestClass1(int,j… 10 …type: class art.Test990$TestClass1 in method public art.Test990$TestClass1(int,java.lang.Object). … [all …]
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | DiffedFieldValue.java | 34 public final Type type; field in DiffedFieldValue 83 current.type, in matched() 96 return new DiffedFieldValue(current.name, current.type, current.value, null, Status.ADDED); in added() 106 return new DiffedFieldValue(baseline.name, baseline.type, null, baseline.value, Status.DELETED); in deleted() 109 private DiffedFieldValue(String name, Type type, Value current, Value baseline, Status status) { in DiffedFieldValue() argument 111 this.type = type; in DiffedFieldValue() 118 return Objects.hash(name, type, current, baseline, status); in hashCode() 126 && type.equals(other.type) in equals() 138 return "(" + name + " " + type + " +" + current + ")"; in toString() 141 return "(" + name + " " + type + " " + current + " " + baseline + ")"; in toString() [all …]
|
D | Field.java | 31 public final Type type; field in Field 39 public Field(String name, Type type) { in Field() argument 41 this.type = type; in Field()
|
/art/test/960-default-smali/ |
D | expected-stdout.txt | 1 Testing for type A 6 End testing for type A 7 Testing for type B 14 End testing for type B 15 Testing for type C 22 End testing for type C 23 Testing for type D 32 End testing for type D 33 Testing for type E 42 End testing for type E [all …]
|
/art/test/969-iface-super/ |
D | expected-stdout.txt | 1 Testing for type A 4 End testing for type A 5 Testing for type B 9 End testing for type B 10 Testing for type C 13 End testing for type C 14 Testing for type D 18 End testing for type D 19 Testing for type E 23 End testing for type E [all …]
|
/art/libartbase/base/ |
D | bit_struct_detail.h | 37 using type = member 44 void>::type>::type>::type>::type>::type>::type; 51 using type_unsigned = typename MinimumTypeUnsignedHelper<kBitSize>::type; 53 using type = member 55 /* then */ typename std::make_signed<type_unsigned>::type, 56 /* else */ type_unsigned>::type; 62 using StorageType = typename MinimumTypeHelper<T, sizeof(T) * kBitsPerByte>::type; 115 typename MinimumTypeUnsignedHelper<kSize>::type _; 122 using TrueT = std::integral_constant<bool, true>::type; 123 using FalseT = std::integral_constant<bool, false>::type;
|
/art/test/1940-ddms-ext/src-art/art/ |
D | Test1940.java | 40 public void HandleChunk(int type, byte[] data) throws Exception; in HandleChunk() argument 54 return a.type == b.type && in chunkEq() 64 k.type, k.length, Arrays.toString(out)); in printChunk() 72 if (req.type == MY_DDMS_TYPE) { in handleChunk() 84 } else if (req.type == MY_EMPTY_DDMS_TYPE) { in handleChunk() 86 } else if (req.type == MY_INVALID_DDMS_TYPE) { in handleChunk() 90 throw new TestError("Unknown ddm request type: " + req.type); in handleChunk() 99 public static void HandlePublish(int type, byte[] data) throws Exception { in HandlePublish() argument 102 "Unknown Chunk published: " + printChunk(new Chunk(type, data, 0, data.length))); in HandlePublish() 104 CURRENT_HANDLER.HandleChunk(type, data); in HandlePublish() [all …]
|
/art/test/048-reflect-v8/ |
D | expected-stdout.txt | 18 Class annotations by type: 20 Annotations by type, defined by class SingleUser with annotation Calendar: @Calendar(dayOfMonth=uns… 21 Annotations by type, defined by class SingleUser with annotation Calendars: <empty> 22 Annotations by type, defined by class User with annotation Calendar: @Calendar(dayOfMonth=last, day… 23 Annotations by type, defined by class User with annotation Calendars: @Calendars(value=[@Calendar(d… 24 Annotations by type, defined by class User2 with annotation Calendar: @Calendar(dayOfMonth=z, dayOf… 25 Annotations by type, defined by class User2 with annotation Calendars: @Calendars(value=[@Calendar(… 26 Annotations by type, defined by class UserComplex with annotation Calendar: @Calendar(dayOfMonth=af… 27 Annotations by type, defined by class UserComplex with annotation Calendars: @Calendars(value=[@Cal… 28 Annotations by type, defined by class UserSub with annotation Calendar: @Calendar(dayOfMonth=last, … [all …]
|
/art/runtime/interpreter/ |
D | safe_math.h | 29 typedef typename std::conditional<sizeof(T1) >= sizeof(T2), T1, T2>::type type; 34 static inline typename select_bigger<T1, T2>::type SafeMath(T1 a, T2 b) { in SafeMath() 35 typedef typename select_bigger<T1, T2>::type biggest_T; in SafeMath() 36 typedef typename std::make_unsigned<biggest_T>::type unsigned_biggest_T; in SafeMath() 46 static inline typename select_bigger<T1, T2>::type SafeAdd(T1 a, T2 b) { in SafeAdd() 52 static inline typename select_bigger<T1, T2>::type SafeSub(T1 a, T2 b) { in SafeSub() 58 static inline typename select_bigger<T1, T2>::type SafeMul(T1 a, T2 b) { in SafeMul()
|
/art/runtime/ |
D | art_field-inl.h | 133 #define FIELD_GET(object, type) \ argument 134 DCHECK_EQ(Primitive::kPrim ## type, GetTypeAsPrimitiveType()) << PrettyField(); \ 138 return (object)->GetField ## type ## Volatile(GetOffset()); \ 140 return (object)->GetField ## type(GetOffset()); 142 #define FIELD_SET(object, type, value) \ argument 146 (object)->SetField ## type ## Volatile<kTransactionActive>(GetOffset(), value); \ 148 (object)->SetField ## type<kTransactionActive>(GetOffset(), value); \ 160 Primitive::Type type = GetTypeAsPrimitiveType(); in SetBoolean() local 161 DCHECK(type == Primitive::kPrimBoolean || type == Primitive::kPrimByte) << PrettyField(); in SetBoolean() 185 Primitive::Type type = GetTypeAsPrimitiveType(); in SetChar() local [all …]
|
/art/test/004-JniTest/ |
D | expected-stdout.txt | 32 Calling method ConcreteClass->JniCallNonOverridenDefaultMethod on object of type ConcreteClass 34 Calling method ConcreteClass->JniCallOverridenDefaultMethod on object of type ConcreteClass 36 Calling method ConcreteClass->JniCallOverridenDefaultMethodWithSuper on object of type ConcreteClass 39 Calling method ConcreteClass->JniCallOverridenAbstractMethod on object of type ConcreteClass 41 Calling method ConcreteClass->JniCallConflictDefaultMethod on object of type ConcreteClass 43 Calling method ConcreteClass->JniCallSoftConflictMethod on object of type ConcreteClass 45 Calling method DefaultInterface->JniCallNonOverridenDefaultMethod on object of type ConcreteClass 47 Calling method DefaultInterface->JniCallOverridenDefaultMethod on object of type ConcreteClass 49 Calling method DefaultInterface->JniCallOverridenAbstractMethod on object of type ConcreteClass 51 Calling method DefaultInterface->JniCallConflictDefaultMethod on object of type ConcreteClass [all …]
|