Home
last modified time | relevance | path

Searched refs:typeIdx (Results 1 – 19 of 19) sorted by relevance

/dalvik/libdex/
DDexCatch.h31 u4 typeIdx; /* type index of the caught exception type */ member
60 pIterator->handler.typeIdx = 0; in dexCatchIteratorClear()
97 pIterator->handler.typeIdx = kDexNoIndex; in dexCatchIteratorNext()
99 u4 typeIdx = readUnsignedLeb128(&pIterator->pEncodedData); in dexCatchIteratorNext() local
100 pIterator->handler.typeIdx = typeIdx; in dexCatchIteratorNext()
DDexDebugInfo.cpp102 u4 typeIdx = readUnsignedLeb128(pStream); in readTypeIdx() local
105 if (typeIdx == 0) { in readTypeIdx()
108 return dexStringByTypeIdx(pDexFile, typeIdx - 1); in readTypeIdx()
DDexFile.h279 u2 typeIdx; /* index into typeIds for field type */ member
319 u2 typeIdx; /* index into typeIds */ member
719 return pItem->typeIdx; in dexTypeListGetIdx()
DDexSwapVerify.cpp259 static bool setDefinedClassBit(const CheckState* state, u4 typeIdx) { in setDefinedClassBit() argument
260 u4 arrayIdx = typeIdx >> 5; in setDefinedClassBit()
261 u4 bit = 1 << (typeIdx & 0x1f); in setDefinedClassBit()
769 SWAP_INDEX2(item->typeIdx, state->pHeader->typeIdsSize); in swapFieldIdItem()
786 s = dexStringByTypeIdx(state->pDexFile, item->typeIdx); in crossVerifyFieldIdItem()
821 if (item0->typeIdx >= item->typeIdx) { in crossVerifyFieldIdItem()
1337 SWAP_INDEX2(pType->typeIdx, state->pHeader->typeIdsSize); in swapTypeList()
1693 u4 typeIdx = in setHandlerOffsAndVerify() local
1701 CHECK_INDEX(typeIdx, state->pHeader->typeIdsSize); in setHandlerOffsAndVerify()
/dalvik/vm/reflect/
DAnnotation.cpp744 u4 typeIdx, size, count; in processEncodedAnnotation() local
747 typeIdx = readUleb128(&ptr); in processEncodedAnnotation()
750 LOGVV("----- processEnc ptr=%p type=%d size=%d", ptr, typeIdx, size); in processEncodedAnnotation()
752 annoClass = dvmDexGetResolvedClass(clazz->pDvmDex, typeIdx); in processEncodedAnnotation()
754 annoClass = dvmResolveClass(clazz, typeIdx, true); in processEncodedAnnotation()
757 clazz->descriptor, typeIdx); in processEncodedAnnotation()
766 typeIdx, size, annoClass->descriptor); in processEncodedAnnotation()
904 u4 typeIdx; in getAnnotationItemFromAnnotationSet() local
918 typeIdx = readUleb128(&ptr); in getAnnotationItemFromAnnotationSet()
920 annoClass = dvmDexGetResolvedClass(clazz->pDvmDex, typeIdx); in getAnnotationItemFromAnnotationSet()
[all …]
/dalvik/vm/native/
Ddalvik_system_VMRuntime.cpp283 static void preloadDexCachesResolveType(DvmDex* pDvmDex, uint32_t typeIdx) { in preloadDexCachesResolveType() argument
284 ClassObject* clazz = dvmDexGetResolvedClass(pDvmDex, typeIdx); in preloadDexCachesResolveType()
289 const char* className = dexStringByTypeIdx(pDexFile, typeIdx); in preloadDexCachesResolveType()
305 dvmDexSetResolvedClass(pDvmDex, typeIdx, clazz); in preloadDexCachesResolveType()
326 const char* signature = dexStringByTypeIdx(pDexFile, pFieldId->typeIdx); in preloadDexCachesResolveField()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDebugInfoDecoder.java296 int typeIdx = readStringIndex(bs); in decode0() local
298 address, true, reg, nameIdx, typeIdx, 0); in decode0()
308 int typeIdx = readStringIndex(bs); in decode0() local
311 address, true, reg, nameIdx, typeIdx, sigIdx); in decode0()
DValueEncoder.java315 int typeIdx = typeIds.indexOf(type); in writeAnnotation() local
318 out.annotate(" type_idx: " + Hex.u4(typeIdx) + " // " + in writeAnnotation()
/dalvik/dx/src/com/android/dx/dex/file/
DDebugInfoDecoder.java300 int typeIdx = readStringIndex(bs); in decode0() local
302 address, true, reg, nameIdx, typeIdx, 0); in decode0()
312 int typeIdx = readStringIndex(bs); in decode0() local
315 address, true, reg, nameIdx, typeIdx, sigIdx); in decode0()
DValueEncoder.java314 int typeIdx = typeIds.indexOf(type); in writeAnnotation() local
317 out.annotate(" type_idx: " + Hex.u4(typeIdx) + " // " + in writeAnnotation()
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DDexData.java233 mFieldIds[i].typeIdx = readShort() & 0xffff; in loadFieldIds()
397 classNameFromTypeIndex(fieldId.typeIdx), in addExternalFieldReferences()
580 public int typeIdx; // index into type_ids (field type) field in DexData.FieldIdItem
/dalvik/vm/oo/
DResolve.cpp412 dexStringByTypeIdx(pDvmDex->pDexFile, pFieldId->typeIdx)); in dvmResolveInstField()
471 dexStringByTypeIdx(pDvmDex->pDexFile, pFieldId->typeIdx)); in dvmResolveStaticField()
DClass.cpp1812 newClass->interfaces[i] = (ClassObject*)(u4) pType->typeIdx; in loadClassFromDex0()
2348 sfield->signature = dexStringByTypeIdx(pDexFile, pFieldId->typeIdx); in loadSFieldFromDex()
2372 ifield->signature = dexStringByTypeIdx(pDexFile, pFieldId->typeIdx); in loadIFieldFromDex()
/dalvik/vm/
DException.cpp626 if (handler->typeIdx == kDexNoIndex) { in findCatchInMethod()
635 dvmDexGetResolvedClass(pDvmDex, handler->typeIdx); in findCatchInMethod()
664 throwable = dvmResolveClass(method->clazz, handler->typeIdx, in findCatchInMethod()
676 handler->typeIdx, in findCatchInMethod()
/dalvik/dexdump/
DDexDump.cpp553 dexStringByTypeIdx(pDexFile, pTypeItem->typeIdx); in dumpInterface()
599 descriptor = (handler->typeIdx == kDexNoIndex) ? "<any>" : in dumpCatches()
600 dexStringByTypeIdx(pDexFile, handler->typeIdx); in dumpCatches()
687 pFieldInfo->signature = dexStringByTypeIdx(pDexFile, pFieldId->typeIdx); in getFieldInfo()
1306 typeDescriptor = dexStringByTypeIdx(pDexFile, pFieldId->typeIdx); in dumpSField()
/dalvik/vm/analysis/
DOptimize.cpp543 dexStringByTypeIdx(pDvmDex->pDexFile, pFieldId->typeIdx)); in dvmOptResolveInstField()
618 dexStringByTypeIdx(pDvmDex->pDexFile, pFieldId->typeIdx)); in dvmOptResolveStaticField()
DCodeVerify.cpp2948 if (handler->typeIdx == kDexNoIndex) in getCaughtExceptionType()
2951 clazz = dvmOptResolveClass(meth->clazz, handler->typeIdx, in getCaughtExceptionType()
2956 handler->typeIdx, in getCaughtExceptionType()
2957 dexStringByTypeIdx(pDexFile, handler->typeIdx)); in getCaughtExceptionType()
5990 if (handler->typeIdx == kDexNoIndex) in verifyInstruction()
/dalvik/dx/src/com/android/dx/cf/direct/
DStdAttributeFactory.java573 int typeIdx = in.readUnsignedShort(); in parseLocalVariables() local
576 CstString type = (CstString) pool.get(typeIdx); in parseLocalVariables()
/dalvik/vm/compiler/
DFrontend.cpp1113 successorBlockInfo->key = handler->typeIdx; in processCanThrow()