Searched defs:putShort (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
H A DBits.java93 static void putShort(byte[] b, int off, short val) { method in class:Bits
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DNativeObject.java216 final void putShort(int offset, short value) { method in class:NativeObject
217 unsafe.putShort(offset + address, value);
/libcore/ojluni/src/main/java/java/nio/
H A DHeapByteBuffer.java256 public ByteBuffer putShort(short x) { method in class:HeapByteBuffer
260 Bits.putShort(this, ix(nextPutIndex(2)), x, bigEndian);
264 public ByteBuffer putShort(int i, short x) { method in class:HeapByteBuffer
268 Bits.putShort(this, ix(checkIndex(i, 2)), x, bigEndian);
273 Bits.putShort(this, ix(i), x, bigEndian);
H A DByteBuffer.java181 * bb.putShort(3);
182 * bb.putShort(45);</pre></blockquote>
187 * bb.putInt(0xCAFEBABE).putShort(3).putShort(45);</pre></blockquote>
1057 public abstract ByteBuffer putShort(short value); method in class:ByteBuffer
1096 public abstract ByteBuffer putShort(int index, short value); method in class:ByteBuffer
H A DDirectByteBuffer.java426 private ByteBuffer putShort(long a, short x) { method in class:DirectByteBuffer
431 public ByteBuffer putShort(short x) { method in class:DirectByteBuffer
438 putShort(ix(nextPutIndex(SizeOf.SHORT)), x);
442 public ByteBuffer putShort(int i, short x) { method in class:DirectByteBuffer
449 putShort(ix(checkIndex(i, SizeOf.SHORT)), x);
454 putShort(ix(i), x);
H A DBits.java202 static void putShort(ByteBuffer bb, int bi, short x, boolean bigEndian) { method in class:Bits
209 static void putShort(long a, short x, boolean bigEndian) { method in class:Bits
/libcore/ojluni/src/main/java/sun/misc/
H A DUnsafe.java300 public native void putShort(Object obj, long offset, short newValue); method in class:Unsafe
367 public native void putShort(long address, short x); method in class:Unsafe

Completed in 25 milliseconds