/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
MapModeTest.java | 24 * Tests for FileChannel.MapMode 29 * java.nio.channels.FileChannel.MapMode#PRIVATE,READONLY,READWRITE 32 assertNotNull(FileChannel.MapMode.PRIVATE); 33 assertNotNull(FileChannel.MapMode.READ_ONLY); 34 assertNotNull(FileChannel.MapMode.READ_WRITE); 36 assertFalse(FileChannel.MapMode.PRIVATE 37 .equals(FileChannel.MapMode.READ_ONLY)); 38 assertFalse(FileChannel.MapMode.PRIVATE 39 .equals(FileChannel.MapMode.READ_WRITE)); 40 assertFalse(FileChannel.MapMode.READ_ONL [all...] |
FileChannelTest.java | 44 import java.nio.channels.FileChannel.MapMode; [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
PackageSanityTests.java | 22 import java.nio.channels.FileChannel.MapMode; 36 setDefault(MapMode.class, MapMode.READ_ONLY);
|
FilesTest.java | 42 import java.nio.channels.FileChannel.MapMode; 630 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); 650 MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE, size); 666 Files.map(file, MapMode.READ_WRITE, (long) Integer.MAX_VALUE + 1);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
MappedByteBufferTest.java | 31 import java.nio.channels.FileChannel.MapMode; 47 MappedByteBuffer mmb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc 77 MappedByteBuffer mmb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size()); 104 mmb = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); 113 mmb = fc.map(FileChannel.MapMode.PRIVATE, 0, fc.size()); 130 MappedByteBuffer mmbRead = fileChannelRead.map(MapMode.READ_ONLY, 0, 137 MappedByteBuffer resultRead = fileChannelR.map(MapMode.READ_ONLY, 0, 149 FileChannel.MapMode.READ_WRITE, 0, fileChannelReadWrite.size()); 157 FileChannel.MapMode.READ_WRITE, 0, fileChannelRW.size()); 174 MappedByteBuffer mmbRead = fileChannelRead.map(MapMode.READ_ONLY, 0 [all...] |
/external/ImageMagick/MagickCore/ |
blob.h | 35 } MapMode;
|
blob-private.h | 142 *MapBlob(int,const MapMode,const MagickOffsetType,const size_t),
|
cache-private.h | 158 MapMode
|
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoDecoderVP9Hybrid.cpp | 82 if (mAPMode == METADATA_MODE) { 148 bufferHeight, bufferCount, gralloc_mode, buff, (uint32_t)mAPMode); 166 if (mAPMode == METADATA_MODE) { 199 bufferHeight, bufferCount, gralloc_mode, buff, (uint32_t)mAPMode); 215 if (mAPMode == METADATA_MODE) { 260 if (mAPMode == METADATA_MODE) { 326 if ((mWorkingMode == GRAPHICBUFFER_MODE) && (mAPMode == METADATA_MODE) && (!mFormatChanged)) { 373 if (mAPMode == METADATA_MODE) { 471 if (mFormatChanged && mAPMode == METADATA_MODE) { 477 if (mFormatChanged && mAPMode == METADATA_MODE) [all...] |
OMXVideoDecoderBase.h | 146 AdaptivePlaybackMode mAPMode;
|
OMXVideoDecoderBase.cpp | 43 mAPMode(LEGACY_MODE), 308 if (mAPMode == METADATA_MODE) { 361 // Actually, if mAPMode is set, mWorkingMode should be GRAPHICBUFFER_MODE. 362 if (((mAPMode == METADATA_MODE) && (mWorkingMode == GRAPHICBUFFER_MODE)) && mFormatChanged) { 394 if ((mAPMode == METADATA_MODE) && (mWorkingMode == GRAPHICBUFFER_MODE)) { 453 if (((mAPMode == METADATA_MODE) && (mWorkingMode == GRAPHICBUFFER_MODE)) && mFormatChanged) { 510 if (mAPMode == METADATA_MODE) { 708 if (((mAPMode == METADATA_MODE) && (mWorkingMode == GRAPHICBUFFER_MODE)) && mFormatChanged) { 798 if (mAPMode == METADATA_MODE && mWorkingMode == GRAPHICBUFFER_MODE) { [all...] |
/frameworks/layoutlib/bridge/src/libcore/io/ |
MemoryMappedFile_Delegate.java | 30 import java.nio.channels.FileChannel.MapMode; 105 mMappedByteBuffer = file.getChannel().map(MapMode.READ_ONLY, 0, mSize);
|
/external/mesa3d/src/mesa/swrast/ |
s_clear.c | 57 GLbitfield mapMode = GL_MAP_WRITE_BIT; 64 mapMode |= GL_MAP_READ_BIT; 69 mapMode, &map, &rowStride);
|
s_depth.c | 551 GLbitfield mapMode; 564 mapMode = GL_MAP_WRITE_BIT; 569 mapMode |= GL_MAP_READ_BIT; 573 mapMode, &map, &rowStride); 678 GLbitfield mapMode; 691 mapMode = GL_MAP_WRITE_BIT; 694 mapMode |= GL_MAP_READ_BIT; 698 mapMode, &map, &rowStride);
|
s_stencil.c | 561 GLbitfield mapMode; 572 mapMode = GL_MAP_WRITE_BIT; 575 mapMode |= GL_MAP_READ_BIT; 579 mapMode |= GL_MAP_READ_BIT; 583 mapMode, &map, &rowStride);
|
/external/guava/guava/src/com/google/common/io/ |
Files.java | 48 import java.nio.channels.FileChannel.MapMode; 599 * {@link FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}. 610 * @see FileChannel#map(MapMode, long, long) 615 return map(file, MapMode.READ_ONLY); 620 * {@link FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} 621 * using the requested {@link MapMode}. 633 * @see FileChannel#map(MapMode, long, long) 636 public static MappedByteBuffer map(File file, MapMode mode) 648 * {@link FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} 649 * using the requested {@link MapMode} [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
ChannelHelper.java | 33 ByteBuffer bb = ((FileChannel) channel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) channel).position(), size);
|
/libcore/benchmarks/src/benchmarks/regression/ |
ByteBufferBulkBenchmark.java | 62 result = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size());
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
FileChannel.java | [all...] |
/frameworks/support/compat/java/android/support/v4/graphics/ |
TypefaceCompatUtil.java | 84 return channel.map(FileChannel.MapMode.READ_ONLY, 0, size); 101 return channel.map(FileChannel.MapMode.READ_ONLY, 0, size);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
DictDecoder.java | 149 buffer = inStream.getChannel().map(FileChannel.MapMode.READ_ONLY, 205 buffer = raFile.getChannel().map(FileChannel.MapMode.READ_WRITE, 0, file.length());
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
FreeBox.java | 98 data = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize);
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
FileChannelImpl.java | 545 MappedByteBuffer dbb = map(MapMode.READ_ONLY, position, size); 666 MappedByteBuffer bb = src.map(MapMode.READ_ONLY, p, size); 888 public MappedByteBuffer map(MapMode mode, long position, long size) 904 if (mode == MapMode.READ_ONLY) 906 else if (mode == MapMode.READ_WRITE) 908 else if (mode == MapMode.PRIVATE) 911 if ((mode != MapMode.READ_ONLY) && !writable) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
FontFamily.java | 100 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
LoaderRaw.java | 114 MappedByteBuffer mbb = inputStream.getChannel().map(FileChannel.MapMode.READ_ONLY,
|