Home
last modified time | relevance | path

Searched refs:putShort (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DAbstractPollArrayWrapper.java73 pollArray.putShort(offset, (short)event); in putEventOps()
78 pollArray.putShort(offset, (short)revent); in putReventOps()
DNativeObject.java216 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/
DHeapByteBuffer.java277 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()
DDirectByteBuffer.java488 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()
DByteBuffer.java1222 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
DBits.java191 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/
DDirectByteBuffer.annotated.java85 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
DByteBuffer.annotated.java104 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/
DDirectByteBuffer.java223 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
DByteBuffer.java169 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/
DByteBuffer.annotated.java115 @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/
DUnsafe.java331 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/
DBits.java93 static void putShort(byte[] b, int off, short val) { in putShort() method in Bits
DObjectOutputStream.java1691 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()
DObjectStreamClass.java2080 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/
DUnsafe.java148 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/
DBufferTest.java546 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/
DByteBufferTest.java1972 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/
DByteBufferBenchmark.java386 src.putShort((short) 0); in timeByteBuffer_putShort()