/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/ |
D | RandomAccessObject.java | 358 FileChannel.MapMode mapMode; in RandomAccessMmapObject() 360 mapMode = FileChannel.MapMode.READ_ONLY; in RandomAccessMmapObject() 362 mapMode = FileChannel.MapMode.READ_WRITE; in RandomAccessMmapObject() 396 FileChannel.MapMode mapMode; in RandomAccessMmapObject() 398 mapMode = FileChannel.MapMode.READ_ONLY; in RandomAccessMmapObject() 400 mapMode = FileChannel.MapMode.READ_WRITE; in RandomAccessMmapObject() 445 FileChannel.MapMode mapMode; in RandomAccessMmapObject() 447 mapMode = FileChannel.MapMode.READ_ONLY; in RandomAccessMmapObject() 449 mapMode = FileChannel.MapMode.READ_WRITE; in RandomAccessMmapObject()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | PackageSanityTests.java | 22 import java.nio.channels.FileChannel.MapMode; 36 setDefault(MapMode.class, MapMode.READ_ONLY); in PackageSanityTests()
|
D | FilesTest.java | 42 import java.nio.channels.FileChannel.MapMode; 630 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); in testMap_readWrite() 650 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE, size); in testMap_readWrite_creates() 666 Files.map(file, MapMode.READ_WRITE, (long) Integer.MAX_VALUE + 1); in testMap_readWrite_max_value_plus_1()
|
/external/turbine/java/com/google/turbine/zip/ |
D | Zip.java | 31 import java.nio.channels.FileChannel.MapMode; 166 MappedByteBuffer eocd = chan.map(MapMode.READ_ONLY, eocdOffset, ENDHDR); in ZipIterable() 173 eocd = chan.map(MapMode.READ_ONLY, start, (size - start)); in ZipIterable() 199 MappedByteBuffer zip64eocd = chan.map(MapMode.READ_ONLY, zip64eocdOffset, ZIP64_ENDHDR); in ZipIterable() 209 this.cd = chan.map(MapMode.READ_ONLY, eocdOffset - cdsize, cdsize); in ZipIterable() 289 MapMode.READ_ONLY, in getBytes() 300 fc = chan.map(MapMode.READ_ONLY, offset + LOCHDR + nameLength + locExtLength, size); in getBytes()
|
/external/guava/guava/src/com/google/common/io/ |
D | Files.java | 48 import java.nio.channels.FileChannel.MapMode; 615 return map(file, MapMode.READ_ONLY); in map() 636 public static MappedByteBuffer map(File file, MapMode mode) in map() 667 public static MappedByteBuffer map(File file, MapMode mode, long size) in map() 675 new RandomAccessFile(file, mode == MapMode.READ_ONLY ? "r" : "rw")); in map() 684 private static MappedByteBuffer map(RandomAccessFile raf, MapMode mode, in map()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSharedMemory.java | 13 import java.nio.channels.FileChannel.MapMode; 58 return randomAccessFile.getChannel().map(MapMode.READ_WRITE, offset, length); in map()
|
/external/brotli/java/org/brotli/dec/ |
D | SetDictionaryTest.java | 67 ByteBuffer dictionary = dictionaryChannel.map(FileChannel.MapMode.READ_ONLY, 0, 122784).load(); in testSetDictionary()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
D | ChannelHelper.java | 33 …ByteBuffer bb = ((FileChannel) channel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) channel)… in readFully()
|
/external/ImageMagick/MagickCore/ |
D | blob.h | 33 } MapMode; typedef
|
D | blob-private.h | 142 *MapBlob(int,const MapMode,const MagickOffsetType,const size_t),
|
D | cache-private.h | 157 MapMode
|
D | cache.c | 121 OpenPixelCache(Image *,const MapMode,ExceptionInfo *), 122 OpenPixelCacheOnDisk(CacheInfo *,const MapMode), 138 *SetPixelCacheNexusPixels(const CacheInfo *,const MapMode, 3507 const MapMode mode) in OpenPixelCacheOnDisk() 3638 static MagickBooleanType OpenPixelCache(Image *image,const MapMode mode, in OpenPixelCache() 5004 const MapMode mode) in PrefetchPixelCacheNexusPixels() 5018 const MapMode mode,const RectangleInfo *region, in SetPixelCacheNexusPixels()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | FreeBox.java | 98 …data = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) reada… in parse()
|
/external/tensorflow/tensorflow/lite/models/smartreply/demo/app/src/main/java/com/example/android/smartreply/ |
D | SmartReplyClient.java | 98 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
D | OvicValidator.java | 101 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/tensorflow/tensorflow/lite/java/ovic/src/test/java/org/tensorflow/ovic/ |
D | OvicDetectorTest.java | 86 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
D | OvicClassifierTest.java | 171 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
D | MediaDataBox.java | 170 …cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFE… in getContent()
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
D | TFLiteImageClassifier.java | 73 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
D | TFLiteObjectDetectionAPIModel.java | 86 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
D | SpeechActivity.java | 113 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
D | AbstractBox.java | 109 …content = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) re… in parse()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | InterpreterTest.java | 79 fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fileChannel.size()); in testRunWithMappedByteBufferModel() 325 fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fileChannel.size()); in testTurnOnNNAPI()
|
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/ |
D | OvicBenchmarkerActivity.java | 106 model = fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in initializeTest()
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | ImageClassifier.java | 222 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|