Searched refs:randomAccessFile (Results 1 – 6 of 6) sorted by relevance
/external/xz-java/src/org/tukaani/xz/ |
D | SeekableFileInputStream.java | 26 protected RandomAccessFile randomAccessFile; field in SeekableFileInputStream 32 randomAccessFile = new RandomAccessFile(file, "r"); in SeekableFileInputStream() 40 randomAccessFile = new RandomAccessFile(name, "r"); in SeekableFileInputStream() 47 public SeekableFileInputStream(RandomAccessFile randomAccessFile) { in SeekableFileInputStream() argument 48 this.randomAccessFile = randomAccessFile; in SeekableFileInputStream() 55 return randomAccessFile.read(); in read() 62 return randomAccessFile.read(buf); in read() 71 return randomAccessFile.read(buf, off, len); in read() 78 randomAccessFile.close(); in close() 85 return randomAccessFile.length(); in length() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSharedMemory.java | 55 try (RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw")) { in map() argument 58 return randomAccessFile.getChannel().map(MapMode.READ_WRITE, offset, length); in map() 84 RandomAccessFile randomAccessFile = new RandomAccessFile(sharedMemoryFile, "rw"); in nCreate() local 85 randomAccessFile.setLength(0); in nCreate() 86 randomAccessFile.setLength(size); in nCreate() 88 filesByFd.put(randomAccessFile.getFD(), sharedMemoryFile); in nCreate() 89 return randomAccessFile.getFD(); in nCreate()
|
D | ShadowLinux.java | 56 RandomAccessFile randomAccessFile = new RandomAccessFile(path, modeToString(mode)); in open() local 57 return randomAccessFile.getFD(); in open()
|
D | ShadowParcel.java | 826 RandomAccessFile randomAccessFile = in openFileDescriptor() local 828 return randomAccessFile.getFD(); in openFileDescriptor()
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/ |
D | RandomAccessObject.java | 352 public RandomAccessMmapObject(final RandomAccessFile randomAccessFile, String mode) in RandomAccessMmapObject() argument 354 if (randomAccessFile.length() > Integer.MAX_VALUE) { in RandomAccessMmapObject() 365 mFileChannel = randomAccessFile.getChannel(); in RandomAccessMmapObject() 366 mByteBuffer = mFileChannel.map(mapMode, 0, randomAccessFile.length()); in RandomAccessMmapObject()
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
D | NanoHTTPD.java | 1006 RandomAccessFile randomAccessFile = null; in parseBody() local 1017 randomAccessFile = getTmpBucket(); in parseBody() 1018 request_data_output = randomAccessFile; in parseBody() 1035 …fbuf = randomAccessFile.getChannel().map(FileChannel.MapMode.READ_ONLY, 0, randomAccessFile.length… in parseBody() 1036 randomAccessFile.seek(0); in parseBody() 1079 safeClose(randomAccessFile); in parseBody()
|