/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/ |
D | BsPatchTest.java | 25 import java.io.RandomAccessFile; 82 RandomAccessFile oldData = new RandomAccessFile(oldFile, "r"); in testTransformBytes() 96 RandomAccessFile oldData = new RandomAccessFile(oldFile, "r"); in testTransformBytes_Error_NotEnoughBytes() 110 RandomAccessFile oldData = new RandomAccessFile(oldFile, "r"); in testTransformBytes_Error_JunkPatch() 126 RandomAccessFile oldData = new RandomAccessFile(oldFile, "r"); in testTransformBytes_Error_JunkPatch_Underflow() 171 BsPatch.applyPatch(new RandomAccessFile(oldFile, "r"), newData, patchIn); in testApplyPatch_BadSignature() 194 BsPatch.applyPatch(new RandomAccessFile(oldFile, "r"), newData, patchIn, (long) 10 + 1); in testApplyPatch_NewLengthMismatch() 217 BsPatch.applyPatch(new RandomAccessFile(oldFile, "r"), newData, patchIn); in testApplyPatch_NewLengthNegative() 241 new RandomAccessFile(oldFile, "r"), newData, patchIn); in testApplyPatch_NewLengthTooLarge() 264 BsPatch.applyPatch(new RandomAccessFile(oldFile, "r"), newData, patchIn); in testApplyPatch_DiffSegmentLengthNegative() [all …]
|
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/gdiff/ |
D | GdiffTest.java | 22 import java.io.RandomAccessFile; 59 RandomAccessFile readInputFile = new RandomAccessFile(inputFile, "r"); in testExample() 108 RandomAccessFile readInputFile = new RandomAccessFile(inputFile, "r"); in testOpcodes() 130 RandomAccessFile readInputFile = new RandomAccessFile(inputFile, "r"); in testInlineDataCommands() 316 RandomAccessFile readInputFile = new RandomAccessFile(inputFile, "r"); in checkExpectedIOException()
|
/external/xz-java/src/org/tukaani/xz/ |
D | SeekableFileInputStream.java | 13 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/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/ |
D | RandomAccessFileOutputStream.java | 20 import java.io.RandomAccessFile; 31 private final RandomAccessFile raf; 57 protected RandomAccessFile getRandomAccessFile(File file) throws IOException { in getRandomAccessFile() 58 return new RandomAccessFile(file, "rw"); in getRandomAccessFile()
|
D | RandomAccessFileInputStream.java | 20 import java.io.RandomAccessFile; 40 private final RandomAccessFile raf; 95 protected RandomAccessFile getRandomAccessFile(File file) throws IOException { in getRandomAccessFile() 96 return new RandomAccessFile(file, "r"); in getRandomAccessFile()
|
/external/tensorflow/tensorflow/core/platform/ |
D | file_system.h | 39 class RandomAccessFile; variable 61 const string& fname, std::unique_ptr<RandomAccessFile>* result) = 0; 232 class RandomAccessFile { 234 RandomAccessFile() {} in RandomAccessFile() function 235 virtual ~RandomAccessFile(); 264 TF_DISALLOW_COPY_AND_ASSIGN(RandomAccessFile);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSharedMemory.java | 10 import java.io.RandomAccessFile; 55 try (RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw")) { in map() 84 RandomAccessFile randomAccessFile = new RandomAccessFile(sharedMemoryFile, "rw"); in nCreate()
|
D | ShadowLinux.java | 13 import java.io.RandomAccessFile; 56 RandomAccessFile randomAccessFile = new RandomAccessFile(path, modeToString(mode)); in open()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | buffered_inputstream_test.cc | 37 std::unique_ptr<RandomAccessFile> file; in TEST() 54 std::unique_ptr<RandomAccessFile> file; in TEST() 78 std::unique_ptr<RandomAccessFile> file; in TEST() 103 std::unique_ptr<RandomAccessFile> file; in TEST() 132 std::unique_ptr<RandomAccessFile> file; in TEST() 160 std::unique_ptr<RandomAccessFile> file; in TEST() 197 std::unique_ptr<RandomAccessFile> file; in TEST() 234 std::unique_ptr<RandomAccessFile> file; in TEST() 269 std::unique_ptr<RandomAccessFile> file; in TEST() 304 std::unique_ptr<RandomAccessFile> file; in TEST() [all …]
|
D | inputbuffer_test.cc | 44 std::unique_ptr<RandomAccessFile> file; in TEST() 59 std::unique_ptr<RandomAccessFile> file; in TEST() 81 std::unique_ptr<RandomAccessFile> file; in TEST() 104 std::unique_ptr<RandomAccessFile> file; in TEST() 131 std::unique_ptr<RandomAccessFile> file; in TEST() 158 std::unique_ptr<RandomAccessFile> file; in TEST() 188 std::unique_ptr<RandomAccessFile> file; in TEST() 230 std::unique_ptr<RandomAccessFile> file; in TEST() 265 std::unique_ptr<RandomAccessFile> file; in TEST() 320 std::unique_ptr<RandomAccessFile> file; in TEST() [all …]
|
D | record_reader.h | 31 class RandomAccessFile; variable 84 RandomAccessFile* file, 125 RandomAccessFile* file,
|
D | inputbuffer.h | 36 InputBuffer(RandomAccessFile* file, size_t buffer_bytes); 80 RandomAccessFile* file() const { return file_; } in file() 97 RandomAccessFile* file_; // Not owned
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/ |
D | RandomAccessObject.java | 22 import java.io.RandomAccessFile; 66 public static final class RandomAccessFileObject extends RandomAccessFile 352 public RandomAccessMmapObject(final RandomAccessFile randomAccessFile, String mode) in RandomAccessMmapObject() 403 RandomAccessFile file = null; in RandomAccessMmapObject() 405 file = new RandomAccessFile(mFile, mode); in RandomAccessMmapObject() 452 RandomAccessFile file = null; in RandomAccessMmapObject() 454 file = new RandomAccessFile(mFile, mode); in RandomAccessMmapObject()
|
D | BsDiffPatchWriter.java | 20 import java.io.RandomAccessFile; 339 try (RandomAccessFile oldDataRAF = new RandomAccessFile(oldData, "r"); in generatePatch() 340 RandomAccessFile newDataRAF = new RandomAccessFile(newData, "r"); in generatePatch()
|
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/ |
D | BsDiffDeltaApplier.java | 23 import java.io.RandomAccessFile; 33 RandomAccessFile oldBlobRaf = null; in applyDelta() 35 oldBlobRaf = new RandomAccessFile(oldBlob, "r"); in applyDelta()
|
D | BsPatch.java | 23 import java.io.RandomAccessFile; 74 RandomAccessFile oldData, OutputStream newData, InputStream patchData) in applyPatch() 92 RandomAccessFile oldData, OutputStream newData, InputStream patchData, Long expectedNewSize) in applyPatch() 105 final RandomAccessFile oldData, in applyPatchInternal() 243 final RandomAccessFile oldData, in transformBytes()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | Zip64SupportIT.java | 37 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/smali/util/src/main/java/org/jf/util/ |
D | RandomAccessFileOutputStream.java | 37 import java.io.RandomAccessFile; 41 @Nonnull private final RandomAccessFile raf; 43 public RandomAccessFileOutputStream(@Nonnull RandomAccessFile raf, int startFilePosition) { in RandomAccessFileOutputStream()
|
D | RandomAccessFileInputStream.java | 37 import java.io.RandomAccessFile; 41 @Nonnull private final RandomAccessFile raf; 43 public RandomAccessFileInputStream(@Nonnull RandomAccessFile raf, int filePosition) { in RandomAccessFileInputStream()
|
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/bsdiff/ |
D | RandomAccessObjectTest.java | 28 import java.io.RandomAccessFile; 59 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "r"), "r")) { in mmapLengthTest() 125 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "r"), "r")) { in mmapReadByteTest() 228 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "rw"), "rw")) { in mmapWriteByteTest() 262 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "rw"), "rw")) { in mmapWriteByteToEmptyFileTest() 343 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "rw"), "rw"); in mmapSeekTest() 400 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "r"), "r"); in mmapReadIntTest() 452 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "rw"), "rw")) { in mmapWriteIntTest() 492 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "rw"), "rw"); in mmapSeekToIntAlignedTest() 543 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "r"), "r")) {} in mmapCloseTest()
|
/external/emma/core/java12/com/vladium/emma/data/ |
D | DataFactory.java | 25 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/tensorflow/tensorflow/core/platform/cloud/ |
D | retrying_file_system.h | 43 std::unique_ptr<RandomAccessFile>* result) override; 147 class RetryingRandomAccessFile : public RandomAccessFile { 149 RetryingRandomAccessFile(std::unique_ptr<RandomAccessFile> base_file, in RetryingRandomAccessFile() 167 std::unique_ptr<RandomAccessFile> base_file_; 216 const string& filename, std::unique_ptr<RandomAccessFile>* result) { in NewRandomAccessFile() 217 std::unique_ptr<RandomAccessFile> base_file; in NewRandomAccessFile()
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | RandomAccessFileOutputStreamTest.java | 28 import java.io.RandomAccessFile; 86 protected RandomAccessFile getRandomAccessFile(File file) throws IOException { in testCreateAndFailToSize() 87 return new RandomAccessFile(file, "rw") { in testCreateAndFailToSize()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | text_literal_reader.h | 48 explicit TextLiteralReader(tensorflow::RandomAccessFile* file); 55 std::unique_ptr<tensorflow::RandomAccessFile> file_;
|
D | packed_literal_reader.h | 36 explicit PackedLiteralReader(tensorflow::RandomAccessFile* file); 51 tensorflow::RandomAccessFile* file_; // We own and close in our destructor
|