/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | AbstractPollArrayWrapper.java | 81 pollArray.putShort(offset, (short)event); 86 pollArray.putShort(offset, (short)revent);
|
H A D | NativeObject.java | 216 final void putShort(int offset, short value) { method in class:NativeObject 217 unsafe.putShort(offset + address, value);
|
H A D | DevPollArrayWrapper.java | 144 pollArray.putShort(offset, (short)revent); 290 array.putShort(structIndex + EVENT_OFFSET, event); 291 array.putShort(structIndex + REVENT_OFFSET, (short)0);
|
/libcore/ojluni/src/main/java/java/nio/ |
H A D | HeapByteBuffer.java | 256 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 D | DirectByteBuffer.java | 426 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 D | ByteBuffer.java | 181 * 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 D | Bits.java | 202 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/java/io/ |
H A D | Bits.java | 93 static void putShort(byte[] b, int off, short val) { method in class:Bits
|
H A D | ObjectOutputStream.java | 1671 Bits.putShort(primVals, getFieldOffset(name, Short.TYPE), val); 2002 Bits.putShort(buf, pos, (short) v); 2128 Bits.putShort(buf, pos, v[off++]);
|
H A D | ObjectStreamClass.java | 1953 Bits.putShort(buf, off, unsafe.getShort(obj, key)); 2007 unsafe.putShort(obj, key, Bits.getShort(buf, off));
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | Unsafe.java | 300 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
|
/libcore/luni/src/test/java/libcore/java/nio/ |
H A D | BufferTest.java | 600 b.putShort((short) 0); 1083 b.putShort((short) 0); 1084 b.putShort(0, (short) 0); 1164 b.putShort((short) 0); 1169 b.putShort(0, (short) 0);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | ByteBufferTest.java | 1942 buf.putShort((short) 1); 1959 buf.putShort(value); 1967 buf.putShort(value); 1979 buf.putShort(0, (short) 1); 1996 buf.putShort(i, value); 2003 buf.putShort(-1, value); 2009 buf.putShort(buf.limit() - nbytes + 1, value);
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | ByteBufferBenchmark.java | 386 src.putShort((short) 0);
|
/libcore/dex/src/main/java/com/android/dex/ |
H A D | Dex.java | 818 data.putShort(i);
|