/dalvik/vm/ |
D | DvmDex.h | 113 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/ |
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() 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/ |
D | Resolve.c | 63 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 …]
|
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/vm/analysis/ |
D | Optimize.h | 38 ClassObject* dvmOptResolveClass(ClassObject* referrer, u4 classIdx,
|
D | Optimize.c | 398 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()
|
D | RegisterMap.h | 193 const void* dvmRegisterMapGetClassData(const DexFile* pDexFile, u4 classIdx,
|
D | RegisterMap.c | 727 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);
|
D | DexPrepare.c | 840 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/ |
D | DexSwapVerify.c | 235 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 …]
|
D | DexFile.h | 255 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/ |
D | OP_CONST_CLASS.S | 60 # class: (const ClassObject* referrer, u4 classIdx,
|
D | OP_NEW_ARRAY.S | 65 # u4 classIdx, bool fromUnverifiedConstant)
|
D | OP_CHECK_CAST.S | 103 # call: (const ClassObject* referrer, u4 classIdx,
|
D | OP_NEW_INSTANCE.S | 121 # u4 classIdx, bool fromUnverifiedConstant)
|
D | OP_INSTANCE_OF.S | 110 call dvmResolveClass # call: (const ClassObject* referrer, u4 classIdx,
|
D | OP_FILLED_NEW_ARRAY.S | 67 call dvmResolveClass # call: (const ClassObject* referrer, u4 classIdx,
|
/dalvik/dexdump/ |
D | DexDump.c | 519 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/ |
D | Interp.c | 1047 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/ |
D | DexList.c | 107 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpMethod()
|
/dalvik/vm/native/ |
D | dalvik_system_DexFile.c | 364 dexStringByTypeIdx(pDexFile, pClassDef->classIdx); in Dalvik_dalvik_system_DexFile_getClassNameList()
|
D | java_lang_Class.c | 393 pClassId = dvmDexGetClassId(pDexFile, pClassDef->classIdx); in Dalvik_java_lang_Class_getNameNative()
|
/dalvik/vm/reflect/ |
D | Annotation.c | 306 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()
|