Home
last modified time | relevance | path

Searched refs:srcType (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dreflection.cc122 Primitive::Type srcType, Primitive::Type dstType, in ConvertPrimitiveValue() argument
124 CHECK(srcType != Primitive::kPrimNot && dstType != Primitive::kPrimNot); in ConvertPrimitiveValue()
127 if (srcType == Primitive::kPrimBoolean) { in ConvertPrimitiveValue()
133 if (srcType == Primitive::kPrimChar) { in ConvertPrimitiveValue()
139 if (srcType == Primitive::kPrimByte) { in ConvertPrimitiveValue()
145 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimShort) { in ConvertPrimitiveValue()
151 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || in ConvertPrimitiveValue()
152 srcType == Primitive::kPrimShort || srcType == Primitive::kPrimInt) { in ConvertPrimitiveValue()
158 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || in ConvertPrimitiveValue()
159 srcType == Primitive::kPrimShort || srcType == Primitive::kPrimInt) { in ConvertPrimitiveValue()
[all …]
/art/test/064-field-access/src/
DMain.java465 private static boolean compatibleTypes(char srcType, char dstType) { in compatibleTypes() argument
470 return srcType == dstType; in compatibleTypes()
472 return srcType == 'B' || srcType == 'S'; in compatibleTypes()
474 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I'; in compatibleTypes()
476 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I' || in compatibleTypes()
477 srcType == 'J'; in compatibleTypes()
479 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I' || in compatibleTypes()
480 srcType == 'J' || srcType == 'F'; in compatibleTypes()
482 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I' || in compatibleTypes()
483 srcType == 'J' || srcType == 'F' || srcType == 'D'; in compatibleTypes()
/art/runtime/native/
Djava_lang_System.cc223 std::string srcType(PrettyTypeOf(srcArray)); in System_arraycopy() local
228 srcType.c_str(), dstType.c_str()); in System_arraycopy()