/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | NativeObject.java | 243 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/ |
D | HeapByteBuffer.java | 216 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()
|
D | DirectByteBuffer.java | 386 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()
|
D | ByteBuffer.java | 1113 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
|
D | Bits.java | 119 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/ |
D | DirectByteBuffer.annotated.java | 75 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
|
D | ByteBuffer.annotated.java | 94 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/ |
D | DirectByteBuffer.java | 179 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
|
D | ByteBuffer.java | 151 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/ |
D | Unsafe.java | 327 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/ |
D | ByteBuffer.annotated.java | 105 @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/ |
D | Bits.java | 88 static void putChar(byte[] b, int off, char val) { in putChar() method in Bits
|
D | ObjectOutputStream.java | 1687 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()
|
D | ObjectStreamClass.java | 2076 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/ |
D | BufferTest.java | 526 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/ |
D | Unsafe.java | 143 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/ |
D | ChunkHandler.java | 119 buf.putChar(str.charAt(i)); in putString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteBufferTest.java | 1258 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/ |
D | ChannelsTest.java | 187 writebuf.putChar((char) (val + 64)); in testNewChannelOutputStream_inputNull() 229 writebuf.putChar((char) (val + 64)); in testNewChannelOutputStream()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 281 src.putChar(' '); in timeByteBuffer_putChar()
|