Home
last modified time | relevance | path

Searched refs:type2 (Results 1 – 7 of 7) sorted by relevance

/art/test/046-reflect/src/
DMain.java615 Type type2 = types2.get(0); in checkParametrizedTypeEqualsAndHashCode() local
621 if (type2 instanceof ParameterizedType) { in checkParametrizedTypeEqualsAndHashCode()
628 if (type1.equals(type2)) { in checkParametrizedTypeEqualsAndHashCode()
629 System.out.println("type1("+type1+") equals type2("+type2+")"); in checkParametrizedTypeEqualsAndHashCode()
631 System.out.println("type1("+type1+") does not equal type2("+type2+")"); in checkParametrizedTypeEqualsAndHashCode()
639 if (type1.hashCode() == type2.hashCode()) { in checkParametrizedTypeEqualsAndHashCode()
640 System.out.println("type1("+type1+") hashCode equals type2("+type2+") hashCode"); in checkParametrizedTypeEqualsAndHashCode()
643 "type1("+type1+") hashCode does not equal type2("+type2+") hashCode"); in checkParametrizedTypeEqualsAndHashCode()
671 Type type2 = types2.get(0); in checkGenericArrayTypeEqualsAndHashCode() local
677 if (type2 instanceof GenericArrayType) { in checkGenericArrayTypeEqualsAndHashCode()
[all …]
/art/test/046-reflect/
Dexpected.txt127 type2 is a ParameterizedType
129 type1(java.util.Set<java.lang.String>) equals type2(java.util.Set<java.lang.String>)
131 type1(java.util.Set<java.lang.String>) hashCode equals type2(java.util.Set<java.lang.String>) hashC…
134 type2 is a GenericArrayType
136 type1(T[]) equals type2(T[])
138 type1(T[]) hashCode equals type2(T[]) hashCode
/art/runtime/verifier/
Dreg_type.cc625 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge() local
627 int32_t val2 = type2.ConstantValue(); in Merge()
637 if (!type2.IsPreciseConstant()) { in Merge()
638 return type2; in Merge()
652 if (!type2.IsPreciseConstant()) { in Merge()
653 return type2; in Merge()
661 if (type2.IsConstantByte()) { in Merge()
663 } else if (type2.IsConstantShort()) { in Merge()
669 if (type2.IsConstantShort()) { in Merge()
680 const ConstantType& type2 = *down_cast<const ConstantType*>(&incoming_type); in Merge() local
[all …]
/art/compiler/optimizing/
Dinstruction_simplifier.cc889 DataType::Type type2 = b->GetType(); in AreLowerPrecisionArgs() local
890 return (type1 == DataType::Type::kUint8 && type2 == DataType::Type::kUint8) || in AreLowerPrecisionArgs()
891 (type1 == DataType::Type::kInt8 && type2 == DataType::Type::kInt8) || in AreLowerPrecisionArgs()
892 (type1 == DataType::Type::kInt16 && type2 == DataType::Type::kInt16) || in AreLowerPrecisionArgs()
893 (type1 == DataType::Type::kUint16 && type2 == DataType::Type::kUint16) || in AreLowerPrecisionArgs()
894 (type1 == DataType::Type::kInt32 && type2 == DataType::Type::kInt32 && in AreLowerPrecisionArgs()
Dcode_generator.h408 DataType::Type type2);
Dcode_generator.cc1464 DataType::Type type2) { in EmitParallelMoves() argument
1467 parallel_move.AddMove(from2, to2, type2, nullptr); in EmitParallelMoves()
/art/runtime/
Dclass_linker.cc8152 Primitive::Type type2 = field2->GetTypeAsPrimitiveType(); in operator ()() local
8153 if (type1 != type2) { in operator ()()
8158 if (type2 == Primitive::kPrimNot) { in operator ()()
8163 size_t size2 = Primitive::ComponentSize(type2); in operator ()()
8169 return type1 < type2; in operator ()()