Home
last modified time | relevance | path

Searched refs:protoId (Results 1 – 6 of 6) sorted by relevance

/dalvik/libdex/
DDexProto.cpp127 const DexProtoId* protoId = getProtoId(pProto); in dexProtoGetShorty() local
129 return dexStringById(pProto->dexFile, protoId->shortyIdx); in dexProtoGetShorty()
136 const DexProtoId* protoId = getProtoId(pProto); in dexProtoGetMethodDescriptor() local
137 const DexTypeList* typeList = dexGetProtoParameters(dexFile, protoId); in dexProtoGetMethodDescriptor()
147 length += strlen(dexStringByTypeIdx(dexFile, protoId->returnTypeIdx)); in dexProtoGetMethodDescriptor()
163 strcpy(at, dexStringByTypeIdx(dexFile, protoId->returnTypeIdx)); in dexProtoGetMethodDescriptor()
213 const DexProtoId* protoId = getProtoId(pProto); in dexProtoGetReturnType() local
214 return dexStringByTypeIdx(pProto->dexFile, protoId->returnTypeIdx); in dexProtoGetReturnType()
219 const DexProtoId* protoId = getProtoId(pProto); in dexProtoGetParameterCount() local
221 dexGetProtoParameters(pProto->dexFile, protoId); in dexProtoGetParameterCount()
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DDexData.java205 ProtoIdItem protoId = mProtoIds[i]; in loadProtoIds() local
207 int offset = protoId.parametersOff; in loadProtoIds()
210 protoId.types = new int[0]; in loadProtoIds()
215 protoId.types = new int[size]; in loadProtoIds()
218 protoId.types[j] = readShort() & 0xffff; in loadProtoIds()
334 ProtoIdItem protoId = mProtoIds[idx]; in argArrayFromProtoIndex() local
335 String[] result = new String[protoId.types.length]; in argArrayFromProtoIndex()
337 for (int i = 0; i < protoId.types.length; i++) { in argArrayFromProtoIndex()
338 result[i] = mStrings[mTypeIds[protoId.types[i]].descriptorIdx]; in argArrayFromProtoIndex()
349 ProtoIdItem protoId = mProtoIds[idx]; in returnTypeFromProtoIndex() local
[all …]
/dalvik/dx/src/com/android/dx/io/
DDexIndexPrinter.java69 for (ProtoId protoId : dex.protoIds()) { in printProtoIds()
70 System.out.println("proto " + index + ": " + protoId); in printProtoIds()
/dalvik/dx/src/com/android/dx/merge/
DInstructionTransformer.java120 int protoId = one.getProtoIndex(); in visit() local
122 one.withProtoIndex(indexMap.adjustMethod(methodId), indexMap.adjustProto(protoId)); in visit()
DIndexMap.java238 public ProtoId adjust(ProtoId protoId) { in adjust() argument
240 adjustString(protoId.getShortyIndex()), in adjust()
241 adjustType(protoId.getReturnTypeIndex()), in adjust()
242 adjustTypeListOffset(protoId.getParametersOffset())); in adjust()
/dalvik/dexdump/
DDexDump.cpp703 const DexProtoId* protoId = dexGetProtoId(pDexFile, protoIdx); in getProtoInfo() local
706 if (protoId->returnTypeIdx >= pDexFile->pHeader->typeIdsSize) { in getProtoInfo()
709 pProtoInfo->returnType = dexStringByTypeIdx(pDexFile, protoId->returnTypeIdx); in getProtoInfo()
721 const DexTypeList* paramTypes = dexGetProtoParameters(pDexFile, protoId); in getProtoInfo()