Home
last modified time | relevance | path

Searched refs:putChar (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DNativeObject.java243 final void putChar(int offset, char value) { in putChar() method in NativeObject
244 unsafe.putChar(offset + address, value); in putChar()
/libcore/ojluni/src/main/java/java/nio/
DHeapByteBuffer.java216 public ByteBuffer putChar(char x) { in putChar() method in HeapByteBuffer
220 Bits.putChar(this, ix(nextPutIndex(2)), x, bigEndian); in putChar()
225 public ByteBuffer putChar(int i, char x) { in putChar() method in HeapByteBuffer
229 Bits.putChar(this, ix(checkIndex(i, 2)), x, bigEndian); in putChar()
235 Bits.putChar(this, ix(i), x, bigEndian); in putCharUnchecked()
DDirectByteBuffer.java386 private ByteBuffer putChar(long a, char x) { in putChar() method in DirectByteBuffer
392 public final ByteBuffer putChar(char x) { in putChar() method in DirectByteBuffer
399 putChar(ix(nextPutIndex(Character.BYTES)), x); in putChar()
404 public final ByteBuffer putChar(int i, char x) { in putChar() method in DirectByteBuffer
411 putChar(ix(checkIndex(i, Character.BYTES)), x); in putChar()
420 putChar(ix(i), x); in putCharUnchecked()
DByteBuffer.java1113 public abstract ByteBuffer putChar(char value); in putChar() method in ByteBuffer
1161 public abstract ByteBuffer putChar(int index, char value); in putChar() method in ByteBuffer
DBits.java119 static void putChar(ByteBuffer bb, int bi, char x, boolean bigEndian) { in putChar() method in Bits
126 static void putChar(long a, char x, boolean bigEndian) { in putChar() method in Bits
/libcore/ojluni/annotations/mmodule/java/nio/
DDirectByteBuffer.annotated.java75 public final java.nio.ByteBuffer putChar(char x) { throw new RuntimeException("Stub!"); } in putChar() method in DirectByteBuffer
77 public final java.nio.ByteBuffer putChar(int i, char x) { throw new RuntimeException("Stub!"); } in putChar() method in DirectByteBuffer
DByteBuffer.annotated.java94 public abstract java.nio.ByteBuffer putChar(char value); in putChar() method in ByteBuffer
98 public abstract java.nio.ByteBuffer putChar(int index, char value); in putChar() method in ByteBuffer
/libcore/ojluni/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java179 private java.nio.ByteBuffer putChar(long a, char x) { in putChar() method in DirectByteBuffer
183 public final java.nio.ByteBuffer putChar(char x) { in putChar() method in DirectByteBuffer
187 public final java.nio.ByteBuffer putChar(int i, char x) { in putChar() method in DirectByteBuffer
DByteBuffer.java151 public abstract java.nio.ByteBuffer putChar(char value); in putChar() method in ByteBuffer
159 public abstract java.nio.ByteBuffer putChar(int index, char value); in putChar() method in ByteBuffer
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java327 public native void putChar(Object obj, long offset, char newValue); in putChar() method in Unsafe
404 public native void putChar(long address, char x); in putChar() method in Unsafe
/libcore/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java105 @libcore.util.NonNull public abstract java.nio.ByteBuffer putChar(char value); in putChar() method in ByteBuffer
109 @libcore.util.NonNull public abstract java.nio.ByteBuffer putChar(int index, char value); in putChar() method in ByteBuffer
/libcore/ojluni/src/main/java/java/io/
DBits.java88 static void putChar(byte[] b, int off, char val) { in putChar() method in Bits
DObjectOutputStream.java1687 Bits.putChar(primVals, getFieldOffset(name, Character.TYPE), val); in put()
2022 Bits.putChar(buf, pos, (char) v); in writeChar()
2140 Bits.putChar(buf, pos, v[off++]); in writeChars()
DObjectStreamClass.java2076 Bits.putChar(buf, off, unsafe.getChar(obj, key)); in getPrimFieldValues()
2130 unsafe.putChar(obj, key, Bits.getChar(buf, off)); in setPrimFieldValues()
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java526 b.putChar('x'); in testRelativePositions()
726 b.putChar('H'); in testCharBufferSubSequence()
727 b.putChar('e'); in testCharBufferSubSequence()
728 b.putChar('l'); in testCharBufferSubSequence()
729 b.putChar('l'); in testCharBufferSubSequence()
730 b.putChar('o'); in testCharBufferSubSequence()
1014 b.putChar('a'); in testPutMethods()
1015 b.putChar(0, 'a'); in testPutMethods()
1059 b.putChar('a'); in testFailForPutMethods()
1064 b.putChar(0, 'a'); in testFailForPutMethods()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java143 public native void putChar(java.lang.Object obj, long offset, char newValue); in putChar() method in Unsafe
207 public native void putChar(long address, char x); in putChar() method in Unsafe
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunkHandler.java119 buf.putChar(str.charAt(i)); in putString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java1258 buf.putChar((char) 1); in testPutChar()
1275 buf.putChar(value); in testPutChar()
1283 buf.putChar(value); in testPutChar()
1295 buf.putChar(0, (char) 1); in testPutCharint()
1312 buf.putChar(i, value); in testPutCharint()
1319 buf.putChar(-1, value); in testPutCharint()
1325 buf.putChar(buf.limit() - nbytes + 1, value); in testPutCharint()
1334 ByteBuffer.allocateDirect(16).putChar(Integer.MAX_VALUE, 'h'); in testPutCharint()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DChannelsTest.java187 writebuf.putChar((char) (val + 64)); in testNewChannelOutputStream_inputNull()
229 writebuf.putChar((char) (val + 64)); in testNewChannelOutputStream()
/libcore/benchmarks/src/benchmarks/regression/
DByteBufferBenchmark.java281 src.putChar(' '); in timeByteBuffer_putChar()