Home
last modified time | relevance | path

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

/art/runtime/
Dreflection-inl.h34 inline bool ConvertPrimitiveValueNoThrow(Primitive::Type srcType, in ConvertPrimitiveValueNoThrow() argument
38 DCHECK(srcType != Primitive::kPrimNot && dstType != Primitive::kPrimNot); in ConvertPrimitiveValueNoThrow()
39 if (LIKELY(srcType == dstType)) { in ConvertPrimitiveValueNoThrow()
50 if (srcType == Primitive::kPrimByte) { in ConvertPrimitiveValueNoThrow()
56 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || in ConvertPrimitiveValueNoThrow()
57 srcType == Primitive::kPrimShort) { in ConvertPrimitiveValueNoThrow()
63 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || in ConvertPrimitiveValueNoThrow()
64 srcType == Primitive::kPrimShort || srcType == Primitive::kPrimInt) { in ConvertPrimitiveValueNoThrow()
70 if (srcType == Primitive::kPrimByte || srcType == Primitive::kPrimChar || in ConvertPrimitiveValueNoThrow()
71 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.cc141 std::string srcType(srcArray->PrettyTypeOf()); in System_arraycopy() local
145 srcType.c_str(), dstType.c_str()); in System_arraycopy()