Home
last modified time | relevance | path

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

/dalvik/vm/
DDvmDex.h126 u4 fieldIdx) in dvmDexGetResolvedField() argument
128 assert(fieldIdx < pDvmDex->pHeader->fieldIdsSize); in dvmDexGetResolvedField()
129 return pDvmDex->pResFields[fieldIdx]; in dvmDexGetResolvedField()
154 INLINE void dvmDexSetResolvedField(DvmDex* pDvmDex, u4 fieldIdx, in dvmDexSetResolvedField() argument
157 assert(fieldIdx < pDvmDex->pHeader->fieldIdsSize); in dvmDexSetResolvedField()
158 pDvmDex->pResFields[fieldIdx] = field; in dvmDexSetResolvedField()
/dalvik/dx/src/com/android/dx/dex/file/
DEncodedField.java135 int fieldIdx = file.getFieldIds().indexOf(field); in encode() local
136 int diff = fieldIdx - lastIndex; in encode()
143 " field_idx: " + Hex.u4(fieldIdx)); in encode()
152 return fieldIdx; in encode()
DFieldAnnotationStruct.java86 int fieldIdx = file.getFieldIds().indexOf(field); in writeTo() local
91 out.annotate(4, " field_idx: " + Hex.u4(fieldIdx)); in writeTo()
96 out.writeInt(fieldIdx); in writeTo()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DEncodedField.java135 int fieldIdx = file.getFieldIds().indexOf(field); in encode() local
136 int diff = fieldIdx - lastIndex; in encode()
143 " field_idx: " + Hex.u4(fieldIdx)); in encode()
152 return fieldIdx; in encode()
DFieldAnnotationStruct.java86 int fieldIdx = file.getFieldIds().indexOf(field); in writeTo() local
91 out.annotate(4, " field_idx: " + Hex.u4(fieldIdx)); in writeTo()
96 out.writeInt(fieldIdx); in writeTo()
/dalvik/libdex/
DDexClass.h37 u4 fieldIdx; /* index to a field_id_item */ member
141 pField->fieldIdx = index; in dexReadClassDataField()
DDexSwapVerify.cpp234 u4 fieldIdx) { in verifyFieldDefiner() argument
235 const DexFieldId* field = dexGetFieldId(state->pDexFile, fieldIdx); in verifyFieldDefiner()
1070 SWAP_INDEX4(item->fieldIdx, state->pHeader->fieldIdsSize); in swapFieldAnnotations()
1075 } else if (lastIdx >= item->fieldIdx) { in swapFieldAnnotations()
1077 item->fieldIdx); in swapFieldAnnotations()
1081 lastIdx = item->fieldIdx; in swapFieldAnnotations()
1191 if (!verifyFieldDefiner(state, definingClass, item->fieldIdx)) { in crossVerifyFieldAnnotations()
1254 dexGetFieldId(state->pDexFile, fields[0].fieldIdx); in findFirstAnnotationsDirectoryDefiner()
1447 CHECK_INDEX(field->fieldIdx, state->pHeader->fieldIdsSize); in verifyFields()
1574 u4 fieldIdx = classData->staticFields[0].fieldIdx; in findFirstClassDataDefiner() local
[all …]
DDexFile.h385 u4 fieldIdx; member
/dalvik/vm/analysis/
DOptimize.cpp759 u2 fieldIdx = insns[1]; in rewriteInstField() local
762 instField = dvmOptResolveInstField(clazz, fieldIdx, NULL); in rewriteInstField()
766 fieldIdx, (int) (insns - method->insns), clazz->descriptor, in rewriteInstField()
798 u4 fieldIdx = insns[1] | (u4) insns[2] << 16; in rewriteJumboInstField() local
803 instField = dvmOptResolveInstField(clazz, fieldIdx, NULL); in rewriteJumboInstField()
807 fieldIdx, (int) (insns - method->insns), clazz->descriptor, in rewriteJumboInstField()
829 u4 fieldIdx) in rewriteStaticField0() argument
836 staticField = dvmOptResolveStaticField(clazz, fieldIdx, NULL); in rewriteStaticField0()
840 fieldIdx, (int) (insns - method->insns), clazz->descriptor, in rewriteStaticField0()
854 u2 fieldIdx = insns[1]; in rewriteStaticField() local
[all …]
DCodeVerify.cpp2689 const UninitInstanceMap* uninitMap, RegType objType, int fieldIdx, in getInstField() argument
2703 instField = dvmOptResolveInstField(meth->clazz, fieldIdx, pFailure); in getInstField()
2705 LOG_VFY("VFY: unable to resolve instance field %u", fieldIdx); in getInstField()
2759 static StaticField* getStaticField(const Method* meth, int fieldIdx, in getStaticField() argument
2764 staticField = dvmOptResolveStaticField(meth->clazz, fieldIdx, pFailure); in getStaticField()
2769 pFieldId = dexGetFieldId(pDexFile, fieldIdx); in getStaticField()
2771 LOG_VFY("VFY: unable to resolve static field %u (%s) in %s", fieldIdx, in getStaticField()
/dalvik/dexdump/
DDexDump.cpp675 bool getFieldInfo(DexFile* pDexFile, u4 fieldIdx, FieldMethodInfo* pFieldInfo) in getFieldInfo() argument
679 if (fieldIdx >= pDexFile->pHeader->fieldIdsSize) in getFieldInfo()
682 pFieldId = dexGetFieldId(pDexFile, fieldIdx); in getFieldInfo()
1302 pFieldId = dexGetFieldId(pDexFile, pSField->fieldIdx); in dumpSField()
/dalvik/vm/reflect/
DAnnotation.cpp1967 u4 fieldIdx = getFieldIdx(field); in findAnnotationSetForField() local
1972 if (pFieldList[idx].fieldIdx == fieldIdx) { in findAnnotationSetForField()
/dalvik/vm/oo/
DClass.cpp2341 pFieldId = dexGetFieldId(pDexFile, pDexSField->fieldIdx); in loadSFieldFromDex()
2365 pFieldId = dexGetFieldId(pDexFile, pDexIField->fieldIdx); in loadIFieldFromDex()