Home
last modified time | relevance | path

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

12

/dalvik/vm/
DDvmDex.h113 u4 classIdx) in dvmDexGetResolvedClass() argument
115 assert(classIdx < pDvmDex->pHeader->typeIdsSize); in dvmDexGetResolvedClass()
116 return pDvmDex->pResClasses[classIdx]; in dvmDexGetResolvedClass()
141 INLINE void dvmDexSetResolvedClass(DvmDex* pDvmDex, u4 classIdx, in dvmDexSetResolvedClass() argument
144 assert(classIdx < pDvmDex->pHeader->typeIdsSize); in dvmDexSetResolvedClass()
145 pDvmDex->pResClasses[classIdx] = clazz; in dvmDexSetResolvedClass()
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DDexData.java225 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()
386 if (!mTypeIds[mFieldIds[i].classIdx].internal) { in addExternalFieldReferences()
389 classNameFromTypeIndex(fieldId.classIdx), in addExternalFieldReferences()
392 sparseRefs[mFieldIds[i].classIdx].addField(newFieldRef); in addExternalFieldReferences()
403 if (!mTypeIds[mMethodIds[i].classIdx].internal) { in addExternalMethodReferences()
406 classNameFromTypeIndex(methodId.classIdx), in addExternalMethodReferences()
410 sparseRefs[mMethodIds[i].classIdx].addMethod(newMethodRef); in addExternalMethodReferences()
[all …]
/dalvik/vm/oo/
DResolve.c63 ClassObject* dvmResolveClass(const ClassObject* referrer, u4 classIdx, in dvmResolveClass() argument
74 resClass = dvmDexGetResolvedClass(pDvmDex, classIdx); in dvmResolveClass()
79 classIdx, referrer->descriptor, referrer->classLoader); in dvmResolveClass()
90 className = dexStringByTypeIdx(pDvmDex->pDexFile, classIdx); in dvmResolveClass()
145 referrer->classLoader, classIdx); in dvmResolveClass()
154 dvmDexSetResolvedClass(pDvmDex, classIdx, resClass); in dvmResolveClass()
158 dexStringByTypeIdx(pDvmDex->pDexFile, classIdx)); in dvmResolveClass()
190 resClass = dvmResolveClass(referrer, pMethodId->classIdx, false); in dvmResolveMethod()
296 resClass = dvmResolveClass(referrer, pMethodId->classIdx, false); in dvmResolveInterfaceMethod()
413 resClass = dvmResolveClass(referrer, pFieldId->classIdx, false); in dvmResolveInstField()
[all …]
DResolve.h46 ClassObject* dvmResolveClass(const ClassObject* referrer, u4 classIdx,
/dalvik/dx/src/com/android/dx/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/vm/analysis/
DOptimize.h38 ClassObject* dvmOptResolveClass(ClassObject* referrer, u4 classIdx,
DOptimize.c398 ClassObject* dvmOptResolveClass(ClassObject* referrer, u4 classIdx, in dvmOptResolveClass() argument
407 resClass = dvmDexGetResolvedClass(pDvmDex, classIdx); in dvmOptResolveClass()
409 const char* className = dexStringByTypeIdx(pDvmDex->pDexFile, classIdx); in dvmOptResolveClass()
419 classIdx, in dvmOptResolveClass()
420 dexStringByTypeIdx(pDvmDex->pDexFile, classIdx)); in dvmOptResolveClass()
445 dvmDexSetResolvedClass(pDvmDex, classIdx, resClass); in dvmOptResolveClass()
493 resClass = dvmOptResolveClass(referrer, pFieldId->classIdx, pFailure); in dvmOptResolveInstField()
566 resClass = dvmOptResolveClass(referrer, pFieldId->classIdx, pFailure); in dvmOptResolveStaticField()
738 resClass = dvmOptResolveClass(referrer, pMethodId->classIdx, pFailure); in dvmOptResolveMethod()
955 resClass = dvmOptResolveClass(referrer, pMethodId->classIdx, NULL); in dvmOptResolveInterfaceMethod()
DRegisterMap.h193 const void* dvmRegisterMapGetClassData(const DexFile* pDexFile, u4 classIdx,
DRegisterMap.c727 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in writeMapsAllClasses()
839 const void* dvmRegisterMapGetClassData(const DexFile* pDexFile, u4 classIdx, in dvmRegisterMapGetClassData() argument
849 if (classIdx >= pClassPool->numClasses) { in dvmRegisterMapGetClassData()
850 LOGE("bad class index (%d vs %d)\n", classIdx, pClassPool->numClasses); in dvmRegisterMapGetClassData()
854 u4 classOffset = pClassPool->classDataOffset[classIdx]; in dvmRegisterMapGetClassData()
856 LOGV("+++ no map for classIdx=%d\n", classIdx); in dvmRegisterMapGetClassData()
2372 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx);
DDexPrepare.c840 dexStringByTypeIdx(pDvmDex->pDexFile, pClassDef->classIdx); in loadAllClasses()
899 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in verifyAndOptimizeClasses()
928 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in verifyAndOptimizeClass()
/dalvik/libdex/
DDexSwapVerify.c235 return field->classIdx == definingClass; in verifyFieldDefiner()
242 return meth->classIdx == definingClass; in verifyMethodDefiner()
767 SWAP_INDEX2(item->classIdx, state->pHeader->typeIdsSize); in swapFieldIdItem()
779 s = dexStringByTypeIdx(state->pDexFile, item->classIdx); in crossVerifyFieldIdItem()
803 if (item0->classIdx > item->classIdx) { in crossVerifyFieldIdItem()
806 } else if (item0->classIdx < item->classIdx) { in crossVerifyFieldIdItem()
839 SWAP_INDEX2(item->classIdx, state->pHeader->typeIdsSize); in swapMethodIdItem()
851 s = dexStringByTypeIdx(state->pDexFile, item->classIdx); in crossVerifyMethodIdItem()
869 if (item0->classIdx > item->classIdx) { in crossVerifyMethodIdItem()
872 } else if (item0->classIdx < item->classIdx) { in crossVerifyMethodIdItem()
[all …]
DDexFile.h255 u2 classIdx; /* index into typeIds list for defining class */ member
264 u2 classIdx; /* index into typeIds list for defining class */ member
282 u4 classIdx; /* index into typeIds for this class */ member
789 return dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in dexGetClassDescriptor()
/dalvik/vm/mterp/x86-atom/
DOP_CONST_CLASS.S60 # class: (const ClassObject* referrer, u4 classIdx,
DOP_NEW_ARRAY.S65 # u4 classIdx, bool fromUnverifiedConstant)
DOP_CHECK_CAST.S103 # call: (const ClassObject* referrer, u4 classIdx,
DOP_NEW_INSTANCE.S121 # u4 classIdx, bool fromUnverifiedConstant)
DOP_INSTANCE_OF.S110 call dvmResolveClass # call: (const ClassObject* referrer, u4 classIdx,
DOP_FILLED_NEW_ARRAY.S67 call dvmResolveClass # call: (const ClassObject* referrer, u4 classIdx,
/dalvik/dexdump/
DDexDump.c519 printf("class_idx : %d\n", pClassDef->classIdx); in dumpClassDef()
619 = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpPositions()
645 = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpLocals()
666 dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in getMethodInfo()
684 dexStringByTypeIdx(pDexFile, pFieldId->classIdx); in getFieldInfo()
692 const char* getClassDescriptor(DexFile* pDexFile, u4 classIdx) in getClassDescriptor() argument
694 return dexStringByTypeIdx(pDexFile, classIdx); in getClassDescriptor()
1132 backDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpMethod()
1274 backDescriptor = dexStringByTypeIdx(pDexFile, pFieldId->classIdx); in dumpSField()
1355 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in dumpClass()
[all …]
/dalvik/vm/interp/
DInterp.c1047 ref = pFieldId->classIdx; in classNameFromIndex()
1051 ref = pMethodId->classIdx; in classNameFromIndex()
1089 className = dexStringByTypeIdx(pDvmDex->pDexFile, pFieldId->classIdx); in fieldNameFromIndex()
1122 className = dexStringByTypeIdx(pDvmDex->pDexFile, pMethodId->classIdx); in methodNameFromIndex()
/dalvik/dexlist/
DDexList.c107 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpMethod()
/dalvik/vm/native/
Ddalvik_system_DexFile.c364 dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in Dalvik_dalvik_system_DexFile_getClassNameList()
Djava_lang_Class.c393 pClassId = dvmDexGetClassId(pDexFile, pClassDef->classIdx); in Dalvik_java_lang_Class_getNameNative()
/dalvik/vm/reflect/
DAnnotation.c306 resClass = dvmResolveClass(referrer, pMethodId->classIdx, true); in resolveAmbiguousMethod()
1540 const char* str = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in compareMethodStr()
1829 const char* str = dexStringByTypeIdx(pDexFile, pFieldId->classIdx); in compareFieldStr()

12