Searched refs:filePosition (Results 1 – 4 of 4) sorted by relevance
40 private int filePosition; field in RandomAccessFileInputStream43 public RandomAccessFileInputStream(@Nonnull RandomAccessFile raf, int filePosition) { in RandomAccessFileInputStream() argument44 this.filePosition = filePosition; in RandomAccessFileInputStream()49 raf.seek(filePosition); in read()50 filePosition++; in read()55 raf.seek(filePosition); in read()57 filePosition += bytesRead; in read()62 raf.seek(filePosition); in read()64 filePosition += bytesRead; in read()70 filePosition += skipBytes; in skip()[all …]
40 private int filePosition; field in RandomAccessFileOutputStream44 this.filePosition = startFilePosition; in RandomAccessFileOutputStream()49 raf.seek(filePosition); in write()50 filePosition++; in write()55 raf.seek(filePosition); in write()56 filePosition += b.length; in write()61 raf.seek(filePosition); in write()62 filePosition += len; in write()
46 private int filePosition; field in DexDataWriter63 public DexDataWriter(@Nonnull OutputStream output, int filePosition) { in DexDataWriter() argument64 this(output, filePosition, 256 * 1024); in DexDataWriter()67 public DexDataWriter(@Nonnull OutputStream output, int filePosition, int bufferSize) { in DexDataWriter() argument70 this.filePosition = filePosition; in DexDataWriter()75 filePosition++; in write()86 filePosition += len; in write()280 return filePosition; in getPosition()
402 …private static DexDataWriter outputAt(DexDataStore dataStore, int filePosition) throws IOException…403 return new DexDataWriter(dataStore.outputAt(filePosition), filePosition);