Home
last modified time | relevance | path

Searched refs:indexMap (Results 1 – 3 of 3) sorted by relevance

/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java287 private int readIntoMap(Dex.Section in, TableOfContents.Section section, IndexMap indexMap, in readIntoMap() argument
291 T v = read(in, indexMap, index); in readIntoMap()
323 updateIndex(e1.offset, e1.indexMap, e1.index, outCount - 1); in mergeUnsorted()
327 updateIndex(e2.offset, e2.indexMap, e2.index, outCount - 1); in mergeUnsorted()
337 private List<UnsortedValue> readUnsortedValues(Dex source, IndexMap indexMap) { in readUnsortedValues() argument
347 T value = read(in, indexMap, 0); in readUnsortedValues()
348 result.add(new UnsortedValue(source, indexMap, value, i, offset)); in readUnsortedValues()
354 abstract T read(Dex.Section in, IndexMap indexMap, int index); in read() argument
355 abstract void updateIndex(int offset, IndexMap indexMap, int oldIndex, int newIndex); in updateIndex() argument
360 final IndexMap indexMap; field in DexMerger.IdMerger.UnsortedValue
[all …]
DInstructionTransformer.java31 private IndexMap indexMap; field in InstructionTransformer
44 public short[] transform(IndexMap indexMap, short[] encodedInstructions) throws DexException { in transform() argument
49 this.indexMap = indexMap; in transform()
61 this.indexMap = null; in transform()
76 int mappedId = indexMap.adjustString(stringId); in visit()
87 int mappedId = indexMap.adjustField(fieldId); in visit()
98 int mappedId = indexMap.adjustType(typeId); in visit()
109 int mappedId = indexMap.adjustMethod(methodId); in visit()
122 one.withProtoIndex(indexMap.adjustMethod(methodId), indexMap.adjustProto(protoId)); in visit()
130 int mappedCallSiteId = indexMap.adjustCallSite(callSiteId); in visit()
DSortableType.java49 private final IndexMap indexMap; field in SortableType
53 public SortableType(Dex dex, IndexMap indexMap, ClassDef classDef) { in SortableType() argument
55 this.indexMap = indexMap; in SortableType()
64 return indexMap; in getIndexMap()