/art/runtime/ |
D | primitive.h | 38 enum Type { enum 52 static Type GetType(char type) { in GetType() 77 static size_t ComponentSizeShift(Type type) { in ComponentSizeShift() 95 static size_t ComponentSize(Type type) { in ComponentSize() 113 static const char* Descriptor(Type type) { in Descriptor() 139 static const char* PrettyDescriptor(Type type); 142 static const char* BoxedDescriptor(Type type); 144 static bool IsFloatingPointType(Type type) { in IsFloatingPointType() 148 static bool IsIntegralType(Type type) { in IsIntegralType() 165 static constexpr bool IsNumericType(Type type) { in IsNumericType() [all …]
|
D | runtime_options.h | 45 #define DECLARE_KEY(Type, Name) static const Key<Type> Name argument 75 #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key<Type> (Name); argument
|
D | obj_ptr.h | 56 template <typename Type, 57 typename = typename std::enable_if<std::is_base_of<MirrorType, Type>::value>::type> 58 ALWAYS_INLINE ObjPtr(Type* ptr) // NOLINT in ObjPtr() 63 template <typename Type, 64 typename = typename std::enable_if<std::is_base_of<MirrorType, Type>::value>::type> 65 ALWAYS_INLINE ObjPtr(const ObjPtr<Type>& other) // NOLINT in ObjPtr() 70 template <typename Type, 71 typename = typename std::enable_if<std::is_base_of<MirrorType, Type>::value>::type> 72 ALWAYS_INLINE ObjPtr& operator=(const ObjPtr<Type>& other)
|
D | runtime_options.cc | 33 #define RUNTIME_OPTIONS_KEY(Type, Name, ...) const RuntimeArgumentMap::Key<Type> RuntimeArgumentMap… argument
|
D | primitive.cc | 49 const char* Primitive::PrettyDescriptor(Primitive::Type type) { in PrettyDescriptor() 56 const char* Primitive::BoxedDescriptor(Primitive::Type type) { in BoxedDescriptor() 63 std::ostream& operator<<(std::ostream& os, const Primitive::Type& type) { in operator <<()
|
D | reflection.h | 36 ObjPtr<mirror::Object> BoxPrimitive(Primitive::Type src_class, const JValue& value) 50 ALWAYS_INLINE bool ConvertPrimitiveValueNoThrow(Primitive::Type src_class, 51 Primitive::Type dst_class, 57 Primitive::Type src_class, 58 Primitive::Type dst_class,
|
D | reflection-inl.h | 33 inline bool ConvertPrimitiveValueNoThrow(Primitive::Type srcType, in ConvertPrimitiveValueNoThrow() 34 Primitive::Type dstType, in ConvertPrimitiveValueNoThrow() 98 Primitive::Type srcType, in ConvertPrimitiveValue() 99 Primitive::Type dstType, in ConvertPrimitiveValue()
|
D | method_handles.cc | 49 bool GetUnboxedPrimitiveType(ObjPtr<mirror::Class> klass, Primitive::Type* type) in GetUnboxedPrimitiveType() 72 ObjPtr<mirror::Class> GetBoxedPrimitiveClass(Primitive::Type type) in GetBoxedPrimitiveClass() 83 case Primitive::Type::kPrimNot: in GetBoxedPrimitiveClass() 84 case Primitive::Type::kPrimVoid: in GetBoxedPrimitiveClass() 90 bool GetUnboxedTypeAndValue(ObjPtr<mirror::Object> o, Primitive::Type* type, JValue* value) in GetUnboxedTypeAndValue() 106 inline bool IsReferenceType(Primitive::Type type) { in IsReferenceType() 110 inline bool IsPrimitiveType(Primitive::Type type) { in IsPrimitiveType() 126 Primitive::Type from_primitive = from->GetPrimitiveType(); in IsParameterTypeConvertible() 127 Primitive::Type to_primitive = to->GetPrimitiveType(); in IsParameterTypeConvertible() 128 DCHECK(from_primitive != Primitive::Type::kPrimVoid); in IsParameterTypeConvertible() [all …]
|
/art/compiler/ |
D | compiled_method.h | 121 enum class Type : uint8_t { enum 137 LinkerPatch patch(literal_offset, Type::kMethodRelative, target_dex_file); in RelativeMethodPatch() 147 LinkerPatch patch(literal_offset, Type::kMethodBssEntry, target_dex_file); in MethodBssEntryPatch() 156 LinkerPatch patch(literal_offset, Type::kCall, target_dex_file); in CodePatch() 164 LinkerPatch patch(literal_offset, Type::kCallRelative, target_dex_file); in RelativeCodePatch() 173 LinkerPatch patch(literal_offset, Type::kTypeRelative, target_dex_file); in RelativeTypePatch() 183 LinkerPatch patch(literal_offset, Type::kTypeBssEntry, target_dex_file); in TypeBssEntryPatch() 193 LinkerPatch patch(literal_offset, Type::kStringRelative, target_dex_file); in RelativeStringPatch() 203 LinkerPatch patch(literal_offset, Type::kStringBssEntry, target_dex_file); in StringBssEntryPatch() 212 LinkerPatch patch(literal_offset, Type::kBakerReadBarrierBranch, nullptr); [all …]
|
/art/test/948-change-annotations/ |
D | expected.txt | 2 Type annotations: [@TestClassAnnotation1(value=hello)] 6 Type annotations: [] 9 Type annotations: [@TestClassAnnotation1(value=hello)] 13 Type annotations: [@TestClassAnnotation1(value=hello), @TestClassAnnotation2(value=hello2)] 16 Type annotations: [@TestClassAnnotation1(value=hello)] 20 Type annotations: [@TestClassAnnotation1(value=Goodbye)]
|
/art/compiler/optimizing/ |
D | nodes_vector.h | 67 Primitive::Type packed_type, in HVecOperation() 94 Primitive::Type GetType() const OVERRIDE { in GetType() 99 Primitive::Type GetPackedType() const { in GetPackedType() 125 using TypeField = BitField<Primitive::Type, kFieldType, kFieldTypeSize>; 138 Primitive::Type packed_type, in HVecUnaryOperation() 164 Primitive::Type packed_type, in HVecBinaryOperation() 192 Primitive::Type packed_type, in HVecMemoryOperation() 224 inline static bool HasConsistentPackedTypes(HInstruction* input, Primitive::Type type) { in HasConsistentPackedTypes() 226 Primitive::Type input_type = input->AsVecOperation()->GetPackedType(); in HasConsistentPackedTypes() 251 Primitive::Type packed_type, [all …]
|
D | instruction_builder.h | 45 Primitive::Type return_type, in HInstructionBuilder() 101 HInstruction* LoadLocal(uint32_t register_index, Primitive::Type type) const; 117 void Unop_12x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc); 120 void Binop_23x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc); 123 void Binop_23x_shift(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc); 126 Primitive::Type type, 131 void Binop_12x(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc); 134 void Binop_12x_shift(const Instruction& instruction, Primitive::Type type, uint32_t dex_pc); 146 Primitive::Type input_type, 147 Primitive::Type result_type, [all …]
|
D | induction_var_analysis.h | 106 Primitive::Type t) in InductionInfo() 118 Primitive::Type type; // precision of operation 139 Primitive::Type type) { in CreateTripCount() 149 Primitive::Type type) { in CreateInduction() 170 InductionInfo* TransferConversion(InductionInfo* a, Primitive::Type from, Primitive::Type to); 203 Primitive::Type type, 210 Primitive::Type type, 215 Primitive::Type type, 220 Primitive::Type type, 226 InductionInfo* CreateConstant(int64_t value, Primitive::Type type); [all …]
|
D | loop_optimization.h | 91 ArrayReference(HInstruction* b, HInstruction* o, Primitive::Type t, bool l) in ArrayReference() 103 Primitive::Type type; // component type 132 Primitive::Type type, 134 bool TrySetVectorType(Primitive::Type type, /*out*/ uint64_t* restrictions); 136 void GenerateVecInv(HInstruction* org, Primitive::Type type); 142 Primitive::Type type); 146 Primitive::Type type, 153 Primitive::Type type,
|
D | ssa_builder.h | 67 HInstruction* GetFloatOrDoubleEquivalent(HInstruction* instruction, Primitive::Type type); 71 Primitive::Type type = aget->GetType(); in MaybeAddAmbiguousArrayGet() 79 Primitive::Type type = aset->GetValue()->GetType(); in MaybeAddAmbiguousArraySet() 114 HPhi* GetFloatDoubleOrReferenceEquivalentOfPhi(HPhi* phi, Primitive::Type type);
|
D | instruction_simplifier_arm.cc | 42 Primitive::Type type = use->GetType(); in TryMergeIntoShifterOperand() 147 Primitive::Type type = instruction->GetType(); in VisitArrayGet() 176 Primitive::Type type = instruction->GetComponentType(); in VisitArraySet() 219 Primitive::Type result_type = instruction->GetResultType(); in VisitTypeConversion() 220 Primitive::Type input_type = instruction->GetInputType(); in VisitTypeConversion()
|
D | common_arm.h | 79 inline vixl::aarch32::Register RegisterFrom(Location location, Primitive::Type type) { in RegisterFrom() 97 Primitive::Type type = instr->GetType(); in OutputSRegister() 103 Primitive::Type type = instr->GetType(); in OutputDRegister() 109 Primitive::Type type = instr->GetType(); in OutputVRegister() 118 Primitive::Type type = instr->InputAt(input_index)->GetType(); in InputSRegisterAt() 124 Primitive::Type type = instr->InputAt(input_index)->GetType(); in InputDRegisterAt() 130 Primitive::Type type = instr->InputAt(input_index)->GetType(); in InputVRegisterAt() 199 inline vixl::aarch32::Operand OperandFrom(Location location, Primitive::Type type) { in OperandFrom()
|
D | code_generator_mips64.h | 82 Location GetNextLocation(Primitive::Type type) OVERRIDE; 83 Location GetReturnLocation(Primitive::Type type) const OVERRIDE; 101 Location GetReturnLocation(Primitive::Type return_type); 117 Location GetReturnLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetReturnLocation() 120 Location GetSetValueLocation(Primitive::Type type ATTRIBUTE_UNUSED, in GetSetValueLocation() 126 Location GetFpuLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetFpuLocation() 301 Primitive::Type type, 305 Primitive::Type type, 483 void MoveLocation(Location dst, Location src, Primitive::Type dst_type) OVERRIDE; 490 void SwapLocations(Location loc1, Location loc2, Primitive::Type type); [all …]
|
D | ssa_builder.cc | 125 Primitive::Type common_type = phi->GetType(); in TypePhiFromInputs() 134 Primitive::Type input_type = HPhi::ToPhiType(input->GetType()); in TypePhiFromInputs() 166 Primitive::Type common_type = phi->GetType(); in TypeInputsOfPhi() 212 Primitive::Type original_type = phi->GetType(); in UpdatePrimitiveType() 273 Primitive::Type type = aget->GetType(); in FindFloatOrDoubleEquivalentOfArrayGet() 286 Primitive::Type type = aget->GetType(); in CreateFloatOrDoubleEquivalentOfArrayGet() 299 static Primitive::Type GetPrimitiveArrayComponentType(HInstruction* array) in GetPrimitiveArrayComponentType() 328 Primitive::Type array_type = GetPrimitiveArrayComponentType(array); in FixAmbiguousArrayOps() 368 Primitive::Type value_type = value->GetType(); in FixAmbiguousArrayOps() 369 Primitive::Type array_type = GetPrimitiveArrayComponentType(array); in FixAmbiguousArrayOps() [all …]
|
D | code_generator_mips.h | 84 Location GetNextLocation(Primitive::Type type) OVERRIDE; 85 Location GetReturnLocation(Primitive::Type type) const OVERRIDE; 103 Location GetReturnLocation(Primitive::Type return_type); 119 Location GetReturnLocation(Primitive::Type type) const OVERRIDE { in GetReturnLocation() 124 Location GetSetValueLocation(Primitive::Type type, bool is_instance) const OVERRIDE { in GetSetValueLocation() 129 Location GetFpuLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { in GetFpuLocation() 306 Primitive::Type type, 313 Primitive::Type type, 321 Primitive::Type type, 326 Primitive::Type type, [all …]
|
D | instruction_simplifier_shared.h | 29 Primitive::Type result_type = conversion->GetResultType(); in CanFitInShifterOperand() 30 Primitive::Type input_type = conversion->GetInputType(); in CanFitInShifterOperand()
|
/art/tools/jfuzz/ |
D | jfuzz.cc | 120 enum Type { enum in __anonaafa6ae90111::JFuzz 129 static bool isInteger(Type tp) { in isInteger() 134 static bool isFP(Type tp) { in isFP() 139 void emitType(Type tp) const { in emitType() 150 void emitTypeClass(Type tp) const { in emitTypeClass() 161 Type randomType() { in randomType() 176 void emitUnaryOp(Type tp) { in emitUnaryOp() 187 void emitIncDecOp(Type tp) { in emitIncDecOp() 196 void emitBinaryOp(Type tp) { in emitBinaryOp() 207 void emitAssignmentOp(Type tp) { in emitAssignmentOp() [all …]
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64.cc | 57 case LinkerPatch::Type::kCall: in IsAdrpPatch() 58 case LinkerPatch::Type::kCallRelative: in IsAdrpPatch() 59 case LinkerPatch::Type::kBakerReadBarrierBranch: in IsAdrpPatch() 61 case LinkerPatch::Type::kMethodRelative: in IsAdrpPatch() 62 case LinkerPatch::Type::kMethodBssEntry: in IsAdrpPatch() 63 case LinkerPatch::Type::kTypeRelative: in IsAdrpPatch() 64 case LinkerPatch::Type::kTypeBssEntry: in IsAdrpPatch() 65 case LinkerPatch::Type::kStringRelative: in IsAdrpPatch() 66 case LinkerPatch::Type::kStringBssEntry: in IsAdrpPatch() 253 DCHECK(patch.GetType() == LinkerPatch::Type::kMethodRelative || in PatchPcRelativeReference() [all …]
|
/art/test/052-verifier-fun/src/ |
D | Main.java | 17 import java.lang.reflect.Type; 99 private Type[] typeTest() { in typeTest() 103 return (Type[])null; in typeTest()
|
/art/test/046-reflect/src/ |
D | Main.java | 514 Type listType = field.getGenericType(); in checkGeneric() 523 Type[] parmTypes = method.getGenericParameterTypes(); in checkGeneric() 524 Type ret = method.getGenericReturnType(); in checkGeneric() 542 private static String stringifyTypeArray(Type[] types) { in stringifyTypeArray() 548 for (Type t: types) { in stringifyTypeArray() 610 List<Type> types1 = Arrays.asList(method1.getGenericParameterTypes()); in checkParametrizedTypeEqualsAndHashCode() 611 List<Type> types2 = Arrays.asList(method2.getGenericParameterTypes()); in checkParametrizedTypeEqualsAndHashCode() 612 List<Type> types3 = Arrays.asList(method3.getGenericParameterTypes()); in checkParametrizedTypeEqualsAndHashCode() 614 Type type1 = types1.get(0); in checkParametrizedTypeEqualsAndHashCode() 615 Type type2 = types2.get(0); in checkParametrizedTypeEqualsAndHashCode() [all …]
|