/dalvik/vm/ |
D | DvmDex.h | 97 u4 classIdx) in dvmDexGetResolvedClass() argument 99 assert(classIdx < pDvmDex->pHeader->typeIdsSize); in dvmDexGetResolvedClass() 100 return pDvmDex->pResClasses[classIdx]; in dvmDexGetResolvedClass() 125 INLINE void dvmDexSetResolvedClass(DvmDex* pDvmDex, u4 classIdx, in dvmDexSetResolvedClass() argument 128 assert(classIdx < pDvmDex->pHeader->typeIdsSize); in dvmDexSetResolvedClass() 129 pDvmDex->pResClasses[classIdx] = clazz; in dvmDexSetResolvedClass() 173 u4 classIdx) in dvmDexGetResolvedClass() argument 177 assert(classIdx < pDvmDex->pHeader->typeIdsSize); in dvmDexGetResolvedClass() 179 classIdx = pIndexMap->classMap[classIdx]; in dvmDexGetResolvedClass() 180 if (classIdx == kNoIndexMapping) in dvmDexGetResolvedClass() [all …]
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
D | DexData.java | 225 mFieldIds[i].classIdx = readShort() & 0xffff; in loadFieldIds() 245 mMethodIds[i].classIdx = readShort() & 0xffff; in loadMethodIds() 265 mClassDefs[i].classIdx = readInt(); in loadClassDefs() 286 mTypeIds[mClassDefs[i].classIdx].internal = true; in markInternalClasses() 351 if (!mTypeIds[mFieldIds[i].classIdx].internal) in getExternalFieldReferences() 360 if (!mTypeIds[mFieldIds[i].classIdx].internal) { in getExternalFieldReferences() 363 new FieldRef(classNameFromTypeIndex(fieldId.classIdx), in getExternalFieldReferences() 382 if (!mTypeIds[mMethodIds[i].classIdx].internal) in getExternalMethodReferences() 391 if (!mTypeIds[mMethodIds[i].classIdx].internal) { in getExternalMethodReferences() 394 new MethodRef(classNameFromTypeIndex(methodId.classIdx), in getExternalMethodReferences() [all …]
|
/dalvik/vm/oo/ |
D | Resolve.c | 62 ClassObject* dvmResolveClass(const ClassObject* referrer, u4 classIdx, in dvmResolveClass() argument 73 resClass = dvmDexGetResolvedClass(pDvmDex, classIdx); in dvmResolveClass() 78 classIdx, referrer->descriptor, referrer->classLoader); in dvmResolveClass() 89 className = dexStringByTypeIdx(pDvmDex->pDexFile, classIdx); in dvmResolveClass() 144 referrer->classLoader, classIdx); in dvmResolveClass() 153 dvmDexSetResolvedClass(pDvmDex, classIdx, resClass); in dvmResolveClass() 157 dexStringByTypeIdx(pDvmDex->pDexFile, classIdx)); in dvmResolveClass() 189 resClass = dvmResolveClass(referrer, pMethodId->classIdx, false); in dvmResolveMethod() 284 resClass = dvmResolveClass(referrer, pMethodId->classIdx, false); in dvmResolveInterfaceMethod() 398 resClass = dvmResolveClass(referrer, pFieldId->classIdx, false); in dvmResolveInstField() [all …]
|
D | Resolve.h | 46 ClassObject* dvmResolveClass(const ClassObject* referrer, u4 classIdx,
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | MemberIdItem.java | 67 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()
|
D | ClassDefItem.java | 176 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/libdex/ |
D | DexSwapVerify.c | 227 return field->classIdx == definingClass; in verifyFieldDefiner() 234 return meth->classIdx == definingClass; in verifyMethodDefiner() 735 SWAP_INDEX2(item->classIdx, state->pHeader->typeIdsSize); in swapFieldIdItem() 747 s = dexStringByTypeIdx(state->pDexFile, item->classIdx); in crossVerifyFieldIdItem() 771 if (item0->classIdx > item->classIdx) { in crossVerifyFieldIdItem() 774 } else if (item0->classIdx < item->classIdx) { in crossVerifyFieldIdItem() 807 SWAP_INDEX2(item->classIdx, state->pHeader->typeIdsSize); in swapMethodIdItem() 819 s = dexStringByTypeIdx(state->pDexFile, item->classIdx); in crossVerifyMethodIdItem() 837 if (item0->classIdx > item->classIdx) { in crossVerifyMethodIdItem() 840 } else if (item0->classIdx < item->classIdx) { in crossVerifyMethodIdItem() [all …]
|
D | DexFile.h | 256 u2 classIdx; /* index into typeIds list for defining class */ member 265 u2 classIdx; /* index into typeIds list for defining class */ member 283 u4 classIdx; /* index into typeIds for this class */ member 803 return dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in dexGetClassDescriptor()
|
D | DexFile.c | 440 pString = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in dexCreateClassLookup()
|
/dalvik/vm/analysis/ |
D | DexOptimize.h | 119 ClassObject* dvmOptResolveClass(ClassObject* referrer, u4 classIdx,
|
D | ReduceConstants.c | 374 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in forAllMethods() 393 u2 classIdx = *ptr; in markClass() local 394 if (!dvmSetBit(pResults->usedClasses, classIdx)) { in markClass() 395 LOGE("Unable to mark class %d as in-use\n", classIdx); in markClass() 711 pDexTypeId = dexGetTypeId(pDexFile, pDexMethodId->classIdx); in summarizeResults() 729 pDexTypeId = dexGetTypeId(pDexFile, pDexFieldId->classIdx); in summarizeResults()
|
D | DexOptimize.c | 1331 dexStringByTypeIdx(pDvmDex->pDexFile, pClassDef->classIdx); in loadAllClasses() 1456 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in optimizeLoadedClasses() 1665 ClassObject* dvmOptResolveClass(ClassObject* referrer, u4 classIdx, in dvmOptResolveClass() argument 1674 resClass = dvmDexGetResolvedClass(pDvmDex, classIdx); in dvmOptResolveClass() 1676 const char* className = dexStringByTypeIdx(pDvmDex->pDexFile, classIdx); in dvmOptResolveClass() 1686 classIdx, in dvmOptResolveClass() 1687 dexStringByTypeIdx(pDvmDex->pDexFile, classIdx)); in dvmOptResolveClass() 1712 dvmDexSetResolvedClass(pDvmDex, classIdx, resClass); in dvmOptResolveClass() 1760 resClass = dvmOptResolveClass(referrer, pFieldId->classIdx, pFailure); in dvmOptResolveInstField() 1833 resClass = dvmOptResolveClass(referrer, pFieldId->classIdx, pFailure); in dvmOptResolveStaticField() [all …]
|
D | RegisterMap.h | 193 const void* dvmRegisterMapGetClassData(const DexFile* pDexFile, u4 classIdx,
|
D | RegisterMap.c | 728 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in writeMapsAllClasses() 840 const void* dvmRegisterMapGetClassData(const DexFile* pDexFile, u4 classIdx, in dvmRegisterMapGetClassData() argument 850 if (classIdx >= pClassPool->numClasses) { in dvmRegisterMapGetClassData() 851 LOGE("bad class index (%d vs %d)\n", classIdx, pClassPool->numClasses); in dvmRegisterMapGetClassData() 855 u4 classOffset = pClassPool->classDataOffset[classIdx]; in dvmRegisterMapGetClassData() 857 LOGV("+++ no map for classIdx=%d\n", classIdx); in dvmRegisterMapGetClassData() 2373 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx);
|
D | DexVerify.c | 90 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in dvmVerifyAllClasses()
|
D | CodeVerify.c | 1050 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in verifyInvocationArgs() 2560 dexStringByTypeIdx(pDexFile, pFieldId->classIdx)); in getStaticField()
|
/dalvik/dexdump/ |
D | DexDump.c | 418 printf("class_idx : %d\n", pClassDef->classIdx); in dumpClassDef() 518 = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpPositions() 544 = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpLocals() 565 dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in getMethodInfo() 583 dexStringByTypeIdx(pDexFile, pFieldId->classIdx); in getFieldInfo() 591 const char* getClassDescriptor(DexFile* pDexFile, u4 classIdx) in getClassDescriptor() argument 593 return dexStringByTypeIdx(pDexFile, classIdx); in getClassDescriptor() 1016 backDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpMethod() 1158 backDescriptor = dexStringByTypeIdx(pDexFile, pFieldId->classIdx); in dumpSField() 1239 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in dumpClass() [all …]
|
/dalvik/vm/interp/ |
D | Interp.c | 710 ref = pFieldId->classIdx; in classNameFromIndex() 714 ref = pMethodId->classIdx; in classNameFromIndex() 752 className = dexStringByTypeIdx(pDvmDex->pDexFile, pFieldId->classIdx); in fieldNameFromIndex() 785 className = dexStringByTypeIdx(pDvmDex->pDexFile, pMethodId->classIdx); in methodNameFromIndex()
|
/dalvik/dexlist/ |
D | DexList.c | 98 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpMethod()
|
/dalvik/vm/native/ |
D | dalvik_system_DexFile.c | 361 dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in Dalvik_dalvik_system_DexFile_getClassNameList()
|
D | java_lang_Class.c | 391 pClassId = dvmDexGetClassId(pDexFile, pClassDef->classIdx); in Dalvik_java_lang_Class_getName()
|
/dalvik/vm/reflect/ |
D | Annotation.c | 307 resClass = dvmResolveClass(referrer, pMethodId->classIdx, true); in resolveAmbiguousMethod() 1534 const char* str = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in compareMethodStr() 1823 const char* str = dexStringByTypeIdx(pDexFile, pFieldId->classIdx); in compareFieldStr()
|