HomeSort by relevance Sort by last modified time
    Searched full:charbuffer (Results 101 - 125 of 329) sorted by null

1 2 3 45 6 7 8 91011>>

  /libcore/ojluni/src/main/java/java/nio/charset/
CharsetDecoder.java 33 import java.nio.CharBuffer;
132 * @see CharBuffer
551 public final CoderResult decode(ByteBuffer in, CharBuffer out,
647 * #decode(ByteBuffer,CharBuffer,boolean) decode} method
651 public final CoderResult flush(CharBuffer out) {
679 protected CoderResult implFlush(CharBuffer out) {
743 CharBuffer out);
776 public final CharBuffer decode(ByteBuffer in)
780 CharBuffer out = CharBuffer.allocate(n)
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
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) {
234 protected CoderResult decodeLoop(ByteBuffer in,CharBuffer out){
262 abstract CoderResult decodeLoop(ByteBuffer in, CharBuffer out, IntBuffer offsets, boolean flush);
274 final CoderResult decode(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
388 final CoderResult toUnicodeWithCallback(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush){
666 CharBuffer target, IntBuffer offsets, int sourceIndex) {
709 ByteBuffer source, CharBuffer target,
CharsetHZ.java 10 import java.nio.CharBuffer;
64 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
239 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush) {
359 private CoderResult concatEscape(CharBuffer source, ByteBuffer target, IntBuffer offsets, byte[] strToAppend) {
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);
  /libcore/benchmarks/src/benchmarks/regression/
ByteBufferBulkBenchmark.java 25 import java.nio.CharBuffer;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
WrappedDoubleBufferTest.java 35 * @tests java.nio.CharBuffer#allocate(char[],int,int)
WrappedFloatBufferTest.java 35 * @tests java.nio.CharBuffer#allocate(char[],int,int)
WrappedIntBufferTest.java 35 * @tests java.nio.CharBuffer#allocate(char[],int,int)
WrappedLongBufferTest.java 35 * @tests java.nio.CharBuffer#allocate(char[],int,int)
WrappedShortBufferTest.java 35 * @tests java.nio.CharBuffer#allocate(char[],int,int)
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...]
  /libcore/luni/src/main/java/libcore/net/
UriCodec.java 22 import java.nio.CharBuffer;
173 CharBuffer cBuffer = CharBuffer.allocate(s.length());
204 CharBuffer cBuffer) {
  /libcore/luni/src/test/java/libcore/io/
Base64Test.java 21 import java.nio.CharBuffer;
222 CharBuffer charsBuffer = decoder.decode(bytesBuffer);
240 CharBuffer charsBuffer = CharBuffer.wrap(chars);
  /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...]
  /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 {
  /external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/parsing/
JavaMethodParser.java 65 "jdouble"), Buffer("jobject"), ByteBuffer("jobject"), CharBuffer("jobject"), ShortBuffer("jobject"), IntBuffer("jobject"), LongBuffer(
100 if (this == CharBuffer) return "unsigned short*";
  /frameworks/support/compat/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/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

Completed in 438 milliseconds

1 2 3 45 6 7 8 91011>>