/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
H A D | Field.java | 29 * The type of the field. 31 public final Type type; field in class:Field 37 * @param type type of the field 39 public Field(String name, Type type) { argument 41 this.type = type;
|
H A D | FieldValue.java | 29 * The type of the field. 31 public final Type type; field in class:FieldValue 42 * @param type type of the field 45 public FieldValue(String name, Type type, Value value) { argument 47 this.type = type;
|
H A D | DiffedFieldValue.java | 32 * The type of the field. 34 public final Type type; field in class:DiffedFieldValue 83 current.type, 96 return new DiffedFieldValue(current.name, current.type, current.value, null, Status.ADDED); 106 return new DiffedFieldValue(baseline.name, baseline.type, null, baseline.value, Status.DELETED); 109 private DiffedFieldValue(String name, Type type, Value current, Value baseline, Status status) { argument 111 this.type = type; 122 && type.equals(other.type) [all...] |
/art/test/964-default-iface-init-gen/src/ |
H A D | Displayer.java | 18 public Displayer(String type) { argument 19 System.out.println("initialization of " + type);
|
/art/libdexfile/dex/ |
H A D | primitive.cc | 49 const char* Primitive::PrettyDescriptor(Primitive::Type type) { argument 52 CHECK(Primitive::kPrimNot <= type && type <= Primitive::kPrimVoid) << static_cast<int>(type); 53 return kTypeNames[type]; 56 const char* Primitive::BoxedDescriptor(Primitive::Type type) { argument 59 CHECK(Primitive::kPrimNot <= type && type <= Primitive::kPrimVoid) << static_cast<int>(type); 60 return kBoxedDescriptors[type]; 63 operator <<(std::ostream& os, Primitive::Type type) argument [all...] |
H A D | primitive.h | 53 static constexpr Type GetType(char type) { argument 54 switch (type) { 78 static constexpr size_t ComponentSizeShift(Type type) { argument 79 switch (type) { 91 LOG(FATAL) << "Invalid type " << static_cast<int>(type); 95 static constexpr size_t ComponentSize(Type type) { argument 96 switch (type) { 108 LOG(FATAL) << "Invalid type " << static_cast<int>(type); 112 Descriptor(Type type) argument 144 IsNumericType(Type type) argument 162 IsSignedNumericType(Type type) argument 181 BitsRequiredForLargestValue(Type type) argument 214 Is64BitType(Type type) argument [all...] |
/art/runtime/arch/arm/ |
H A D | quick_method_frame_info_arm.h | 58 constexpr uint32_t ArmCalleeSaveCoreSpills(CalleeSaveType type) { argument 59 type = GetCanonicalCalleeSaveType(type); 61 (type == CalleeSaveType::kSaveRefsAndArgs ? kArmCalleeSaveArgSpills : 0) | 62 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArmCalleeSaveAllSpills : 0) | 63 (type == CalleeSaveType::kSaveEverything ? kArmCalleeSaveEverythingSpills : 0); 66 constexpr uint32_t ArmCalleeSaveFpSpills(CalleeSaveType type) { argument 67 type = GetCanonicalCalleeSaveType(type); 69 (type 74 ArmCalleeSaveFrameSize(CalleeSaveType type) argument 81 ArmCalleeSaveMethodFrameInfo(CalleeSaveType type) argument 88 ArmCalleeSaveFpr1Offset(CalleeSaveType type) argument 95 ArmCalleeSaveGpr1Offset(CalleeSaveType type) argument 101 ArmCalleeSaveLrOffset(CalleeSaveType type) argument [all...] |
/art/libartbase/base/ |
H A D | callee_save_type.h | 37 static inline constexpr CalleeSaveType GetCanonicalCalleeSaveType(CalleeSaveType type) { argument 38 if (type == CalleeSaveType::kSaveEverythingForClinit || 39 type == CalleeSaveType::kSaveEverythingForSuspendCheck) { 42 return type;
|
H A D | stl_util_identity.h | 22 // Use to suppress type deduction for a function argument. 26 // e.g. "template <typename X> void bar(identity<X>::type foo); 29 // or "template <typename T> void foo(T* x, typename Identity<T*>::type y); 36 using type = T;
|
H A D | bit_struct_detail.h | 37 using type = 44 void>::type>::type>::type>::type>::type>::type; 51 using type_unsigned = typename MinimumTypeUnsignedHelper<kBitSize>::type; 53 using type = 55 /* then */ typename std::make_signed<type_unsigned>::type, [all...] |
/art/runtime/arch/x86/ |
H A D | quick_method_frame_info_x86.h | 59 constexpr uint32_t X86CalleeSaveCoreSpills(CalleeSaveType type) { argument 60 type = GetCanonicalCalleeSaveType(type); 62 (type == CalleeSaveType::kSaveRefsAndArgs ? kX86CalleeSaveArgSpills : 0) | 63 (type == CalleeSaveType::kSaveEverything ? kX86CalleeSaveEverythingSpills : 0); 66 constexpr uint32_t X86CalleeSaveFpSpills(CalleeSaveType type) { argument 67 type = GetCanonicalCalleeSaveType(type); 68 return (type == CalleeSaveType::kSaveRefsAndArgs ? kX86CalleeSaveFpArgSpills : 0) | 69 (type 72 X86CalleeSaveFrameSize(CalleeSaveType type) argument 79 X86CalleeSaveMethodFrameInfo(CalleeSaveType type) argument [all...] |
/art/runtime/arch/arm64/ |
H A D | quick_method_frame_info_arm64.h | 82 constexpr uint32_t Arm64CalleeSaveCoreSpills(CalleeSaveType type) { argument 83 type = GetCanonicalCalleeSaveType(type); 85 (type == CalleeSaveType::kSaveRefsAndArgs ? kArm64CalleeSaveArgSpills : 0) | 86 (type == CalleeSaveType::kSaveAllCalleeSaves ? kArm64CalleeSaveAllSpills : 0) | 87 (type == CalleeSaveType::kSaveEverything ? kArm64CalleeSaveEverythingSpills : 0); 90 constexpr uint32_t Arm64CalleeSaveFpSpills(CalleeSaveType type) { argument 91 type = GetCanonicalCalleeSaveType(type); 93 (type 98 Arm64CalleeSaveFrameSize(CalleeSaveType type) argument 105 Arm64CalleeSaveMethodFrameInfo(CalleeSaveType type) argument 112 Arm64CalleeSaveFpr1Offset(CalleeSaveType type) argument 119 Arm64CalleeSaveGpr1Offset(CalleeSaveType type) argument 125 Arm64CalleeSaveLrOffset(CalleeSaveType type) argument [all...] |
/art/compiler/optimizing/ |
H A D | data_type.cc | 37 const char* DataType::PrettyDescriptor(Type type) { argument 40 uint32_t uint_type = static_cast<uint32_t>(type); 45 std::ostream& operator<<(std::ostream& os, DataType::Type type) { argument 46 uint32_t uint_type = static_cast<uint32_t>(type);
|
H A 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) { argument 51 switch (type) { 71 LOG(FATAL) << "Invalid type " << static_cast<int>(type); 76 static constexpr size_t Size(Type type) { argument 77 switch (type) { 98 LOG(FATAL) << "Invalid type " << static_cast<int>(type); 103 IsFloatingPointType(Type type) argument 107 IsIntegralType(Type type) argument 126 IsIntOrLongType(Type type) argument 130 Is64BitType(Type type) argument 134 IsUnsignedType(Type type) argument 140 Kind(Type type) argument 158 MinValueOfIntegralType(Type type) argument 184 MaxValueOfIntegralType(Type type) argument [all...] |
H A D | data_type-inl.h | 26 constexpr DataType::Type DataTypeFromPrimitive(Primitive::Type type) { argument 27 switch (type) { 43 constexpr DataType::Type DataType::FromShorty(char type) { argument 44 return DataTypeFromPrimitive(Primitive::GetType(type)); 47 constexpr char DataType::TypeId(DataType::Type type) { argument 50 switch (type) {
|
/art/tools/cpp-define-generator/ |
H A D | constant_jit.def | 23 #define DEFINE_JIT_CONSTANT(macro_name, type, expr) \ 24 DEFINE_EXPR(JIT_ ## macro_name, type, (expr))
|
H A D | constant_thread.def | 23 #define DEFINE_THREAD_CONSTANT(macro_name, type, expr) \ 24 DEFINE_EXPR(THREAD_ ## macro_name, type, (expr))
|
/art/runtime/arch/x86_64/ |
H A D | quick_method_frame_info_x86_64.h | 58 constexpr uint32_t X86_64CalleeSaveCoreSpills(CalleeSaveType type) { argument 59 type = GetCanonicalCalleeSaveType(type); 61 (type == CalleeSaveType::kSaveRefsAndArgs ? kX86_64CalleeSaveArgSpills : 0) | 62 (type == CalleeSaveType::kSaveEverything ? kX86_64CalleeSaveEverythingSpills : 0); 65 constexpr uint32_t X86_64CalleeSaveFpSpills(CalleeSaveType type) { argument 66 type = GetCanonicalCalleeSaveType(type); 68 (type == CalleeSaveType::kSaveRefsAndArgs ? kX86_64CalleeSaveFpArgSpills : 0) | 69 (type 72 X86_64CalleeSaveFrameSize(CalleeSaveType type) argument 79 X86_64CalleeSaveMethodFrameInfo(CalleeSaveType type) argument [all...] |
/art/runtime/entrypoints/quick/ |
H A D | callee_save_frame.h | 70 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, CalleeSaveType type) { argument 74 return arm::ArmCalleeSaveFrameSize(type); 76 return arm64::Arm64CalleeSaveFrameSize(type); 78 return mips::MipsCalleeSaveFrameSize(type); 80 return mips64::Mips64CalleeSaveFrameSize(type); 82 return x86::X86CalleeSaveFrameSize(type); 84 return x86_64::X86_64CalleeSaveFrameSize(type); 118 static constexpr size_t GetCalleeSaveReturnPcOffset(InstructionSet isa, CalleeSaveType type) { argument 119 return GetCalleeSaveFrameSize(isa, type) - static_cast<size_t>(GetConstExprPointerSize(isa));
|
/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/runtime/arch/mips/ |
H A D | quick_method_frame_info_mips.h | 46 // odd number of integer registers was when "type" is 83 constexpr uint32_t MipsCalleeSaveCoreSpills(CalleeSaveType type) { argument 84 type = GetCanonicalCalleeSaveType(type); 86 (type == CalleeSaveType::kSaveRefsAndArgs ? kMipsCalleeSaveArgSpills : 0) | 87 (type == CalleeSaveType::kSaveAllCalleeSaves ? kMipsCalleeSaveAllSpills : 0) | 88 (type == CalleeSaveType::kSaveEverything ? kMipsCalleeSaveEverythingSpills : 0); 91 constexpr uint32_t MipsCalleeSaveFPSpills(CalleeSaveType type) { argument 92 type = GetCanonicalCalleeSaveType(type); 99 MipsCalleeSaveFrameSize(CalleeSaveType type) argument 106 MipsCalleeSaveMethodFrameInfo(CalleeSaveType type) argument [all...] |
/art/runtime/arch/mips64/ |
H A D | quick_method_frame_info_mips64.h | 74 constexpr uint32_t Mips64CalleeSaveCoreSpills(CalleeSaveType type) { argument 75 type = GetCanonicalCalleeSaveType(type); 77 (type == CalleeSaveType::kSaveRefsAndArgs ? kMips64CalleeSaveArgSpills : 0) | 78 (type == CalleeSaveType::kSaveAllCalleeSaves ? kMips64CalleeSaveAllSpills : 0) | 79 (type == CalleeSaveType::kSaveEverything ? kMips64CalleeSaveEverythingSpills : 0); 82 constexpr uint32_t Mips64CalleeSaveFpSpills(CalleeSaveType type) { argument 83 type = GetCanonicalCalleeSaveType(type); 85 (type 90 Mips64CalleeSaveFrameSize(CalleeSaveType type) argument 97 Mips64CalleeSaveMethodFrameInfo(CalleeSaveType type) argument [all...] |
/art/runtime/ |
H A D | runtime-inl.h | 74 inline ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) 76 DCHECK(HasCalleeSaveMethod(type)); 77 return GetCalleeSaveMethodUnchecked(type); 80 inline ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) 82 return reinterpret_cast<ArtMethod*>(callee_save_methods_[static_cast<size_t>(type)]);
|
H A D | jvalue-inl.h | 30 #define DEFINE_FROM(type, chr) \ 31 template <> inline JValue JValue::FromPrimitive(type v) { \
|
/art/test/1940-ddms-ext/src-art/art/ |
H A D | Test1940.java | 39 public void HandleChunk(int type, byte[] data); argument 56 k.type, k.length, Arrays.toString(out)); 64 if (req.type == MY_DDMS_TYPE) { 76 } else if (req.type == MY_EMPTY_DDMS_TYPE) { 78 } else if (req.type == MY_INVALID_DDMS_TYPE) { 82 throw new TestError("Unknown ddm request type: " + req.type); 91 public static void HandlePublish(int type, byte[] data) { argument 94 "Unknown Chunk published: " + printChunk(new Chunk(type, data, 0, data.length))); 96 CURRENT_HANDLER.HandleChunk(type, dat [all...] |