Home
last modified time | relevance | path

Searched refs:ifield (Results 1 – 13 of 13) sorted by relevance

/dalvik/vm/native/
Djava_lang_reflect_Field.cpp187 static void getInstFieldValue(const InstField* ifield, Object* obj, in getInstFieldValue() argument
190 if (!dvmIsVolatileField(ifield)) { in getInstFieldValue()
192 switch (ifield->signature[0]) { in getInstFieldValue()
194 value->i = dvmGetFieldBoolean(obj, ifield->byteOffset); in getInstFieldValue()
197 value->i = dvmGetFieldByte(obj, ifield->byteOffset); in getInstFieldValue()
200 value->i = dvmGetFieldShort(obj, ifield->byteOffset); in getInstFieldValue()
203 value->i = dvmGetFieldChar(obj, ifield->byteOffset); in getInstFieldValue()
206 value->i = dvmGetFieldInt(obj, ifield->byteOffset); in getInstFieldValue()
209 value->f = dvmGetFieldFloat(obj, ifield->byteOffset); in getInstFieldValue()
212 value->j = dvmGetFieldLong(obj, ifield->byteOffset); in getInstFieldValue()
[all …]
/dalvik/vm/mterp/c/
Dopcommon.cpp510 InstField* ifield; \
520 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
521 if (ifield == NULL) { \
522 ifield = dvmResolveInstField(curMethod->clazz, ref); \
523 if (ifield == NULL) \
527 dvmGetField##_ftype(obj, ifield->byteOffset)); \
528 ILOGV("+ IGET '%s'=0x%08llx", ifield->field.name, \
554 InstField* ifield; \
564 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
565 if (ifield == NULL) { \
[all …]
/dalvik/tests/075-verification-error/
Dexpected.txt6 Got expected IllegalAccessError (ifield)
/dalvik/vm/mterp/out/
DInterpC-armv7-a.cpp1016 InstField* ifield; \
1026 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1027 if (ifield == NULL) { \
1028 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1029 if (ifield == NULL) \
1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1034 ILOGV("+ IGET '%s'=0x%08llx", ifield->field.name, \
1060 InstField* ifield; \
1070 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1071 if (ifield == NULL) { \
[all …]
DInterpC-armv7-a-neon.cpp1016 InstField* ifield; \
1026 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1027 if (ifield == NULL) { \
1028 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1029 if (ifield == NULL) \
1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1034 ILOGV("+ IGET '%s'=0x%08llx", ifield->field.name, \
1060 InstField* ifield; \
1070 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1071 if (ifield == NULL) { \
[all …]
DInterpC-armv5te-vfp.cpp1016 InstField* ifield; \
1026 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1027 if (ifield == NULL) { \
1028 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1029 if (ifield == NULL) \
1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1034 ILOGV("+ IGET '%s'=0x%08llx", ifield->field.name, \
1060 InstField* ifield; \
1070 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1071 if (ifield == NULL) { \
[all …]
DInterpC-armv5te.cpp1016 InstField* ifield; \
1026 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1027 if (ifield == NULL) { \
1028 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1029 if (ifield == NULL) \
1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1034 ILOGV("+ IGET '%s'=0x%08llx", ifield->field.name, \
1060 InstField* ifield; \
1070 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1071 if (ifield == NULL) { \
[all …]
DInterpC-x86-atom.cpp1016 InstField* ifield; \
1026 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1027 if (ifield == NULL) { \
1028 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1029 if (ifield == NULL) \
1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1034 ILOGV("+ IGET '%s'=0x%08llx", ifield->field.name, \
1060 InstField* ifield; \
1070 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1071 if (ifield == NULL) { \
[all …]
DInterpC-x86.cpp1016 InstField* ifield; \
1026 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1027 if (ifield == NULL) { \
1028 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1029 if (ifield == NULL) \
1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1034 ILOGV("+ IGET '%s'=0x%08llx", ifield->field.name, \
1060 InstField* ifield; \
1070 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1071 if (ifield == NULL) { \
[all …]
DInterpC-allstubs.cpp1016 InstField* ifield; \
1026 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1027 if (ifield == NULL) { \
1028 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1029 if (ifield == NULL) \
1033 dvmGetField##_ftype(obj, ifield->byteOffset)); \
1034 ILOGV("+ IGET '%s'=0x%08llx", ifield->field.name, \
1060 InstField* ifield; \
1070 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1071 if (ifield == NULL) { \
[all …]
DInterpC-portable.cpp964 InstField* ifield; \
974 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
975 if (ifield == NULL) { \
976 ifield = dvmResolveInstField(curMethod->clazz, ref); \
977 if (ifield == NULL) \
981 dvmGetField##_ftype(obj, ifield->byteOffset)); \
982 ILOGV("+ IGET '%s'=0x%08llx", ifield->field.name, \
1008 InstField* ifield; \
1018 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1019 if (ifield == NULL) { \
[all …]
/dalvik/vm/
DDebugger.cpp1467 InstField* ifield = (InstField*) fieldIdToField(classId, fieldId); in dvmDbgGetFieldValue() local
1468 u1 tag = basicTagFromDescriptor(ifield->signature); in dvmDbgGetFieldValue()
1471 Object* objVal = dvmGetFieldObject(obj, ifield->byteOffset); in dvmDbgGetFieldValue()
1482 expandBufAdd1(pReply, dvmGetFieldBoolean(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1485 expandBufAdd1(pReply, dvmGetFieldByte(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1488 expandBufAdd2BE(pReply, dvmGetFieldShort(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1491 expandBufAdd2BE(pReply, dvmGetFieldChar(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1495 expandBufAdd4BE(pReply, dvmGetFieldInt(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1499 expandBufAdd8BE(pReply, dvmGetFieldLong(obj, ifield->byteOffset)); in dvmDbgGetFieldValue()
1502 ALOGE("ERROR: unhandled field type '%s'", ifield->signature); in dvmDbgGetFieldValue()
/dalvik/vm/oo/
DClass.cpp2360 const DexField* pDexIField, InstField* ifield) in loadIFieldFromDex() argument
2367 ifield->clazz = clazz; in loadIFieldFromDex()
2368 ifield->name = dexStringById(pDexFile, pFieldId->nameIdx); in loadIFieldFromDex()
2369 ifield->signature = dexStringByTypeIdx(pDexFile, pFieldId->typeIdx); in loadIFieldFromDex()
2370 ifield->accessFlags = pDexIField->accessFlags; in loadIFieldFromDex()
2372 assert(ifield->byteOffset == 0); // cleared earlier with calloc in loadIFieldFromDex()
2373 ifield->byteOffset = -1; // make it obvious if we fail to set later in loadIFieldFromDex()