Searched refs:putShort (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/main/java/java/nio/
H A DByteBufferAsShortBuffer.java144 byteBuffer.putShort(position++ * SizeOf.SHORT, c);
151 byteBuffer.putShort(index * SizeOf.SHORT, c);
H A DByteBuffer.java981 public abstract ByteBuffer putShort(short value); method in class:ByteBuffer
1000 public abstract ByteBuffer putShort(int index, short value); method in class:ByteBuffer
H A DByteArrayBuffer.java390 @Override public ByteBuffer putShort(int index, short value) { method in class:ByteArrayBuffer
399 @Override public ByteBuffer putShort(short value) { method in class:ByteArrayBuffer
H A DDirectByteBuffer.java459 @Override public ByteBuffer putShort(short value) { method in class:DirectByteBuffer
472 @Override public ByteBuffer putShort(int index, short value) { method in class:DirectByteBuffer
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
H A DByteBufferTest.java1897 buf.putShort((short) 1);
1914 buf.putShort(value);
1922 buf.putShort(value);
1934 buf.putShort(0, (short) 1);
1951 buf.putShort(i, value);
1958 buf.putShort(-1, value);
1964 buf.putShort(buf.limit() - nbytes + 1, value);
/libcore/benchmarks/src/benchmarks/regression/
H A DByteBufferBenchmark.java382 src.putShort((short) 0);
/libcore/dex/src/main/java/com/android/dex/
H A DDex.java818 data.putShort(i);
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java578 b.putShort((short) 0);

Completed in 651 milliseconds