/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AbstractPollArrayWrapper.java | 73 pollArray.putShort(offset, (short)event); in putEventOps() 78 pollArray.putShort(offset, (short)revent); in putReventOps()
|
D | NativeObject.java | 216 final void putShort(int offset, short value) { in putShort() method in NativeObject 217 unsafe.putShort(offset + address, value); in putShort()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 277 public ByteBuffer putShort(short x) { in putShort() method in HeapByteBuffer 281 Bits.putShort(this, ix(nextPutIndex(2)), x, bigEndian); in putShort() 286 public ByteBuffer putShort(int i, short x) { in putShort() method in HeapByteBuffer 290 Bits.putShort(this, ix(checkIndex(i, 2)), x, bigEndian); in putShort() 296 Bits.putShort(this, ix(i), x, bigEndian); in putShortUnchecked()
|
D | DirectByteBuffer.java | 488 private ByteBuffer putShort(long a, short x) { in putShort() method in DirectByteBuffer 494 public final ByteBuffer putShort(short x) { in putShort() method in DirectByteBuffer 501 putShort(ix(nextPutIndex(Short.BYTES)), x); in putShort() 506 public final ByteBuffer putShort(int i, short x) { in putShort() method in DirectByteBuffer 513 putShort(ix(checkIndex(i, Short.BYTES)), x); in putShort() 522 putShort(ix(i), x); in putShortUnchecked()
|
D | ByteBuffer.java | 1222 public abstract ByteBuffer putShort(short value); in putShort() method in ByteBuffer 1270 public abstract ByteBuffer putShort(int index, short value); in putShort() method in ByteBuffer
|
D | Bits.java | 191 static void putShort(ByteBuffer bb, int bi, short x, boolean bigEndian) { in putShort() method in Bits 198 static void putShort(long a, short x, boolean bigEndian) { in putShort() method in Bits
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | DirectByteBuffer.annotated.java | 85 public final java.nio.ByteBuffer putShort(short x) { throw new RuntimeException("Stub!"); } in putShort() method in DirectByteBuffer 87 public final java.nio.ByteBuffer putShort(int i, short x) { throw new RuntimeException("Stub!"); } in putShort() method in DirectByteBuffer
|
D | ByteBuffer.annotated.java | 104 public abstract java.nio.ByteBuffer putShort(short value); in putShort() method in ByteBuffer 108 public abstract java.nio.ByteBuffer putShort(int index, short value); in putShort() method in ByteBuffer
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | DirectByteBuffer.java | 223 private java.nio.ByteBuffer putShort(long a, short x) { in putShort() method in DirectByteBuffer 227 public final java.nio.ByteBuffer putShort(short x) { in putShort() method in DirectByteBuffer 231 public final java.nio.ByteBuffer putShort(int i, short x) { in putShort() method in DirectByteBuffer
|
D | ByteBuffer.java | 169 public abstract java.nio.ByteBuffer putShort(short value); in putShort() method in ByteBuffer 177 public abstract java.nio.ByteBuffer putShort(int index, short value); in putShort() method in ByteBuffer
|
/libcore/ojluni/annotations/sdk/nullability/java/nio/ |
D | ByteBuffer.annotated.java | 115 @libcore.util.NonNull public abstract java.nio.ByteBuffer putShort(short value); in putShort() method in ByteBuffer 119 @libcore.util.NonNull public abstract java.nio.ByteBuffer putShort(int index, short value); in putShort() method in ByteBuffer
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 331 public native void putShort(Object obj, long offset, short newValue); in putShort() method in Unsafe 398 public native void putShort(long address, short x); in putShort() method in Unsafe
|
/libcore/ojluni/src/main/java/java/io/ |
D | Bits.java | 93 static void putShort(byte[] b, int off, short val) { in putShort() method in Bits
|
D | ObjectOutputStream.java | 1691 Bits.putShort(primVals, getFieldOffset(name, Short.TYPE), val); in put() 2031 Bits.putShort(buf, pos, (short) v); in writeShort() 2157 Bits.putShort(buf, pos, v[off++]); in writeShorts()
|
D | ObjectStreamClass.java | 2080 Bits.putShort(buf, off, unsafe.getShort(obj, key)); in getPrimFieldValues() 2134 unsafe.putShort(obj, key, Bits.getShort(buf, off)); in setPrimFieldValues()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Unsafe.java | 148 public native void putShort(java.lang.Object obj, long offset, short newValue); in putShort() method in Unsafe 200 public native void putShort(long address, short x); in putShort() method in Unsafe
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 546 b.putShort((short) 0); in testRelativePositions() 1028 b.putShort((short) 0); in testPutMethods() 1029 b.putShort(0, (short) 0); in testPutMethods() 1109 b.putShort((short) 0); in testFailForPutMethods() 1114 b.putShort(0, (short) 0); in testFailForPutMethods()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteBufferTest.java | 1972 buf.putShort((short) 1); in testPutShort() 1989 buf.putShort(value); in testPutShort() 1997 buf.putShort(value); in testPutShort() 2009 buf.putShort(0, (short) 1); in testPutShortint() 2026 buf.putShort(i, value); in testPutShortint() 2033 buf.putShort(-1, value); in testPutShortint() 2039 buf.putShort(buf.limit() - nbytes + 1, value); in testPutShortint()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 386 src.putShort((short) 0); in timeByteBuffer_putShort()
|