/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
D | CharBuffer.java | 34 public abstract class CharBuffer extends Buffer implements Comparable<CharBuffer>, CharSequence, Ap… class 42 public static CharBuffer allocate (int capacity) { in allocate() 57 public static CharBuffer wrap (char[] array) { in wrap() 72 public static CharBuffer wrap (char[] array, int start, int len) { in wrap() 78 CharBuffer buf = BufferFactory.newCharBuffer(array); in wrap() 93 public static CharBuffer wrap (CharSequence chseq) { in wrap() 109 public static CharBuffer wrap (CharSequence chseq, int start, int end) { in wrap() 117 CharBuffer result = BufferFactory.newCharBuffer(chseq); in wrap() 127 CharBuffer (int capacity) { in CharBuffer() method in CharBuffer 166 public abstract CharBuffer asReadOnlyBuffer (); in asReadOnlyBuffer() [all …]
|
D | ReadOnlyCharArrayBuffer.java | 41 public CharBuffer asReadOnlyBuffer () { in asReadOnlyBuffer() 45 public CharBuffer compact () { in compact() 49 public CharBuffer duplicate () { in duplicate() 69 public CharBuffer put (char c) { in put() 73 public CharBuffer put (int index, char c) { in put() 77 public final CharBuffer put (char[] src, int off, int len) { in put() 81 public final CharBuffer put (CharBuffer src) { in put() 85 public CharBuffer put (String src, int start, int end) { in put() 92 public CharBuffer slice () { in slice()
|
D | CharSequenceAdapter.java | 27 final class CharSequenceAdapter extends CharBuffer { 44 public CharBuffer asReadOnlyBuffer () { in asReadOnlyBuffer() 48 public CharBuffer compact () { in compact() 52 public CharBuffer duplicate () { in duplicate() 70 public final CharBuffer get (char[] dest, int off, int len) { in get() 108 public CharBuffer put (char c) { in put() 112 public CharBuffer put (int index, char c) { in put() 116 public final CharBuffer put (char[] src, int off, int len) { in put() 128 public CharBuffer put (String src, int start, int end) { in put() 135 public CharBuffer slice () { in slice()
|
D | CharToByteBufferAdapter.java | 32 final class CharToByteBufferAdapter extends CharBuffer { // implements DirectBuffer { 34 static CharBuffer wrap (ByteBuffer byteBuffer) { in wrap() 95 public CharBuffer asReadOnlyBuffer () { in asReadOnlyBuffer() 104 public CharBuffer compact () { in compact() 119 public CharBuffer duplicate () { in duplicate() 174 public CharBuffer put (char c) { in put() 183 public CharBuffer put (int index, char c) { in put() 192 public CharBuffer slice () { in slice() 195 CharBuffer result = new CharToByteBufferAdapter(byteBuffer.slice()); in slice() 206 CharBuffer result = duplicate(); in subSequence()
|
D | ReadWriteCharArrayBuffer.java | 49 public CharBuffer asReadOnlyBuffer () { in asReadOnlyBuffer() 53 public CharBuffer compact () { in compact() 61 public CharBuffer duplicate () { in duplicate() 81 public CharBuffer put (char c) { in put() 89 public CharBuffer put (int index, char c) { in put() 97 public CharBuffer put (char[] src, int off, int len) { in put() 110 public CharBuffer slice () { in slice()
|
D | BufferFactory.java | 47 public static CharBuffer newCharBuffer (char array[]) { in newCharBuffer() 55 public static CharBuffer newCharBuffer (CharSequence chseq) { in newCharBuffer() 63 public static CharBuffer newCharBuffer (int capacity) { in newCharBuffer()
|
D | CharArrayBuffer.java | 27 abstract class CharArrayBuffer extends CharBuffer { 61 public final CharBuffer get (char[] dest, int off, int len) { in get() 87 CharBuffer result = duplicate(); in subSequence()
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestCharset.java | 12 import java.nio.CharBuffer; 51 CharBuffer us = CharBuffer.allocate(0xFF*2); in TestUTF16Converter() 142 CharBuffer us = CharBuffer.allocate(0xFF*2); in TestUTF32Converter() 238 CharBuffer us = CharBuffer.wrap(chars, 0, limit); in runTestASCIIBasedConverter() 245 us = CharBuffer.wrap(chars, i, 1).slice(); in runTestASCIIBasedConverter() 273 us = CharBuffer.wrap(chars, i, 1).slice(); in runTestASCIIBasedConverter() 299 us = CharBuffer.wrap(chars, i, 1).slice(); in runTestASCIIBasedConverter() 327 us = CharBuffer.wrap(chars, 'a', m).slice(); in runTestASCIIBasedConverter() 333 us = CharBuffer.wrap(chars, 'a', n).slice(); in runTestASCIIBasedConverter() 337 us = CharBuffer.wrap(chars, 'a', m).slice(); in runTestASCIIBasedConverter() [all …]
|
D | TestConversion.java | 11 import java.nio.CharBuffer; 43 CharBuffer toUnicodeResult = null; 355 out = encoder.encode(CharBuffer.wrap(cc.unicode.toCharArray())); in FromUnicodeCase() 392 CharBuffer source = CharBuffer.wrap(cc.unicode.toCharArray()); in stepFromUnicode() 671 CharBuffer out = null; in ToUnicodeCase() 680 out = CharBuffer.allocate(cc.bytes.limit()); in ToUnicodeCase() 715 CharBuffer target; in stepToUnicode() 721 target = CharBuffer.allocate(cc.unicode.length() + 4); in stepToUnicode() 1144 String printchars(CharBuffer buf, int pos) { in printchars() 1185 logln("Input: " + printchars(CharBuffer.wrap(cc.unicode), cc.unicode.length())); in checkResultsFromUnicode() [all …]
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | ConverterPerformanceTest.java | 15 import java.nio.CharBuffer; 41 CharBuffer source = CharBuffer.wrap(unicodeBuffer, 0, unicodeBuffer.length); in setup() 206 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length); 237 CharBuffer srcBuf = CharBuffer.wrap(unicodeBuffer,0,unicodeBuffer.length); 264 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length); 295 CharBuffer srcBuf = CharBuffer.wrap(unicodeBuffer,0,unicodeBuffer.length);
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetEncoderICU.java | 14 import java.nio.CharBuffer; 72 CharBuffer source, ByteBuffer target, IntBuffer offsets, 212 private static final CharBuffer EMPTY = CharBuffer.allocate(0); 253 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { in encodeLoop() 279 abstract CoderResult encodeLoop(CharBuffer source, ByteBuffer target, in encodeLoop() 291 final CoderResult encode(CharBuffer source, ByteBuffer target, in encode() 382 final CoderResult fromUnicodeWithCallback(CharBuffer source, in fromUnicodeWithCallback() 390 CharBuffer replayArray = CharBuffer.allocate(EXT_MAX_UCHARS); in fromUnicodeWithCallback() 392 CharBuffer realSource; in fromUnicodeWithCallback() 750 private final void setSourcePosition(CharBuffer source) { in setSourcePosition() [all …]
|
D | CharsetASCII.java | 12 import java.nio.CharBuffer; 37 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, in decodeLoop() 108 protected CoderResult decodeLoopCoreOptimized(ByteBuffer source, CharBuffer target, in decodeLoopCoreOptimized() 132 protected CoderResult decodeLoopCoreUnoptimized(ByteBuffer source, CharBuffer target) { in decodeLoopCoreUnoptimized() 185 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, in encodeLoop() 266 protected CoderResult encodeLoopCoreOptimized(CharBuffer source, ByteBuffer target, in encodeLoopCoreOptimized() 291 …protected CoderResult encodeLoopCoreUnoptimized(CharBuffer source, ByteBuffer target, boolean flus… in encodeLoopCoreUnoptimized() 319 …protected final CoderResult encodeMalformedOrUnmappable(CharBuffer source, int ch, boolean flush) { in encodeMalformedOrUnmappable() 329 private final CoderResult encodeTrail(CharBuffer source, char lead, boolean flush) { in encodeTrail()
|
D | CharsetCallback.java | 11 import java.nio.CharBuffer; 140 ByteBuffer source, CharBuffer target, IntBuffer offsets, in call() 156 CharBuffer source, ByteBuffer target, IntBuffer offsets, in call() 165 CharBuffer source, ByteBuffer target, IntBuffer offsets, 185 ByteBuffer source, CharBuffer target, IntBuffer offsets, 205 CharBuffer source, ByteBuffer target, IntBuffer offsets, 229 ByteBuffer source, CharBuffer target, IntBuffer offsets, 254 CharBuffer source, ByteBuffer target, IntBuffer offsets, 268 ByteBuffer source, CharBuffer target, IntBuffer offsets, 293 CharBuffer source, ByteBuffer target, IntBuffer offsets, [all …]
|
D | Charset88591.java | 11 import java.nio.CharBuffer; 28 protected CoderResult decodeLoopCoreOptimized(ByteBuffer source, CharBuffer target, in decodeLoopCoreOptimized() 41 protected CoderResult decodeLoopCoreUnoptimized(ByteBuffer source, CharBuffer target) { in decodeLoopCoreUnoptimized() 65 protected final CoderResult encodeLoopCoreOptimized(CharBuffer source, ByteBuffer target, in encodeLoopCoreOptimized() 96 …protected final CoderResult encodeLoopCoreUnoptimized(CharBuffer source, ByteBuffer target, boolea… in encodeLoopCoreUnoptimized()
|
D | CharsetDecoderICU.java | 13 import java.nio.CharBuffer; 59 CharBuffer target, IntBuffer offsets, char[] buffer, int length, CoderResult cr) { 195 protected final CoderResult implFlush(CharBuffer out) { in implFlush() 234 protected CoderResult decodeLoop(ByteBuffer in,CharBuffer out){ in decodeLoop() 262 … abstract CoderResult decodeLoop(ByteBuffer in, CharBuffer out, IntBuffer offsets, boolean flush); in decodeLoop() 274 … final CoderResult decode(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) { in decode() 388 …final CoderResult toUnicodeWithCallback(ByteBuffer source, CharBuffer target, IntBuffer offsets, b… in toUnicodeWithCallback() 666 … CharBuffer target, IntBuffer offsets, int sourceIndex) { in toUWriteUChars()
|
D | CharsetBOCU1.java | 10 import java.nio.CharBuffer; 387 …protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean … in encodeLoop() 429 …private int fastSingle(CharBuffer source, ByteBuffer target, IntBuffer offsets){ … in fastSingle() 466 private int getTrail(CharBuffer source, ByteBuffer target, IntBuffer offsets){ in getTrail() 485 private int regularLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets){ in regularLoop() 791 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, in decodeLoop() 841 private int fastSingle(ByteBuffer source, CharBuffer target, IntBuffer offsets){ in fastSingle() 880 private int getTrail(ByteBuffer source, CharBuffer target, IntBuffer offsets){ in getTrail() 916 private int afterGetTrail(ByteBuffer source, CharBuffer target, IntBuffer offsets){ in afterGetTrail() 1034 private void endLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets){ in endLoop()
|
D | CharsetUTF32.java | 10 import java.nio.CharBuffer; 76 …protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean … in decodeLoop() 177 …protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean … in encodeLoop() 213 …private final CoderResult encodeChar(CharBuffer source, ByteBuffer target, IntBuffer offsets, char… in encodeChar()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CharSequenceReaderTest.java | 22 import java.nio.CharBuffer; 148 reader.read(CharBuffer.allocate(10)); in testMethodsThrowWhenClosed() 212 CharBuffer buf2 = CharBuffer.allocate(expected.length()); in assertReadsCorrectly() 220 buf2 = CharBuffer.allocate(5); in assertReadsCorrectly() 250 assertEquals(-1, reader.read(CharBuffer.allocate(10))); in assertFullyRead()
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/ |
D | BufferUtils.java | 22 import java.nio.CharBuffer; 111 CharBuffer buffer = null; in copy() 114 else if (dst instanceof CharBuffer) buffer = (CharBuffer)dst; in copy() 216 CharBuffer buffer = null; in copy() 219 else if (dst instanceof CharBuffer) buffer = (CharBuffer)dst; in copy() 320 else if ((srcIsByte || src instanceof CharBuffer) && (dstIsByte || dst instanceof CharBuffer)) in copy() 321 … ((ByteBuffer)dst).asCharBuffer() : (CharBuffer)dst).put((srcIsByte ? ((ByteBuffer)src).asCharBuff… in copy() 509 public static CharBuffer newCharBuffer (int numChars) { in newCharBuffer() 515 return CharBuffer.wrap(new char[numChars]); in newCharBuffer()
|
/external/guava/guava/src/com/google/common/io/ |
D | CharStreams.java | 29 import java.nio.CharBuffer; 66 CharBuffer buf = CharBuffer.allocate(BUF_SIZE); in copy() 273 return read(CharBuffer.wrap(cbuf, off, len)); in asReader() 277 public int read(CharBuffer target) throws IOException { in asReader()
|
D | LineReader.java | 25 import java.nio.CharBuffer; 42 private final CharBuffer cbuf = CharBuffer.wrap(buf);
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
D | InputFile.java | 15 import java.nio.CharBuffer; 146 CharBuffer cb = CharBuffer.wrap(chars); in encode() 162 CharBuffer cb; in decode()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Normalizer.java | 9 import java.nio.CharBuffer; 747 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose() 831 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose() 921 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize() 1051 CharBuffer srcBuffer = CharBuffer.wrap(source, start, limit - start); in quickCheck() 1080 CharBuffer srcBuffer = CharBuffer.wrap(src, start, limit - start); in isNormalized() 1185 return internalCompare(CharBuffer.wrap(s1, s1Start, s1Limit-s1Start), in compare() 1186 CharBuffer.wrap(s2, s2Start, s2Limit-s2Start), in compare() 1273 return internalCompare(CharBuffer.wrap(s1), CharBuffer.wrap(s2), options); in compare() 1360 CharBuffer rightBuffer=CharBuffer.wrap(right, rightStart, rightLimit-rightStart); in concatenate() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Normalizer.java | 8 import java.nio.CharBuffer; 730 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose() 810 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose() 896 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize() 1020 CharBuffer srcBuffer = CharBuffer.wrap(source, start, limit - start); in quickCheck() 1048 CharBuffer srcBuffer = CharBuffer.wrap(src, start, limit - start); in isNormalized() 1152 return internalCompare(CharBuffer.wrap(s1, s1Start, s1Limit-s1Start), in compare() 1153 CharBuffer.wrap(s2, s2Start, s2Limit-s2Start), in compare() 1242 return internalCompare(CharBuffer.wrap(s1), CharBuffer.wrap(s2), options); in compare() 1330 CharBuffer rightBuffer=CharBuffer.wrap(right, rightStart, rightLimit-rightStart); in concatenate() [all …]
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/lang/ |
D | Readable.java | 20 import java.nio.CharBuffer; 23 int read (CharBuffer cb) throws IOException; in read()
|