Lines Matching refs:in
273 private int readIntoMap(Dex.Section in, TableOfContents.Section section, IndexMap indexMap, in readIntoMap() argument
275 int offset = in != null ? in.getPosition() : -1; in readIntoMap()
277 T v = read(in, indexMap, index); in readIntoMap()
325 Dex.Section in = source.open(section.off); in readUnsortedValues() local
327 int offset = in.getPosition(); in readUnsortedValues()
328 T value = read(in, indexMap, 0); in readUnsortedValues()
335 abstract T read(Dex.Section in, IndexMap indexMap, int index); in read() argument
377 @Override String read(Dex.Section in, IndexMap indexMap, int index) { in mergeStringIds() argument
378 return in.readString(); in mergeStringIds()
399 @Override Integer read(Dex.Section in, IndexMap indexMap, int index) { in mergeTypeIds() argument
400 int stringIndex = in.readInt(); in mergeTypeIds()
423 @Override TypeList read(Dex.Section in, IndexMap indexMap, int index) { in mergeTypeLists() argument
424 return indexMap.adjustTypeList(in.readTypeList()); in mergeTypeLists()
443 @Override ProtoId read(Dex.Section in, IndexMap indexMap, int index) { in mergeProtoIds() argument
444 return indexMap.adjust(in.readProtoId()); in mergeProtoIds()
466 @Override FieldId read(Dex.Section in, IndexMap indexMap, int index) { in mergeFieldIds() argument
467 return indexMap.adjust(in.readFieldId()); in mergeFieldIds()
489 @Override MethodId read(Dex.Section in, IndexMap indexMap, int index) { in mergeMethodIds() argument
490 return indexMap.adjust(in.readMethodId()); in mergeMethodIds()
513 @Override Annotation read(Dex.Section in, IndexMap indexMap, int index) { in mergeAnnotations() argument
514 return indexMap.adjust(in.readAnnotation()); in mergeAnnotations()
533 Dex in = type.getDex(); in mergeClassDefs() local
534 transformClassDef(in, type.getClassDef(), type.getIndexMap()); in mergeClassDefs()
617 private void transformAnnotationSets(Dex in, IndexMap indexMap) { in transformAnnotationSets() argument
618 TableOfContents.Section section = in.getTableOfContents().annotationSets; in transformAnnotationSets()
620 Dex.Section setIn = in.open(section.off); in transformAnnotationSets()
627 private void transformAnnotationSetRefLists(Dex in, IndexMap indexMap) { in transformAnnotationSetRefLists() argument
628 TableOfContents.Section section = in.getTableOfContents().annotationSetRefLists; in transformAnnotationSetRefLists()
630 Dex.Section setIn = in.open(section.off); in transformAnnotationSetRefLists()
637 private void transformAnnotationDirectories(Dex in, IndexMap indexMap) { in transformAnnotationDirectories() argument
638 TableOfContents.Section section = in.getTableOfContents().annotationsDirectories; in transformAnnotationDirectories()
640 Dex.Section directoryIn = in.open(section.off); in transformAnnotationDirectories()
647 private void transformStaticValues(Dex in, IndexMap indexMap) { in transformStaticValues() argument
648 TableOfContents.Section section = in.getTableOfContents().encodedArrays; in transformStaticValues()
650 Dex.Section staticValuesIn = in.open(section.off); in transformStaticValues()
661 private void transformClassDef(Dex in, ClassDef classDef, IndexMap indexMap) { in transformClassDef() argument
679 ClassData classData = in.readClassData(classDef); in transformClassDef()
680 transformClassData(in, classData, indexMap); in transformClassDef()
768 private void transformClassData(Dex in, ClassData classData, IndexMap indexMap) { in transformClassData() argument
783 transformMethods(in, indexMap, directMethods); in transformClassData()
784 transformMethods(in, indexMap, virtualMethods); in transformClassData()
797 private void transformMethods(Dex in, IndexMap indexMap, ClassData.Method[] methods) { in transformMethods() argument
811 transformCode(in, in.readCode(method), indexMap); in transformMethods()
816 private void transformCode(Dex in, Code code, IndexMap indexMap) { in transformCode() argument
831 transformDebugInfoItem(in.open(debugInfoOffset), indexMap); in transformCode()
892 private void transformDebugInfoItem(Dex.Section in, IndexMap indexMap) { in transformDebugInfoItem() argument
894 int lineStart = in.readUleb128(); in transformDebugInfoItem()
897 int parametersSize = in.readUleb128(); in transformDebugInfoItem()
901 int parameterName = in.readUleb128p1(); in transformDebugInfoItem()
913 int opcode = in.readByte(); in transformDebugInfoItem()
921 addrDiff = in.readUleb128(); in transformDebugInfoItem()
926 lineDiff = in.readSleb128(); in transformDebugInfoItem()
932 registerNum = in.readUleb128(); in transformDebugInfoItem()
934 nameIndex = in.readUleb128p1(); in transformDebugInfoItem()
936 typeIndex = in.readUleb128p1(); in transformDebugInfoItem()
939 sigIndex = in.readUleb128p1(); in transformDebugInfoItem()
946 registerNum = in.readUleb128(); in transformDebugInfoItem()
951 nameIndex = in.readUleb128p1(); in transformDebugInfoItem()
984 private void transformStaticValues(Dex.Section in, IndexMap indexMap) { in transformStaticValues() argument
986 indexMap.putStaticValuesOffset(in.getPosition(), encodedArrayOut.getPosition()); in transformStaticValues()
987 indexMap.adjustEncodedArray(in.readEncodedArray()).writeTo(encodedArrayOut); in transformStaticValues()