Home
last modified time | relevance | path

Searched refs:RandomAccessFile (Results 1 – 25 of 175) sorted by relevance

1234567

/external/apache-commons-io/src/main/java/org/apache/commons/io/
DRandomAccessFileMode.java21 import java.io.RandomAccessFile;
67 public RandomAccessFile create(final File file) throws FileNotFoundException { in create()
68 return new RandomAccessFile(file, mode); in create()
79 public RandomAccessFile create(final Path file) throws FileNotFoundException { in create()
91 public RandomAccessFile create(final String file) throws FileNotFoundException { in create()
92 return new RandomAccessFile(file, mode); in create()
/external/xz-java/src/org/tukaani/xz/
DSeekableFileInputStream.java13 import java.io.RandomAccessFile;
26 protected RandomAccessFile randomAccessFile;
32 randomAccessFile = new RandomAccessFile(file, "r"); in SeekableFileInputStream()
40 randomAccessFile = new RandomAccessFile(name, "r"); in SeekableFileInputStream()
47 public SeekableFileInputStream(RandomAccessFile randomAccessFile) { in SeekableFileInputStream()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/openers/
DRandomAccessFileOpener.java23 import java.io.RandomAccessFile;
26 public final class RandomAccessFileOpener implements Opener<RandomAccessFile> {
51 public RandomAccessFile open(OpenContext openContext) throws IOException { in open()
56 return new RandomAccessFile(file, "rw"); in open()
60 return new RandomAccessFile(file, "r"); in open()
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/
DRandomAccessFileInputStream.java22 import java.io.RandomAccessFile;
33 private final RandomAccessFile randomAccessFile;
40 public RandomAccessFileInputStream(final RandomAccessFile file) { in RandomAccessFileInputStream()
50 public RandomAccessFileInputStream(final RandomAccessFile file, final boolean closeOnClose) { in RandomAccessFileInputStream()
95 public RandomAccessFile getRandomAccessFile() { in getRandomAccessFile()
/external/leveldb/include/leveldb/
Denv.h46 class RandomAccessFile; variable
86 RandomAccessFile** result) = 0;
252 class LEVELDB_EXPORT RandomAccessFile {
254 RandomAccessFile() = default;
256 RandomAccessFile(const RandomAccessFile&) = delete;
257 RandomAccessFile& operator=(const RandomAccessFile&) = delete;
259 virtual ~RandomAccessFile();
349 RandomAccessFile** r) override { in NewRandomAccessFile()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/audio/
DTeeAudioProcessor.java26 import java.io.RandomAccessFile;
129 @Nullable private RandomAccessFile randomAccessFile;
170 RandomAccessFile randomAccessFile = new RandomAccessFile(getNextOutputFileName(), "rw"); in maybePrepareFile()
176 private void writeFileHeader(RandomAccessFile randomAccessFile) throws IOException { in writeFileHeader()
201 RandomAccessFile randomAccessFile = Assertions.checkNotNull(this.randomAccessFile); in writeBuffer()
211 @Nullable RandomAccessFile randomAccessFile = this.randomAccessFile; in reset()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/audio/
DTeeAudioProcessor.java26 import java.io.RandomAccessFile;
129 @Nullable private RandomAccessFile randomAccessFile;
170 RandomAccessFile randomAccessFile = new RandomAccessFile(getNextOutputFileName(), "rw"); in maybePrepareFile()
176 private void writeFileHeader(RandomAccessFile randomAccessFile) throws IOException { in writeFileHeader()
201 RandomAccessFile randomAccessFile = Assertions.checkNotNull(this.randomAccessFile); in writeBuffer()
211 @Nullable RandomAccessFile randomAccessFile = this.randomAccessFile; in reset()
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
DRandomAccessFileInputStreamTest.java28 import java.io.RandomAccessFile;
39 private RandomAccessFile createRandomAccessFile() throws FileNotFoundException { in createRandomAccessFile()
61 try (RandomAccessFile file = createRandomAccessFile()) { in testConstructorCloseOnCloseFalse()
71 try (RandomAccessFile file = createRandomAccessFile()) { in testConstructorCloseOnCloseTrue()
81 try (RandomAccessFile file = createRandomAccessFile()) { in testConstructorFile()
96 try (RandomAccessFile file = createRandomAccessFile()) { in testGetters()
159 try (RandomAccessFile file = createRandomAccessFile(); in testSkip()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSharedMemory.java10 import java.io.RandomAccessFile;
55 try (RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw")) { in map()
84 RandomAccessFile randomAccessFile = new RandomAccessFile(sharedMemoryFile, "rw"); in nCreate()
DShadowLinux.java13 import java.io.RandomAccessFile;
56 RandomAccessFile randomAccessFile = new RandomAccessFile(path, modeToString(mode)); in open()
/external/tensorflow/tensorflow/core/lib/io/
Dbuffered_inputstream_test.cc69 std::unique_ptr<RandomAccessFile> file; in TEST()
87 std::unique_ptr<RandomAccessFile> file; in TEST()
112 std::unique_ptr<RandomAccessFile> file; in TEST()
138 std::unique_ptr<RandomAccessFile> file; in TEST()
168 std::unique_ptr<RandomAccessFile> file; in TEST()
198 std::unique_ptr<RandomAccessFile> file; in TEST()
221 std::unique_ptr<RandomAccessFile> file; in TEST()
244 std::unique_ptr<RandomAccessFile> file; in TEST()
266 std::unique_ptr<RandomAccessFile> file; in TEST()
330 std::unique_ptr<RandomAccessFile> file; in TEST()
[all …]
Dinputbuffer_test.cc45 std::unique_ptr<RandomAccessFile> file; in TEST()
61 std::unique_ptr<RandomAccessFile> file; in TEST()
84 std::unique_ptr<RandomAccessFile> file; in TEST()
108 std::unique_ptr<RandomAccessFile> file; in TEST()
136 std::unique_ptr<RandomAccessFile> file; in TEST()
164 std::unique_ptr<RandomAccessFile> file; in TEST()
194 std::unique_ptr<RandomAccessFile> file; in TEST()
237 std::unique_ptr<RandomAccessFile> file; in TEST()
273 std::unique_ptr<RandomAccessFile> file; in TEST()
328 std::unique_ptr<RandomAccessFile> file; in TEST()
[all …]
Drecord_reader.h33 class RandomAccessFile; variable
90 RandomAccessFile* file,
139 RandomAccessFile* file,
Dinputbuffer.h37 InputBuffer(RandomAccessFile* file, size_t buffer_bytes);
85 RandomAccessFile* file() const { return file_; } in file()
102 RandomAccessFile* file_; // Not owned
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSharedMemory.java10 import java.io.RandomAccessFile;
65 try (RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw")) { in map()
96 RandomAccessFile randomAccessFile = new RandomAccessFile(sharedMemoryFile, "rw"); in nCreate()
DShadowParcelFileDescriptor.java19 import java.io.RandomAccessFile;
44 private static final Map<Integer, RandomAccessFile> filesInTransitById =
48 private RandomAccessFile file;
128 shadowParcelFileDescriptor.file = new RandomAccessFile(file, getFileMode(mode)); in open()
201 private RandomAccessFile getFile() { in getFile()
260 file = new RandomAccessFile(tempFile, "rw"); in close()
/external/smali/dexlib2/src/main/java/org/jf/util/
DRandomAccessFileOutputStream.java37 import java.io.RandomAccessFile;
41 @Nonnull private final RandomAccessFile raf;
43 public RandomAccessFileOutputStream(@Nonnull RandomAccessFile raf, int startFilePosition) { in RandomAccessFileOutputStream()
DRandomAccessFileInputStream.java37 import java.io.RandomAccessFile;
41 @Nonnull private final RandomAccessFile raf;
43 public RandomAccessFileInputStream(@Nonnull RandomAccessFile raf, int filePosition) { in RandomAccessFileInputStream()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/util/
DRandomAccessFileOutputStream.java36 import java.io.RandomAccessFile;
40 @Nonnull private final RandomAccessFile raf;
42 public RandomAccessFileOutputStream(@Nonnull RandomAccessFile raf, int startFilePosition) { in RandomAccessFileOutputStream()
DRandomAccessFileInputStream.java36 import java.io.RandomAccessFile;
40 @Nonnull private final RandomAccessFile raf;
42 public RandomAccessFileInputStream(@Nonnull RandomAccessFile raf, int filePosition) { in RandomAccessFileInputStream()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/writer/io/
DFileDataStore.java41 import java.io.RandomAccessFile;
45 private final RandomAccessFile raf;
48 this.raf = new RandomAccessFile(file, "rw"); in FileDataStore()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZip64SupportIT.java37 import java.io.RandomAccessFile;
214 try (RandomAccessFile a = new RandomAccessFile(f, "r")) { in write100KFiles()
383 try (RandomAccessFile a = new RandomAccessFile(f, "r")) {
614 try (RandomAccessFile a = new RandomAccessFile(f, "r")) {
866 try (RandomAccessFile a = new RandomAccessFile(f, "r")) {
1121 try (RandomAccessFile a = new RandomAccessFile(f, "r")) {
1389 try (RandomAccessFile a = new RandomAccessFile(f, "r")) {
1563 try (RandomAccessFile a = new RandomAccessFile(f, "r")) {
1731 try (RandomAccessFile a = new RandomAccessFile(f, "r")) {
1899 try (RandomAccessFile a = new RandomAccessFile(f, "r")) {
[all …]
/external/downloader/src/test/java/com/google/android/downloader/
DMockWebServerUrlEngineTestHelper.java27 import java.io.RandomAccessFile;
78 RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw"); in executeRequest_normalResponse_succeeds()
122 RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw"); in executeRequest_responseThrottled_succeeds()
170 RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw"); in executeRequest_largeResponse_succeeds()
212 RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw"); in executeRequest_closeBeforeWrite_failsAborted()
/external/emma/core/java12/com/vladium/emma/data/
DDataFactory.java25 import java.io.RandomAccessFile;
332 RandomAccessFileInputStream (final RandomAccessFile raf, final int bufSize) in RandomAccessFileInputStream()
372 RandomAccessFileOutputStream (final RandomAccessFile raf, final int bufSize) in RandomAccessFileOutputStream()
413 RandomAccessFile raf = null; in mergeload()
416 raf = new RandomAccessFile (file, "r"); in mergeload()
519 RandomAccessFile raf = null; in persist()
531 raf = new RandomAccessFile (file, "rw"); in persist()
656 raf = new RandomAccessFile (file, "rw"); in persist()
708 …private static void writeEntry (final Logger log, final RandomAccessFile raf, final long marker, f… in writeEntry()
748 …private static IMergeable readEntry (final RandomAccessFile raf, final byte type, final long entry… in readEntry()
/external/cronet/net/android/javatests/src/org/chromium/net/
DX509UtilTest.java21 import java.io.RandomAccessFile;
40 RandomAccessFile file = new RandomAccessFile(pathname, "r"); in readFileBytes()

1234567