Home
last modified time | relevance | path

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

/art/runtime/
Dreflection-inl.h33 inline bool ConvertPrimitiveValueNoThrow(Primitive::Type srcType, in ConvertPrimitiveValueNoThrow() argument
37 DCHECK(srcType != Primitive::kPrimNot && dstType != Primitive::kPrimNot); in ConvertPrimitiveValueNoThrow()
38 if (LIKELY(srcType == dstType)) { in ConvertPrimitiveValueNoThrow()
49 if (srcType == Primitive::kPrimByte) { in ConvertPrimitiveValueNoThrow()
55 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || in ConvertPrimitiveValueNoThrow()
56 srcType == Primitive::kPrimShort) { in ConvertPrimitiveValueNoThrow()
62 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || in ConvertPrimitiveValueNoThrow()
63 srcType == Primitive::kPrimShort || srcType == Primitive::kPrimInt) { in ConvertPrimitiveValueNoThrow()
69 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || in ConvertPrimitiveValueNoThrow()
70 srcType == Primitive::kPrimShort || srcType == Primitive::kPrimInt) { in ConvertPrimitiveValueNoThrow()
[all …]
/art/test/064-field-access/src/
DMain.java494 private static boolean compatibleTypes(char srcType, char dstType) { in compatibleTypes() argument
499 return srcType == dstType; in compatibleTypes()
501 return srcType == 'B' || srcType == 'S'; in compatibleTypes()
503 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I'; in compatibleTypes()
505 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I' || in compatibleTypes()
506 srcType == 'J'; in compatibleTypes()
508 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I' || in compatibleTypes()
509 srcType == 'J' || srcType == 'F'; in compatibleTypes()
511 return srcType == 'B' || srcType == 'C' || srcType == 'S' || srcType == 'I' || in compatibleTypes()
512 srcType == 'J' || srcType == 'F' || srcType == 'D'; in compatibleTypes()
/art/runtime/native/
Djava_lang_System.cc145 std::string srcType(srcArray->PrettyTypeOf()); in System_arraycopy() local
149 srcType.c_str(), dstType.c_str()); in System_arraycopy()