Home
last modified time | relevance | path

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

12

/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/annotations/mmodule/java/nio/
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
DDirectByteBuffer.annotated.java114 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/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java230 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
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/luni/src/main/java/android/system/
DStructCmsghdr.java42 buf.putShort(value); in StructCmsghdr()
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java531 private ByteBuffer putShort(long a, short x) { in putShort() method in DirectByteBuffer
537 public final ByteBuffer putShort(short x) { in putShort() method in DirectByteBuffer
544 putShort(ix(nextPutIndex(Short.BYTES)), x); in putShort()
549 public final ByteBuffer putShort(int i, short x) { in putShort() method in DirectByteBuffer
556 putShort(ix(checkIndex(i, Short.BYTES)), x); in putShort()
565 putShort(ix(i), x); in putShortUnchecked()
DByteBuffer.java2567 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
DHeapByteBuffer.java598 public ByteBuffer putShort(short x) { in putShort() method in HeapByteBuffer
612 public ByteBuffer putShort(int i, short x) { in putShort() method in HeapByteBuffer
/libcore/ojluni/annotations/flagged_api/java/nio/
DByteBuffer.annotated.java141 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/
DUnsafe.java406 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/
DBits.java93 static void putShort(byte[] b, int off, short val) { in putShort() method in Bits
DObjectOutputStream.java1707 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/src/main/java/java/lang/invoke/
DDirectMethodHandle.java176 static void putShort(Object base, short value, MethodHandleImpl mh) { in putShort() method in DirectMethodHandle.Holder
179 UNSAFE.putShort(base, offset, value); in putShort()
392 static void putShort(short value, MethodHandleImpl mh) { in putShort() method in DirectMethodHandle.Holder
395 UNSAFE.putShort(base, offset, value); in putShort()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java149 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/
DByteBuffer.annotated.java131 @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/
DUnsafe.annotated.java139 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/
DBasicByte.java319 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()
DBasic-X.java.template319 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));
DByteBufferViews.java252 bb.putShort(o + i * 2, fromFilled); in testShortPut()
260 bb.putShort(fromFilled); in testShortPut()
/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/luni/src/test/java/libcore/java/nio/
DBufferTest.java554 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/
DUnsafe.java233 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/
DByteBufferBenchmark.java386 src.putShort((short) 0); in timeByteBuffer_putShort()

12