OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mapMode
(Results
1 - 8
of
8
) sorted by null
/libcore/luni/src/main/java/java/nio/
MappedByteBuffer.java
20
import java.nio.channels.FileChannel.
MapMode
;
30
* {@link java.nio.channels.FileChannel#map(java.nio.channels.FileChannel.
MapMode
, long, long) FileChannel.map}.
40
final
MapMode
mapMode
;
43
MappedByteBuffer(MemoryBlock block, int capacity,
MapMode
mapMode
, long effectiveDirectAddress) {
45
this.
mapMode
=
mapMode
;
107
if (
mapMode
==
MapMode
.READ_WRITE)
[
all
...]
FileChannelImpl.java
220
public final MappedByteBuffer map(
MapMode
mapMode
, long position, long size) throws IOException {
222
if (
mapMode
== null) {
223
throw new NullPointerException("
mapMode
== null");
230
if (
mapMode
!=
MapMode
.READ_ONLY) {
257
MemoryBlock block = MemoryBlock.mmap(fd, alignment, size + offset,
mapMode
);
258
return new DirectByteBuffer(block, (int) size, offset, (
mapMode
==
MapMode
.READ_ONLY),
mapMode
);
[
all
...]
MemoryBlock.java
24
import java.nio.channels.FileChannel.
MapMode
;
100
public static MemoryBlock mmap(FileDescriptor fd, long offset, long size,
MapMode
mapMode
) throws IOException {
111
if (
mapMode
==
MapMode
.PRIVATE) {
114
} else if (
mapMode
==
MapMode
.READ_ONLY) {
117
} else { //
mapMode
==
MapMode
.READ_WRITE
DirectByteBuffer.java
20
import java.nio.channels.FileChannel.
MapMode
;
32
protected DirectByteBuffer(MemoryBlock block, int capacity, int offset, boolean isReadOnly,
MapMode
mapMode
) {
33
super(block, capacity,
mapMode
, block.toLong() + offset);
54
DirectByteBuffer buf = new DirectByteBuffer(other.block, other.capacity(), other.offset, isReadOnly, other.
mapMode
);
83
return new DirectByteBuffer(block, remaining(), offset + position, isReadOnly,
mapMode
);
/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/mesa3d/src/mesa/main/
texstore.c
[
all
...]
Completed in 230 milliseconds