Home | History | Annotate | Download | only in rawdex

Lines Matching refs:file

5  * you may not use this file except in compliance with the License.
46 public void read(DexRandomAccessFile file) throws IOException {
47 type = file.readUShort();
48 file.readUShort(); // Unused padding.
49 size = file.readUInt();
51 offset = file.getOffsetTracker().getNewHeaderOffset(file.readUInt());
53 offset = file.getOffsetTracker().getNewOffset(file.readUInt());
58 public void write(DexRandomAccessFile file) throws IOException {
59 file.writeUShort(type);
60 file.writeUShort((short) 0); // Unused padding.
61 file.writeUInt(size);
62 file.getOffsetTracker().tryToWriteOffset(offset, file, false /* ULEB128 */);