Home
last modified time | relevance | path

Searched refs:off (Results 1 – 14 of 14) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/util/
DByteArray.java125 public int getByte(int off) { in getByte() argument
126 checkOffsets(off, off + 1); in getByte()
127 return getByte0(off); in getByte()
136 public int getShort(int off) { in getShort() argument
137 checkOffsets(off, off + 2); in getShort()
138 return (getByte0(off) << 8) | getUnsignedByte0(off + 1); in getShort()
147 public int getInt(int off) { in getInt() argument
148 checkOffsets(off, off + 4); in getInt()
149 return (getByte0(off) << 24) | in getInt()
150 (getUnsignedByte0(off + 1) << 16) | in getInt()
[all …]
DIndentingWriter.java139 public void write(char[] cbuf, int off, int len) throws IOException { in write() argument
142 write(cbuf[off]); in write()
143 off++; in write()
151 public void write(String str, int off, int len) throws IOException { in write() argument
154 write(str.charAt(off)); in write()
155 off++; in write()
/dalvik/dx/src/com/android/dx/util/
DByteArray.java122 public int getByte(int off) { in getByte() argument
123 checkOffsets(off, off + 1); in getByte()
124 return getByte0(off); in getByte()
133 public int getShort(int off) { in getShort() argument
134 checkOffsets(off, off + 2); in getShort()
135 return (getByte0(off) << 8) | getUnsignedByte0(off + 1); in getShort()
144 public int getInt(int off) { in getInt() argument
145 checkOffsets(off, off + 4); in getInt()
146 return (getByte0(off) << 24) | in getInt()
147 (getUnsignedByte0(off + 1) << 16) | in getInt()
[all …]
DIndentingWriter.java139 public void write(char[] cbuf, int off, int len) throws IOException { in write() argument
142 write(cbuf[off]); in write()
143 off++; in write()
151 public void write(String str, int off, int len) throws IOException { in write() argument
154 write(str.charAt(off)); in write()
155 off++; in write()
/dalvik/dx/src/com/android/dex/
DTableOfContents.java73 readMap(dex.open(mapList.off)); in readFrom()
103 mapList.off = headerIn.readInt(); in readHeader()
104 if (mapList.off == 0) { in readHeader()
108 stringIds.off = headerIn.readInt(); in readHeader()
110 typeIds.off = headerIn.readInt(); in readHeader()
112 protoIds.off = headerIn.readInt(); in readHeader()
114 fieldIds.off = headerIn.readInt(); in readHeader()
116 methodIds.off = headerIn.readInt(); in readHeader()
118 classDefs.off = headerIn.readInt(); in readHeader()
134 || (section.off != -1 && section.off != offset)) { in readMap()
[all …]
DDex.java323 int position = tableOfContents.typeIds.off + (SizeOf.TYPE_ID_ITEM * typeIndex); in descriptorIndexFromTypeIndex()
717 return open(tableOfContents.stringIds.off + (index * SizeOf.STRING_ID_ITEM)) in get()
754 return open(tableOfContents.protoIds.off + (SizeOf.PROTO_ID_ITEM * index)) in get()
767 return open(tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * index)) in get()
780 return open(tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * index)) in get()
790 private final Dex.Section in = open(tableOfContents.classDefs.off);
/dalvik/dx/src/com/android/dx/io/
DDexIndexPrinter.java42 if (section.off != -1) { in printMap()
44 + " off=" + Integer.toHexString(section.off) in printMap()
92 if (tableOfContents.typeLists.off == -1) { in printTypeLists()
96 Dex.Section in = dex.open(tableOfContents.typeLists.off); in printTypeLists()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java116 contentsOut.mapList.off = dexOut.getNextSectionStart(); in DexMerger()
120 contentsOut.typeLists.off = dexOut.getNextSectionStart(); in DexMerger()
123 contentsOut.annotationSetRefLists.off = dexOut.getNextSectionStart(); in DexMerger()
127 contentsOut.annotationSets.off = dexOut.getNextSectionStart(); in DexMerger()
130 contentsOut.classDatas.off = dexOut.getNextSectionStart(); in DexMerger()
133 contentsOut.codes.off = dexOut.getNextSectionStart(); in DexMerger()
136 contentsOut.stringDatas.off = dexOut.getNextSectionStart(); in DexMerger()
139 contentsOut.debugInfos.off = dexOut.getNextSectionStart(); in DexMerger()
142 contentsOut.annotations.off = dexOut.getNextSectionStart(); in DexMerger()
145 contentsOut.encodedArrays.off = dexOut.getNextSectionStart(); in DexMerger()
[all …]
/dalvik/dx/tests/099-dex-core-library-error/
Dinfo.txt3 javax packages are considered to be off-limits.)
/dalvik/dx/src/com/android/dx/cf/code/
DSimulator.java116 for (int off = bb.getStart(); off < end; /*off*/) { in simulate()
117 int length = code.parseInstruction(off, visitor); in simulate()
118 visitor.setPreviousOffset(off); in simulate()
119 off += length; in simulate()
/dalvik/dx/src/com/android/dx/cf/cst/
DConstantPoolParser.java166 int off = offsets[j]; in parse() local
167 if (off != 0) { in parse()
168 nextOffset = off; in parse()
/dalvik/dx/junit-tests/com/android/dx/merge/
DDexMergerTest.java61 assertEquals(0, merged.getTableOfContents().fieldIds.off); in test_merge_dexesWithEmptyFieldsSection()
/dalvik/dx/etc/
Ddx.bat1 @echo off
DmainDexClasses.bat1 @echo off