Home
last modified time | relevance | path

Searched refs:classIdx (Results 1 – 10 of 10) sorted by relevance

/dalvik/tools/dexdeps/src/com/android/dexdeps/
DDexData.java232 mFieldIds[i].classIdx = readShort() & 0xffff; in loadFieldIds()
252 mMethodIds[i].classIdx = readShort() & 0xffff; in loadMethodIds()
272 mClassDefs[i].classIdx = readInt(); in loadClassDefs()
293 mTypeIds[mClassDefs[i].classIdx].internal = true; in markInternalClasses()
393 if (!mTypeIds[mFieldIds[i].classIdx].internal) { in addExternalFieldReferences()
396 classNameFromTypeIndex(fieldId.classIdx), in addExternalFieldReferences()
399 sparseRefs[mFieldIds[i].classIdx].addField(newFieldRef); in addExternalFieldReferences()
410 if (!mTypeIds[mMethodIds[i].classIdx].internal) { in addExternalMethodReferences()
413 classNameFromTypeIndex(methodId.classIdx), in addExternalMethodReferences()
417 sparseRefs[mMethodIds[i].classIdx].addMethod(newMethodRef); in addExternalMethodReferences()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DMemberIdItem.java67 int classIdx = typeIds.indexOf(getDefiningClass()); in writeTo() local
73 out.annotate(2, " class_idx: " + Hex.u2(classIdx)); in writeTo()
79 out.writeShort(classIdx); in writeTo()
DClassDefItem.java176 int classIdx = typeIds.indexOf(thisClass); in writeTo() local
190 out.annotate(4, " class_idx: " + Hex.u4(classIdx)); in writeTo()
213 out.writeInt(classIdx); in writeTo()
/dalvik/dx/src/com/android/dx/dex/file/
DMemberIdItem.java65 int classIdx = typeIds.indexOf(getDefiningClass()); in writeTo() local
71 out.annotate(2, " class_idx: " + Hex.u2(classIdx)); in writeTo()
77 out.writeShort(classIdx); in writeTo()
DClassDefItem.java174 int classIdx = typeIds.indexOf(thisClass); in writeTo() local
188 out.annotate(4, " class_idx: " + Hex.u4(classIdx)); in writeTo()
211 out.writeInt(classIdx); in writeTo()
/dalvik/libdex/
DDexSwapVerify.cpp236 return field->classIdx == definingClass; in verifyFieldDefiner()
243 return meth->classIdx == definingClass; in verifyMethodDefiner()
768 SWAP_INDEX2(item->classIdx, state->pHeader->typeIdsSize); in swapFieldIdItem()
780 s = dexStringByTypeIdx(state->pDexFile, item->classIdx); in crossVerifyFieldIdItem()
804 if (item0->classIdx > item->classIdx) { in crossVerifyFieldIdItem()
807 } else if (item0->classIdx < item->classIdx) { in crossVerifyFieldIdItem()
840 SWAP_INDEX2(item->classIdx, state->pHeader->typeIdsSize); in swapMethodIdItem()
852 s = dexStringByTypeIdx(state->pDexFile, item->classIdx); in crossVerifyMethodIdItem()
870 if (item0->classIdx > item->classIdx) { in crossVerifyMethodIdItem()
873 } else if (item0->classIdx < item->classIdx) { in crossVerifyMethodIdItem()
[all …]
DDexFile.h278 u2 classIdx; /* index into typeIds list for defining class */ member
287 u2 classIdx; /* index into typeIds list for defining class */ member
305 u4 classIdx; /* index into typeIds for this class */ member
787 return dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in dexGetClassDescriptor()
DDexFile.cpp244 pString = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in dexCreateClassLookup()
/dalvik/dexdump/
DDexDump.cpp524 printf("class_idx : %d\n", pClassDef->classIdx); in dumpClassDef()
624 = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpPositions()
650 = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpLocals()
671 dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in getMethodInfo()
689 dexStringByTypeIdx(pDexFile, pFieldId->classIdx); in getFieldInfo()
697 const char* getClassDescriptor(DexFile* pDexFile, u4 classIdx) in getClassDescriptor() argument
699 return dexStringByTypeIdx(pDexFile, classIdx); in getClassDescriptor()
1165 backDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpMethod()
1307 backDescriptor = dexStringByTypeIdx(pDexFile, pFieldId->classIdx); in dumpSField()
1388 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in dumpClass()
[all …]
/dalvik/dexlist/
DDexList.cpp110 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpMethod()