Home
last modified time | relevance | path

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

/dalvik/vm/native/
Djava_lang_System.cpp155 char srcType = srcClass->descriptor[1]; in Dalvik_java_lang_System_arraycopy() local
162 bool srcPrim = (srcType != '[' && srcType != 'L'); in Dalvik_java_lang_System_arraycopy()
165 if (srcPrim != dstPrim || srcType != dstType) { in Dalvik_java_lang_System_arraycopy()
171 srcType, dstArray->contents, dstPos, in Dalvik_java_lang_System_arraycopy()
174 switch (srcType) { in Dalvik_java_lang_System_arraycopy()
Djava_lang_reflect_Field.cpp573 PrimitiveType srcType = dexGetPrimitiveTypeFromDescriptorChar(descriptor); in Dalvik_java_lang_reflect_Field_setPrimitiveField() local
583 if (dvmConvertPrimitiveValue(srcType, fieldType->primitiveType, in Dalvik_java_lang_reflect_Field_setPrimitiveField()
/dalvik/vm/reflect/
DReflect.cpp896 int dvmConvertPrimitiveValue(PrimitiveType srcType, in dvmConvertPrimitiveValue() argument
908 assert((srcType != PRIM_VOID) && (srcType != PRIM_NOT)); in dvmConvertPrimitiveValue()
915 conv = (srcType == dstType) ? OK4 : bad; in dvmConvertPrimitiveValue()
919 switch (srcType) { in dvmConvertPrimitiveValue()
927 switch (srcType) { in dvmConvertPrimitiveValue()
937 switch (srcType) { in dvmConvertPrimitiveValue()
948 switch (srcType) { in dvmConvertPrimitiveValue()
960 switch (srcType) { in dvmConvertPrimitiveValue()
997 dexGetPrimitiveTypeDescriptor(srcType), in dvmConvertPrimitiveValue()
1020 PrimitiveType srcType; in dvmConvertArgument() local
[all …]
DReflect.h74 int dvmConvertPrimitiveValue(PrimitiveType srcType,
/dalvik/vm/analysis/
DCodeVerify.cpp267 static bool canConvertTo1nr(RegType srcType, RegType checkType) in canConvertTo1nr() argument
294 LOG_VFY("Unexpected checkType %d (srcType=%d)", checkType, srcType); in canConvertTo1nr()
302 if (srcType >= kRegType1nrSTART && srcType <= kRegType1nrEND) in canConvertTo1nr()
303 return (bool) convTab[srcType-kRegType1nrSTART][checkType-kRegType1nrSTART]; in canConvertTo1nr()
311 static bool canConvertTo2(RegType srcType, RegType checkType) in canConvertTo2() argument
313 return ((srcType == kRegTypeConstLo || srcType == checkType) && in canConvertTo2()
1590 RegType srcType = insnRegs[vsrc]; in verifyRegisterType() local
1602 if (!canConvertTo1nr(srcType, checkType)) { in verifyRegisterType()
1604 vsrc, srcType, checkType); in verifyRegisterType()
1613 setRegisterType(registerLine, vsrc, constTypeToRegType(srcType)); in verifyRegisterType()
[all …]