/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
TestConversion.java | 11 import java.nio.CharBuffer; 43 CharBuffer toUnicodeResult = null; 355 out = encoder.encode(CharBuffer.wrap(cc.unicode.toCharArray())); 392 CharBuffer source = CharBuffer.wrap(cc.unicode.toCharArray()); 671 CharBuffer out = null; 680 out = CharBuffer.allocate(cc.bytes.limit()); 715 CharBuffer target; 721 target = CharBuffer.allocate(cc.unicode.length() + 4); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetTest.java | 20 import java.nio.CharBuffer; 287 CharBuffer out = cs.decode(in); 653 ByteBuffer bb = c1.encode(CharBuffer.wrap("abcdefg")); 655 bb = c1.encode(CharBuffer.wrap("")); 661 ByteBuffer bb = c1.encode(CharBuffer.wrap("abcd\u5D14efg")); 669 c.encode((CharBuffer) null); 678 c.encode(CharBuffer.wrap("hehe")); 719 CharBuffer cb = c1.decode(ByteBuffer.wrap("abcdefg".getBytes("iso8859-1"))); 727 CharBuffer cb = c1.decode(ByteBuffer.wrap("abcd\u5D14efg".getBytes("iso8859-1"))); 796 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) [all...] |
UTF16CharsetDecoderTest.java | 21 import java.nio.CharBuffer;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
ByteBufferTest.java | 24 import java.nio.CharBuffer; 815 CharBuffer charBuffer; 822 charBuffer = buf.asCharBuffer(); 823 assertSame(ByteOrder.BIG_ENDIAN, charBuffer.order()); 824 while (charBuffer.remaining() > 0) { 826 value = charBuffer.get(); 833 charBuffer = buf.asCharBuffer(); 834 assertSame(ByteOrder.LITTLE_ENDIAN, charBuffer.order()); 835 while (charBuffer.remaining() > 0) [all...] |
/art/test/070-nio-buffer/src/ |
Main.java | 20 import java.nio.CharBuffer; 124 CharBuffer charBuf = directBuf.asCharBuffer();
|
/external/guava/guava-tests/test/com/google/common/io/ |
LineBufferTest.java | 27 import java.nio.CharBuffer; 132 public int read(CharBuffer cbuf) throws IOException {
|
SourceSinkFactories.java | 38 import java.nio.CharBuffer; 395 CharBuffer buffer = CharBuffer.allocate(100);
|
/frameworks/support/v4/java/android/support/v4/text/ |
TextDirectionHeuristicsCompat.java | 22 import java.nio.CharBuffer; 125 return isRtl(CharBuffer.wrap(array), start, count);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
PropertyResourceBundleTest.java | 27 import java.nio.CharBuffer; 75 CharBuffer cbuffer = charset.decode(ByteBuffer.wrap(content
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UnicodeCompressor.java | 341 * @param charBuffer The character buffer to compress. 345 * the number of characters read from charBuffer. 353 public int compress(char [] charBuffer, 397 curUC = charBuffer[ucPos++]; 401 nextUC = charBuffer[ucPos]; 484 forwardUC = charBuffer[ucPos + 1]; 550 forwardUC = charBuffer[ucPos + 1]; 620 curUC = charBuffer[ucPos++]; 624 nextUC = charBuffer[ucPos]; 746 forwardUC = charBuffer[ucPos + 1] [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetBOCU1.java | 10 import java.nio.CharBuffer; 387 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush){ 429 private int fastSingle(CharBuffer source, ByteBuffer target, IntBuffer offsets){ 466 private int getTrail(CharBuffer source, ByteBuffer target, IntBuffer offsets){ 485 private int regularLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets){ 791 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, [all...] |
UConverterDataReader.java | 12 import java.nio.CharBuffer; 506 // Consider leaving some large arrays as CharBuffer/IntBuffer rather than 511 CharBuffer charBuffer = byteBuffer.asCharBuffer(); 515 charBuffer.get(mbcsTable.unicodeCodeUnits); 516 // Skip as many bytes as we have read from the CharBuffer. 533 charBuffer.get(mbcsTable.fromUnicodeTable);
|
CharsetSCSU.java | 10 import java.nio.CharBuffer; 234 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, 288 private int fastSingle(ByteBuffer source, CharBuffer target, IntBuffer offsets, int modeType){ 354 private int singleByteMode(ByteBuffer source, CharBuffer target, IntBuffer offsets, int modeType){ 580 private void endLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets){ 641 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush) { 763 private int loop(CharBuffer source, ByteBuffer target, IntBuffer offsets){ [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
UnicodeCompressor.java | 343 * @param charBuffer The character buffer to compress. 347 * the number of characters read from charBuffer. 356 public int compress(char [] charBuffer, 400 curUC = charBuffer[ucPos++]; 404 nextUC = charBuffer[ucPos]; 487 forwardUC = charBuffer[ucPos + 1]; 553 forwardUC = charBuffer[ucPos + 1]; 623 curUC = charBuffer[ucPos++]; 627 nextUC = charBuffer[ucPos]; 749 forwardUC = charBuffer[ucPos + 1] [all...] |
/external/tinyxml2/ |
tinyxml2.cpp | [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
StringTest.java | 20 import java.nio.CharBuffer; 37 // The evil decoder keeps hold of the CharBuffer it wrote to. 43 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 59 // The evil encoder tries to write to the CharBuffer it was given to 65 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 84 // Check that our encoder can't write to the input CharBuffer 118 // Check that even if the decoder messes with the output CharBuffer
|
/cts/tools/dasm/src/dasm/ |
Scanner.java | 40 class CharBuffer { 83 protected CharBuffer charBuf = new CharBuffer();
|
/libcore/libart/src/main/java/java/lang/ |
StringFactory.java | 23 import java.nio.CharBuffer; 189 CharBuffer cb = charset.decode(ByteBuffer.wrap(data, offset, byteCount)); 193 // the CharsetDecoder doesn't hang on to the CharBuffer and mutate it later,
|
/frameworks/base/core/java/android/text/format/ |
TimeFormatter.java | 25 import java.nio.CharBuffer; 132 CharBuffer formatBuffer = CharBuffer.wrap(pattern); 146 private boolean handleToken(CharBuffer formatBuffer, ZoneInfo.WallTime wallTime,
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharset_SingleByte_ISO_8859_3.java | 49 // CharBuffer outputCB;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
CharSequenceReader.java | 24 * StringBuilder or CharBuffer.
|
/external/aac/libSYS/src/ |
conv_string.cpp | 110 /* calculate corresponding hex string from charBuffer */ 156 /* fill charBuffer with zeros */
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CharsTrieBuilder.java | 14 import java.nio.CharBuffer; 76 return CharBuffer.wrap(chars, chars.length-charsLength, charsLength);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CharsTrieBuilder.java | 13 import java.nio.CharBuffer; 79 return CharBuffer.wrap(chars, chars.length-charsLength, charsLength);
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
TestView.java | 36 import java.nio.CharBuffer; 103 private CharBuffer mIndexBuffer;
|