Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/dex/file/
DMethodIdsSection.java35 private final TreeMap<CstBaseMethodRef, MethodIdItem> methodIds; field in MethodIdsSection
45 methodIds = new TreeMap<CstBaseMethodRef, MethodIdItem>(); in MethodIdsSection()
51 return methodIds.values(); in items()
63 IndexedItem result = methodIds.get((CstBaseMethodRef) cst); in get()
80 int sz = methodIds.size(); in writeHeaderPart()
105 MethodIdItem result = methodIds.get(method); in intern()
109 methodIds.put(method, result); in intern()
129 MethodIdItem item = methodIds.get(ref); in indexOf()
DDexFile.java84 private final MethodIdsSection methodIds; field in DexFile
135 methodIds = new MethodIdsSection(this); in DexFile()
154 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile()
162 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, in DexFile()
422 return methodIds; in getMethodIds()
507 methodIds.intern((CstBaseMethodRef) cst); in internIfAppropriate()
536 return methodIds.get(cst); in findItemOrNull()
580 methodIds.prepare(); in toDex0()
DMethodAnnotationStruct.java77 MethodIdsSection methodIds = file.getMethodIds(); in addContents() local
80 methodIds.intern(method); in addContents()
DMethodHandleItem.java94 MethodIdsSection methodIds = file.getMethodIds(); in getTargetIndex() local
95 return methodIds.indexOf((CstBaseMethodRef) ref); in getTargetIndex()
DParameterAnnotationStruct.java102 MethodIdsSection methodIds = file.getMethodIds(); in addContents() local
105 methodIds.intern(method); in addContents()
DEncodedMethod.java116 MethodIdsSection methodIds = file.getMethodIds(); in addContents() local
119 methodIds.intern(method); in addContents()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DMethodIdsSection.java35 private final TreeMap<CstBaseMethodRef, MethodIdItem> methodIds; field in MethodIdsSection
45 methodIds = new TreeMap<CstBaseMethodRef, MethodIdItem>(); in MethodIdsSection()
51 return methodIds.values(); in items()
63 IndexedItem result = methodIds.get((CstBaseMethodRef) cst); in get()
80 int sz = methodIds.size(); in writeHeaderPart()
105 MethodIdItem result = methodIds.get(method); in intern()
109 methodIds.put(method, result); in intern()
129 MethodIdItem item = methodIds.get(ref); in indexOf()
DDexFile.java77 private final MethodIdsSection methodIds; field in DexFile
118 methodIds = new MethodIdsSection(this); in DexFile()
127 header, stringIds, typeIds, protoIds, fieldIds, methodIds, in DexFile()
373 return methodIds; in getMethodIds()
430 methodIds.intern((CstBaseMethodRef) cst); in internIfAppropriate()
459 return methodIds.get(cst); in findItemOrNull()
487 methodIds.prepare(); in toDex0()
DMethodAnnotationStruct.java77 MethodIdsSection methodIds = file.getMethodIds(); in addContents() local
80 methodIds.intern(method); in addContents()
DParameterAnnotationStruct.java101 MethodIdsSection methodIds = file.getMethodIds(); in addContents() local
104 methodIds.intern(method); in addContents()
DEncodedMethod.java117 MethodIdsSection methodIds = file.getMethodIds(); in addContents() local
120 methodIds.intern(method); in addContents()
/dalvik/dx/src/com/android/dx/command/findusages/
DFindUsages.java36 private final Set<Integer> methodIds; field in FindUsages
63 methodIds = fieldIds = null; in FindUsages()
67 methodIds = new HashSet<Integer>(); in FindUsages()
74 methodIds.addAll(getMethodIds(dex, memberNameIndexes, typeIndex)); in FindUsages()
92 if (methodIds.contains(methodId)) { in FindUsages()
93 out.println(location() + ": method reference " + dex.methodIds().get(methodId) in FindUsages()
103 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex()); in location()
114 if (fieldIds == null || methodIds == null) { in findUsages()
137 if (methodIds.contains(methodIndex)) { in findUsages()
138 … out.println(location() + " method declared " + dex.methodIds().get(methodIndex)); in findUsages()
[all …]
/dalvik/dx/src/com/android/dex/
DTableOfContents.java37 public final Section methodIds = new Section(0x0005); field in TableOfContents
53 header, stringIds, typeIds, protoIds, fieldIds, methodIds, classDefs, mapList, callSiteIds,
115 methodIds.size = headerIn.readInt(); in readHeader()
116 methodIds.off = headerIn.readInt(); in readHeader()
192 out.writeInt(methodIds.size); in writeHeader()
193 out.writeInt(methodIds.off); in writeHeader()
DMethodHandle.java130 : dex.methodIds().get(fieldOrMethodId)); in toString()
DDex.java69 private final MethodIdTable methodIds = new MethodIdTable(); field in Dex
237 public List<MethodId> methodIds() { in methodIds() method in Dex
238 return methodIds; in methodIds()
769 checkBounds(index, tableOfContents.methodIds.size); in get()
770 return open(tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * index)) in get()
774 return tableOfContents.methodIds.size; in size()
/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java67 public final short[] methodIds; field in IndexMap
83 this.methodIds = new short[tableOfContents.methodIds.size]; in IndexMap()
173 return methodIds[methodIndex] & 0xffff; in adjustMethod()
DDexMerger.java556 return tableOfContents.methodIds; in mergeMethodIds()
568 indexMap.methodIds[oldIndex] = (short) newIndex; in mergeMethodIds()
1118 + contents.methodIds.size * SizeOf.MEMBER_ID_ITEM in plus()
/dalvik/dx/src/com/android/dx/command/grep/
DGrep.java78 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex()); in location()
/dalvik/dx/src/com/android/dx/io/
DDexIndexPrinter.java85 for (MethodId methodId : dex.methodIds()) { in printMethodIds()