/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...] |
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoDecoderVP9Hybrid.cpp | 83 if (mAPMode == METADATA_MODE) { 149 bufferHeight, bufferCount, gralloc_mode, buff, (uint32_t)mAPMode); 167 if (mAPMode == METADATA_MODE) { 200 bufferHeight, bufferCount, gralloc_mode, buff, (uint32_t)mAPMode); 216 if (mAPMode == METADATA_MODE) { 261 if (mAPMode == METADATA_MODE) { 327 if ((mWorkingMode == GRAPHICBUFFER_MODE) && (mAPMode == METADATA_MODE) && (!mFormatChanged)) { 371 if (mAPMode == METADATA_MODE) { 464 if (mFormatChanged && mAPMode == METADATA_MODE) { 470 if (mFormatChanged && mAPMode == METADATA_MODE) [all...] |
OMXVideoDecoderBase.h | 146 AdaptivePlaybackMode mAPMode;
|
OMXVideoDecoderBase.cpp | 42 mAPMode(LEGACY_MODE), 307 if (mAPMode == METADATA_MODE) { 360 // Actually, if mAPMode is set, mWorkingMode should be GRAPHICBUFFER_MODE. 361 if (((mAPMode == METADATA_MODE) && (mWorkingMode == GRAPHICBUFFER_MODE)) && mFormatChanged) { 393 if ((mAPMode == METADATA_MODE) && (mWorkingMode == GRAPHICBUFFER_MODE)) { 452 if (((mAPMode == METADATA_MODE) && (mWorkingMode == GRAPHICBUFFER_MODE)) && mFormatChanged) { 509 if (mAPMode == METADATA_MODE) { 707 if (((mAPMode == METADATA_MODE) && (mWorkingMode == GRAPHICBUFFER_MODE)) && mFormatChanged) { 796 if (mAPMode == METADATA_MODE && mWorkingMode == GRAPHICBUFFER_MODE) { [all...] |
/libcore/ojluni/src/main/java/java/nio/channels/ |
FileChannel.java | 612 public static class MapMode { 617 public static final MapMode READ_ONLY 618 = new MapMode("READ_ONLY"); 623 public static final MapMode READ_WRITE 624 = new MapMode("READ_WRITE"); 629 public static final MapMode PRIVATE 630 = new MapMode("PRIVATE"); 634 private MapMode(String name) { 659 * ({@link MapMode#READ_ONLY MapMode.READ_ONLY}) </p></li [all...] |
/frameworks/base/tools/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 | 535 GLbitfield mapMode; 548 mapMode = GL_MAP_WRITE_BIT; 553 mapMode |= GL_MAP_READ_BIT; 557 mapMode, &map, &rowStride); 662 GLbitfield mapMode; 675 mapMode = GL_MAP_WRITE_BIT; 678 mapMode |= GL_MAP_READ_BIT; 682 mapMode, &map, &rowStride);
|
s_stencil.c | 559 GLbitfield mapMode; 570 mapMode = GL_MAP_WRITE_BIT; 573 mapMode |= GL_MAP_READ_BIT; 577 mapMode |= GL_MAP_READ_BIT; 581 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);
|
/frameworks/base/graphics/java/android/graphics/ |
FontFamily.java | 75 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize);
|
/libcore/benchmarks/src/benchmarks/regression/ |
ByteBufferBulkBenchmark.java | 62 result = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.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 | 492 MappedByteBuffer dbb = map(MapMode.READ_ONLY, position, size); 613 MappedByteBuffer bb = src.map(MapMode.READ_ONLY, p, size); 839 public MappedByteBuffer map(MapMode mode, long position, long size) 852 if (mode == MapMode.READ_ONLY) 854 else if (mode == MapMode.READ_WRITE) 856 else if (mode == MapMode.PRIVATE) 859 if ((mode != MapMode.READ_ONLY) && !writable) [all...] |
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
LoaderRaw.java | 114 MappedByteBuffer mbb = inputStream.getChannel().map(FileChannel.MapMode.READ_ONLY,
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
MediaDataBox.java | 170 cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFER_SIZE, contentSize - offset));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
AbstractBox.java | 109 content = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize);
|
/frameworks/base/core/java/android/text/ |
Hyphenator.java | 121 MappedByteBuffer buf = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());
|
/libcore/ojluni/src/main/java/java/nio/ |
MappedByteBuffer.java | 198 * java.nio.channels.FileChannel.MapMode#READ_WRITE}) then invoking this
|