/libcore/ojluni/src/main/java/java/nio/ |
D | LongBuffer.java | 81 public abstract class LongBuffer class 83 implements Comparable<LongBuffer> { 96 LongBuffer(int mark, int pos, int lim, int cap, // package-private in LongBuffer() method in LongBuffer 105 LongBuffer(int mark, int pos, int lim, int cap) { // package-private in LongBuffer() method in LongBuffer 123 public static LongBuffer allocate(int capacity) { in allocate() 153 public static LongBuffer wrap(long[] array, in wrap() 176 public static LongBuffer wrap(long[] array) { in wrap() 198 public abstract LongBuffer slice(); in slice() 215 public abstract LongBuffer duplicate(); in duplicate() 235 public abstract LongBuffer asReadOnlyBuffer(); in asReadOnlyBuffer() [all …]
|
D | HeapLongBuffer.java | 34 extends LongBuffer { 76 public LongBuffer slice() { in slice() 86 public LongBuffer duplicate() { in duplicate() 96 public LongBuffer asReadOnlyBuffer() { in asReadOnlyBuffer() 118 public LongBuffer get(long[] dst, int offset, int length) { in get() 135 public LongBuffer put(long x) { in put() 143 public LongBuffer put(int i, long x) { in put() 151 public LongBuffer put(long[] src, int offset, int length) { in put() 163 public LongBuffer put(LongBuffer src) { in put() 191 public LongBuffer compact() { in compact()
|
D | ByteBufferAsLongBuffer.java | 30 class ByteBufferAsLongBuffer extends LongBuffer { // package-private 57 public LongBuffer slice() { in slice() 67 public LongBuffer duplicate() { in duplicate() 77 public LongBuffer asReadOnlyBuffer() { in asReadOnlyBuffer() 99 public LongBuffer get(long[] dst, int offset, int length) { in get() 108 public LongBuffer put(long x) { in put() 113 public LongBuffer put(int i, long x) { in put() 121 public LongBuffer put(long[] src, int offset, int length) { in put() 130 public LongBuffer compact() { in compact()
|
D | ByteBuffer.java | 1312 public abstract LongBuffer asLongBuffer(); in asLongBuffer()
|
D | HeapByteBuffer.java | 428 public LongBuffer asLongBuffer() { in asLongBuffer()
|
D | DirectByteBuffer.java | 719 public final LongBuffer asLongBuffer() { in asLongBuffer()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | WrappedLongBufferTest.java | 18 import java.nio.LongBuffer; 23 buf = LongBuffer.wrap(new long[BUFFER_LENGTH]); in setUp() 41 LongBuffer.wrap(array, -1, 0); in testWrappedLongBuffer_IllegalArg() 47 LongBuffer.wrap(array, 21, 0); in testWrappedLongBuffer_IllegalArg() 53 LongBuffer.wrap(array, 0, -1); in testWrappedLongBuffer_IllegalArg() 59 LongBuffer.wrap(array, 0, 21); in testWrappedLongBuffer_IllegalArg() 65 LongBuffer.wrap(array, Integer.MAX_VALUE, 1); in testWrappedLongBuffer_IllegalArg() 71 LongBuffer.wrap(array, 1, Integer.MAX_VALUE); in testWrappedLongBuffer_IllegalArg() 77 LongBuffer.wrap((long[])null, -1, 0); in testWrappedLongBuffer_IllegalArg() 82 LongBuffer buf = LongBuffer.wrap(array, 2, 16); in testWrappedLongBuffer_IllegalArg()
|
D | LongBufferTest.java | 24 import java.nio.LongBuffer; 37 protected LongBuffer buf; 40 buf = LongBuffer.allocate(BUFFER_LENGTH); in setUp() 90 LongBuffer readonly = buf.asReadOnlyBuffer(); in testAsReadOnlyBuffer() 113 LongBuffer ret = buf.compact(); in testCompact() 166 LongBuffer other = LongBuffer.allocate(buf.capacity()); in testCompareTo() 188 LongBuffer duplicate = buf.duplicate(); 217 LongBuffer readonly = buf.asReadOnlyBuffer(); 219 LongBuffer duplicate = buf.duplicate(); 261 LongBuffer ret = buf.get(array); in testGetlongArray() [all …]
|
D | HeapLongBufferTest.java | 18 import java.nio.LongBuffer; 23 buf = LongBuffer.allocate(BUFFER_LENGTH); in setUp() 36 LongBuffer.allocate(-1); in testAllocatedLongBuffer_IllegalArg()
|
D | ReadOnlyLongBufferTest.java | 18 import java.nio.LongBuffer; 50 LongBuffer duplicate = buf.duplicate(); in testHashCode() 126 LongBuffer other = LongBuffer.allocate(1); in testPutLongBuffer() 134 buf.put((LongBuffer) null); in testPutLongBuffer()
|
D | ReadOnlyHeapLongBufferTest.java | 18 import java.nio.LongBuffer; 23 buf = LongBuffer.allocate(BUFFER_LENGTH); in setUp()
|
D | ReadOnlyWrappedLongBufferTest.java | 18 import java.nio.LongBuffer; 23 buf = LongBuffer.wrap(new long[BUFFER_LENGTH]); in setUp()
|
D | DirectLongBufferTest.java | 21 import java.nio.LongBuffer; 62 LongBuffer longBuffer = directByteBuffer.asLongBuffer(); in testJNIAccessByAddress()
|
D | DirectByteBufferTest.java | 21 import java.nio.LongBuffer; 104 LongBuffer longBuf = buf.asLongBuffer(); in testUnalignedReadsAndWrites()
|
D | ByteBufferTest.java | 30 import java.nio.LongBuffer; 1058 LongBuffer longBuffer; in testAsLongBuffer()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | BitSetTest.java | 20 import java.nio.LongBuffer; 75 assertBitSet(BitSet.valueOf(LongBuffer.wrap(longs)), longs, s); in assertBitSet() 80 assertBitSet(BitSet.valueOf(LongBuffer.wrap(paddedLongs, 1, longs.length)), longs, s); in assertBitSet()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBulkBenchmark.java | 29 import java.nio.LongBuffer;
|
D | ByteBufferBenchmark.java | 29 import java.nio.LongBuffer; 220 … LongBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asLongBuffer(); in timeLongBuffer_getLongArray() 371 … LongBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asLongBuffer(); in timeLongBuffer_putLongArray()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 33 import java.nio.LongBuffer; 453 assertEquals(ByteOrder.nativeOrder(), LongBuffer.wrap(new long[10]).order()); in testLongBufferByteOrderWrapped() 454 … assertEquals(ByteOrder.nativeOrder(), LongBuffer.wrap(new long[10]).asReadOnlyBuffer().order()); in testLongBufferByteOrderWrapped() 457 private void testLongBufferByteOrder(LongBuffer b, ByteOrder bo) throws Exception { in testLongBufferByteOrder() 467 private LongBuffer allocateLongBuffer(ByteOrder order) { in allocateLongBuffer() 472 testLongBufferByteOrder(LongBuffer.allocate(10), ByteOrder.nativeOrder()); in testLongBufferByteOrderArray() 949 assertEquals(SizeOf.LONG, 1 << LongBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts() 1353 LongBuffer l = b.asLongBuffer(); in testBuffersIndependentLimit() 1444 LongBuffer lb_be = byteBuffer.asLongBuffer(); in test_ByteBufferAsXBuffer_ByteOrder_2() 1455 LongBuffer lb_le = byteBuffer.asLongBuffer(); in test_ByteBufferAsXBuffer_ByteOrder_2()
|
/libcore/ojluni/src/main/java/java/util/ |
D | BitSet.java | 31 import java.nio.LongBuffer; 220 public static BitSet valueOf(LongBuffer lb) { in valueOf()
|
/libcore/ |
D | openjdk_java_files.mk | 393 ojluni/src/main/java/java/nio/LongBuffer.java \
|