Home
last modified time | relevance | path

Searched refs:block (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/main/java/java/nio/
DMappedByteBuffer.java41 final MemoryBlock block; field in MappedByteBuffer
43 MappedByteBuffer(MemoryBlock block, int capacity, MapMode mapMode, long effectiveDirectAddress) { in MappedByteBuffer() argument
46 this.block = block; in MappedByteBuffer()
57 long address = block.toLong(); in isLoaded()
58 long size = block.getSize(); in isLoaded()
90 Libcore.os.mlock(block.toLong(), block.getSize()); in load()
91 Libcore.os.munlock(block.toLong(), block.getSize()); in load()
109 Libcore.os.msync(block.toLong(), block.getSize(), MS_SYNC); in force()
DDirectByteBuffer.java32 …protected DirectByteBuffer(MemoryBlock block, int capacity, int offset, boolean isReadOnly, MapMod… in DirectByteBuffer() argument
33 super(block, capacity, mapMode, block.toLong() + offset); in DirectByteBuffer()
35 long baseSize = block.getSize(); in DirectByteBuffer()
54 …DirectByteBuffer buf = new DirectByteBuffer(other.block, other.capacity(), other.offset, isReadOnl… in copy()
83 return new DirectByteBuffer(block, remaining(), offset + position, isReadOnly, mapMode); in slice()
95 byte[] array = this.block.array(); in protectedArray()
108 return !isReadOnly && (block.array() != null); in protectedHasArray()
114 this.block.peekByteArray(offset + position, dst, dstOffset, byteCount); in get()
122 this.block.peekCharArray(offset + position, dst, dstOffset, charCount, order.needsSwap); in get()
129 this.block.peekDoubleArray(offset + position, dst, dstOffset, doubleCount, order.needsSwap); in get()
[all …]
DFileChannelImpl.java257 MemoryBlock block = MemoryBlock.mmap(fd, alignment, size + offset, mapMode); in map() local
258 … return new DirectByteBuffer(block, (int) size, offset, (mapMode == MapMode.READ_ONLY), mapMode); in map()
/libcore/luni/src/main/java/java/nio/channels/
DSelectableChannel.java71 public abstract SelectableChannel configureBlocking(boolean block) in configureBlocking() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectableChannelTest.java52 public SelectableChannel configureBlocking(boolean block) in configureBlocking() argument
/libcore/luni/src/main/java/java/lang/
DCharacter.java1492 int block = unicodeBlockForName(blockName); in forName() local
1493 if (block == -1) { in forName()
1496 return BLOCKS[block]; in forName()
1513 int block = unicodeBlockForCodePoint(codePoint); in of() local
1514 if (block == -1 || block >= BLOCKS.length) { in of()
1517 return BLOCKS[block]; in of()
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinPoolTest.java92 public boolean block() { in block() method in ForkJoinPoolTest.ManagedLocker
138 locker.block(); in compute()
/libcore/luni/src/main/java/java/util/concurrent/
DPhaser.java1107 public boolean block() { in block() method in Phaser.QNode
DForkJoinPool.java3130 boolean block() throws InterruptedException; in block() method
3168 !blocker.block()); in managedBlock()
3178 !blocker.block()); in managedBlock()
/libcore/expectations/
Dknownfailures.txt623 description: "In Second code block assertion fails. statement. close() does not wrap up",
633 …description: "Second block first assertion fails. Is Last should evaluate true if the row on which…