Home
last modified time | relevance | path

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

/dalvik/vm/native/
Djava_lang_System.c39 char srcType, dstType; in Dalvik_java_lang_System_arraycopy() local
77 srcType = srcClass->descriptor[1]; in Dalvik_java_lang_System_arraycopy()
84 srcPrim = (srcType != '[' && srcType != 'L'); in Dalvik_java_lang_System_arraycopy()
89 if (srcPrim != dstPrim || srcType != dstType) { in Dalvik_java_lang_System_arraycopy()
Djava_lang_reflect_Field.c325 PrimitiveType srcType = convPrimType(typeNum); in Dalvik_java_lang_reflect_Field_setPrimitiveField() local
336 if (dvmConvertPrimitiveValue(srcType, fieldType->primitiveType, in Dalvik_java_lang_reflect_Field_setPrimitiveField()
/dalvik/vm/analysis/
DCodeVerify.c250 static bool canConvertTo1nr(RegType srcType, RegType checkType) in canConvertTo1nr() argument
271 LOG_VFY("Unexpected checkType %d (srcType=%d)\n", checkType, srcType); in canConvertTo1nr()
279 if (srcType >= kRegType1nrSTART && srcType <= kRegType1nrEND) in canConvertTo1nr()
280 return (bool) convTab[srcType-kRegType1nrSTART][checkType-kRegType1nrSTART]; in canConvertTo1nr()
289 static bool canConvertTo2(RegType srcType, RegType checkType) in canConvertTo2() argument
291 return ((srcType == kRegTypeLongLo || srcType == kRegTypeDoubleLo) && in canConvertTo2()
1528 RegType srcType = insnRegs[vsrc]; in verifyRegisterType() local
1540 if (!canConvertTo1nr(srcType, checkType)) { in verifyRegisterType()
1542 vsrc, srcType, checkType); in verifyRegisterType()
1552 } else if (insnRegs[vsrc+1] != srcType+1) { in verifyRegisterType()
[all …]
/dalvik/vm/reflect/
DReflect.c913 int dvmConvertPrimitiveValue(PrimitiveType srcType, in dvmConvertPrimitiveValue() argument
936 assert(srcType != PRIM_NOT && dstType != PRIM_NOT && in dvmConvertPrimitiveValue()
937 srcType != PRIM_VOID && dstType != PRIM_VOID); in dvmConvertPrimitiveValue()
938 result = kConvMode[srcType][dstType]; in dvmConvertPrimitiveValue()
969 srcType, dstType); in dvmConvertPrimitiveValue()
989 PrimitiveType srcType; in dvmConvertArgument() local
992 srcType = getBoxedType(arg); in dvmConvertArgument()
993 if (srcType < 0) { // didn't pass a boxed primitive in in dvmConvertArgument()
1002 retVal = dvmConvertPrimitiveValue(srcType, type->primitiveType, in dvmConvertArgument()
DReflect.h68 int dvmConvertPrimitiveValue(PrimitiveType srcType,