/external/guava/android/guava-tests/test/com/google/common/io/ |
D | PackageSanityTests.java | 22 import java.nio.channels.FileChannel.MapMode; 37 setDefault(MapMode.class, MapMode.READ_ONLY); in PackageSanityTests()
|
D | FilesTest.java | 36 import java.nio.channels.FileChannel.MapMode; 574 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); in testMap_readWrite() 594 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE, size); in testMap_readWrite_creates() 610 Files.map(file, MapMode.READ_WRITE, (long) Integer.MAX_VALUE + 1); in testMap_readWrite_max_value_plus_1()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | PackageSanityTests.java | 22 import java.nio.channels.FileChannel.MapMode; 37 setDefault(MapMode.class, MapMode.READ_ONLY); in PackageSanityTests()
|
D | FilesTest.java | 36 import java.nio.channels.FileChannel.MapMode; 574 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); in testMap_readWrite() 594 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE, size); in testMap_readWrite_creates() 610 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; 652 return map(file, MapMode.READ_ONLY); in map() 673 public static MappedByteBuffer map(File file, MapMode mode) throws IOException { in map() 697 public static MappedByteBuffer map(File file, MapMode mode, long size) throws IOException { in map() 702 private static MappedByteBuffer mapInternal(File file, MapMode mode, long size) in mapInternal() 710 closer.register(new RandomAccessFile(file, mode == MapMode.READ_ONLY ? "r" : "rw")); in mapInternal()
|
/external/guava/android/guava/src/com/google/common/io/ |
D | Files.java | 48 import java.nio.channels.FileChannel.MapMode; 652 return map(file, MapMode.READ_ONLY); in map() 673 public static MappedByteBuffer map(File file, MapMode mode) throws IOException { in map() 697 public static MappedByteBuffer map(File file, MapMode mode, long size) throws IOException { in map() 702 private static MappedByteBuffer mapInternal(File file, MapMode mode, long size) in mapInternal() 710 closer.register(new RandomAccessFile(file, mode == MapMode.READ_ONLY ? "r" : "rw")); in mapInternal()
|
/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/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 118 fBuffer.MapAsync(wgpu::MapMode::Write, 0, 0, callback_write, this); in mapWriteAsync() 122 fBuffer.MapAsync(wgpu::MapMode::Read, 0, 0, callback_read, this); in mapReadAsync()
|
/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 | 34 } MapMode; typedef
|
D | blob-private.h | 143 *MapBlob(int,const MapMode,const MagickOffsetType,const size_t),
|
D | cache-private.h | 160 MapMode
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/core/ |
D | TaskJniUtils.java | 145 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength);
|
/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/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/src/test/java/org/tensorflow/lite/ |
D | TestUtils.java | 40 return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fileChannel.size()); in getTestFileAsBuffer()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/common/ |
D | FileUtil.java | 164 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadMappedFile()
|
/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 | 172 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/ |
D | MappedExecutionData.java | 82 probeBuffer = channel.map(FileChannel.MapMode.READ_WRITE, channel.position(), byteCount); in createMemoryMappedProbeArray()
|
/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/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/ovic/demo/app/ |
D | OvicBenchmarkerActivity.java | 107 model = fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in initializeTest()
|