/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/luni/src/main/java/android/system/ |
D | StructCmsghdr.java | 42 buf.putShort(value); in StructCmsghdr()
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
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
|
D | DirectByteBuffer.annotated.java | 114 public final java.nio.ByteBuffer putShort(short x) { throw new RuntimeException("Stub!"); } in putShort() method in DirectByteBuffer 117 public final java.nio.ByteBuffer putShort(int i, short x) { throw new RuntimeException("Stub!"); } in putShort() method in DirectByteBuffer
|
/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 577 public ByteBuffer putShort(short x) { in putShort() method in HeapByteBuffer 583 Bits.putShort(this, ix(nextPutIndex(2)), x, bigEndian); in putShort() 591 public ByteBuffer putShort(int i, short x) { in putShort() method in HeapByteBuffer 595 Bits.putShort(this, ix(checkIndex(i, 2)), x, bigEndian); in putShort() 605 Bits.putShort(this, ix(i), x, bigEndian); in putShortUnchecked()
|
D | DirectByteBuffer.java | 519 private ByteBuffer putShort(long a, short x) { in putShort() method in DirectByteBuffer 525 public final ByteBuffer putShort(short x) { in putShort() method in DirectByteBuffer 532 putShort(ix(nextPutIndex(Short.BYTES)), x); in putShort() 537 public final ByteBuffer putShort(int i, short x) { in putShort() method in DirectByteBuffer 544 putShort(ix(checkIndex(i, Short.BYTES)), x); in putShort() 553 putShort(ix(i), x); in putShortUnchecked()
|
D | ByteBuffer.java | 2567 public abstract ByteBuffer putShort(short value); in putShort() method in ByteBuffer 2615 public abstract ByteBuffer putShort(int index, short value); in putShort() method in ByteBuffer
|
D | Bits.java | 194 static void putShort(ByteBuffer bb, int bi, short x, boolean bigEndian) { in putShort() method in Bits 201 static void putShort(long a, short x, boolean bigEndian) { in putShort() method in Bits
|
D | Heap-X-Buffer.java.template | 577 public $Type$Buffer putShort(short x) { 583 Bits.putShort(this, ix(nextPutIndex(2)), x, bigEndian); 591 public $Type$Buffer putShort(int i, short x) { 595 Bits.putShort(this, ix(checkIndex(i, 2)), x, bigEndian); 605 Bits.putShort(this, ix(i), x, bigEndian);
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | DirectByteBuffer.java | 230 private java.nio.ByteBuffer putShort(long a, short x) { in putShort() method in DirectByteBuffer 234 public final java.nio.ByteBuffer putShort(short x) { in putShort() method in DirectByteBuffer 238 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/flagged_api/java/nio/ |
D | ByteBuffer.annotated.java | 141 public abstract java.nio.ByteBuffer putShort(short value); in putShort() method in ByteBuffer 145 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 | 406 public native void putShort(Object obj, long offset, short newValue); in putShort() method in Unsafe 559 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 | 1707 Bits.putShort(primVals, getFieldOffset(name, Short.TYPE), val); in put() 2047 Bits.putShort(buf, pos, (short) v); in writeShort() 2173 Bits.putShort(buf, pos, v[off++]); in writeShorts()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Unsafe.java | 149 public native void putShort(java.lang.Object obj, long offset, short newValue); in putShort() method in Unsafe 201 public native void putShort(long address, short x); in putShort() method in Unsafe
|
/libcore/ojluni/annotations/sdk/nullability/java/nio/ |
D | ByteBuffer.annotated.java | 131 @libcore.util.NonNull public abstract java.nio.ByteBuffer putShort(short value); in putShort() method in ByteBuffer 135 @libcore.util.NonNull public abstract java.nio.ByteBuffer putShort(int index, short value); in putShort() method in ByteBuffer
|
/libcore/ojluni/annotations/mmodule/sun/misc/ |
D | Unsafe.annotated.java | 139 public native void putShort(java.lang.Object obj, long offset, short newValue); in putShort() method in Unsafe 193 public native void putShort(long address, short x); in putShort() method in Unsafe
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | BasicByte.java | 319 b.putShort((short)1); in testHet() 320 b.putShort((short)Short.MAX_VALUE); in testHet() 1014 catchReadOnlyBuffer(b, () -> rb.putShort((short)1)); in test() 1015 catchReadOnlyBuffer(b, () -> rb.putShort(0, (short)1)); in test()
|
D | Basic-X.java.template | 319 b.putShort((short)1); 320 b.putShort((short)Short.MAX_VALUE); 1014 catchReadOnlyBuffer(b, () -> rb.putShort((short)1)); 1015 catchReadOnlyBuffer(b, () -> rb.putShort(0, (short)1));
|
/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/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 554 b.putShort((short) 0); in testRelativePositions() 1057 b.putShort((short) 0); in testPutMethods() 1058 b.putShort(0, (short) 0); in testPutMethods() 1138 b.putShort((short) 0); in testFailForPutMethods() 1143 b.putShort(0, (short) 0); in testFailForPutMethods()
|
/libcore/ojluni/src/main/java/jdk/internal/misc/ |
D | Unsafe.java | 233 public native void putShort(Object o, long offset, short x); in putShort() method in Unsafe 401 public native void putShort(long address, short x); in putShort() method in Unsafe
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 386 src.putShort((short) 0); in timeByteBuffer_putShort()
|