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

1 23 4 5 6 7 8 91011>>

  /external/guava/guava/src/com/google/common/io/
LineReader.java 25 import java.nio.CharBuffer;
42 private final CharBuffer cbuf = CharBuffer.wrap(buf);
74 // The default implementation of Reader#read(CharBuffer) allocates a
  /external/hamcrest/library/src/org/hamcrest/text/
IsEqualIgnoringCase.java 16 // String, StringBuffer, StringBuilder, CharBuffer, etc (joe).
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
InputFile.java 15 import java.nio.CharBuffer;
146 CharBuffer cb = CharBuffer.wrap(chars);
162 CharBuffer cb;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
AbstractCharsetTestCase.java 21 import java.nio.CharBuffer;
125 * Test the method encode(CharBuffer) with null.
129 this.testingCharset.encode((CharBuffer) null);
160 CharBuffer chb = this.testingCharset.decode(ByteBuffer.wrap(input));
  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharset_SingleByteAbstractTest.java 19 import java.nio.CharBuffer;
50 CharBuffer outputCB;
66 CharBuffer outputCB;
91 // CharBuffer outputCB;
105 CharBuffer inputCB = CharBuffer.wrap(allChars);
  /packages/apps/Email/src/com/beetstra/jutf7/
UTF7StyleCharsetDecoder.java 28 import java.nio.CharBuffer;
62 * java.nio.CharBuffer)
64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
120 private CoderResult handleBase64(ByteBuffer in, CharBuffer out, byte lastRead) {
146 * @see java.nio.charset.CharsetDecoder#implFlush(java.nio.CharBuffer)
148 protected CoderResult implFlush(CharBuffer out) {
UTF7StyleCharsetEncoder.java 28 import java.nio.CharBuffer;
41 * {@link java.nio.charset.CharsetEncoder#encode(CharBuffer)}. Unfortunately,
122 * {@link java.nio.charset.CharsetEncoder#encode(CharBuffer)} to call flush
144 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) {
161 * Charset.encode(CharBuffer) or CharsetEncoder.encode(CharBuffer)
  /external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
TestCharset.java 12 import java.nio.CharBuffer;
51 CharBuffer us = CharBuffer.allocate(0xFF*2);
142 CharBuffer us = CharBuffer.allocate(0xFF*2);
238 CharBuffer us = CharBuffer.wrap(chars, 0, limit);
245 us = CharBuffer.wrap(chars, i, 1).slice();
273 us = CharBuffer.wrap(chars, i, 1).slice();
299 us = CharBuffer.wrap(chars, i, 1).slice()
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetASCII.java 12 import java.nio.CharBuffer;
37 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets,
108 protected CoderResult decodeLoopCoreOptimized(ByteBuffer source, CharBuffer target,
132 protected CoderResult decodeLoopCoreUnoptimized(ByteBuffer source, CharBuffer target) {
185 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets,
266 protected CoderResult encodeLoopCoreOptimized(CharBuffer source, ByteBuffer target,
291 protected CoderResult encodeLoopCoreUnoptimized(CharBuffer source, ByteBuffer target, boolean flush) {
319 protected final CoderResult encodeMalformedOrUnmappable(CharBuffer source, int ch, boolean flush) {
329 private final CoderResult encodeTrail(CharBuffer source, char lead, boolean flush) {
CharsetCallback.java 11 import java.nio.CharBuffer;
140 ByteBuffer source, CharBuffer target, IntBuffer offsets,
156 CharBuffer source, ByteBuffer target, IntBuffer offsets,
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...]
  /frameworks/base/docs/html/sdk/api_diff/24/changes/
java.nio.CharBuffer.html 10 java.nio.CharBuffer
74 Class java.nio.<A HREF="../../../../reference/java/nio/CharBuffer.html" target="_top"><font size="+2"><code>CharBuffer</code></font></A>
86 <A NAME="java.nio.CharBuffer.chars_added()"></A>
87 <nobr><code>IntStream</code>&nbsp;<A HREF="../../../../reference/java/nio/CharBuffer.html#chars()" target="_top"><code>chars</code></A>()</nobr>
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
ReadOnlyCharBufferTest.java 18 import java.nio.CharBuffer;
53 CharBuffer duplicate = buf.duplicate();
128 CharBuffer other = CharBuffer.allocate(1);
136 buf.put((CharBuffer) null);
  /libcore/luni/src/main/java/java/nio/charset/
CharsetDecoderICU.java 18 import java.nio.CharBuffer;
103 @Override protected final CoderResult implFlush(CharBuffer out) {
130 @Override protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
160 private int getArray(CharBuffer out) {
196 private void setPosition(CharBuffer out) {
  /libcore/ojluni/src/main/java/java/util/zip/
ZipCoder.java 29 import java.nio.CharBuffer;
62 CharBuffer cb = CharBuffer.wrap(ca);
92 CharBuffer cb = CharBuffer.wrap(ca);
  /libcore/ojluni/src/main/java/java/nio/
CharBuffer.java 107 public abstract class CharBuffer
109 implements Comparable<CharBuffer>, Appendable, CharSequence, Readable {
122 CharBuffer(int mark, int pos, int lim, int cap, // package-private
131 CharBuffer(int mark, int pos, int lim, int cap) { // package-private
149 public static CharBuffer allocate(int capacity) {
179 public static CharBuffer wrap(char[] array,
202 public static CharBuffer wrap(char[] array) {
221 public int read(CharBuffer target) throws IOException {
263 public static CharBuffer wrap(CharSequence csq, int start, int end) {
283 public static CharBuffer wrap(CharSequence csq)
    [all...]
  /external/icu/icu4c/source/io/
ustdio.c 319 char charBuffer[UFILE_CHARBUFFER_SIZE];
320 char *myTarget = charBuffer;
357 charBuffer + UFILE_CHARBUFFER_SIZE,
373 numConverted = (int32_t)(myTarget - charBuffer);
377 fwrite(charBuffer,
384 myTarget = charBuffer;
414 char charBuffer[UFILE_CHARBUFFER_SIZE];
445 char *retStr = fgets(charBuffer, ufmt_min(maxCPBytes, UFILE_CHARBUFFER_SIZE), f->fFile);
446 bytesRead = (int32_t)(retStr ? uprv_strlen(charBuffer) : 0);
450 bytesRead = (int32_t)fread(charBuffer,
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldReaderTest.java 21 import java.nio.CharBuffer;
36 CharBuffer buf = CharBuffer.allocate(4);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
UnicodeDecompressor.java 38 * char [] charBuffer = new char [ BUFSIZE ];
48 * charBuffer, 0, BUFSIZE);
51 * out.write(charBuffer, 0, charsWritten);
154 * @param charBuffer A buffer to receive the decompressed data.
160 * @return The number of Unicode characters written to charBuffer.
166 char [] charBuffer,
180 // charBuffer must be at least 2 chars in size
181 if(charBuffer.length < 2 || (charBufferLimit - charBufferStart) < 2)
182 throw new IllegalArgumentException("charBuffer.length < 2");
207 charBuffer, charBufferStart,
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UnicodeDecompressor.java 37 * char [] charBuffer = new char [ BUFSIZE ];
47 * charBuffer, 0, BUFSIZE);
50 * out.write(charBuffer, 0, charsWritten);
156 * @param charBuffer A buffer to receive the decompressed data.
162 * @return The number of Unicode characters written to charBuffer.
169 char [] charBuffer,
183 // charBuffer must be at least 2 chars in size
184 if(charBuffer.length < 2 || (charBufferLimit - charBufferStart) < 2)
185 throw new IllegalArgumentException("charBuffer.length < 2");
210 charBuffer, charBufferStart,
    [all...]
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/util/
UriEncoder.java 21 import java.nio.CharBuffer;
51 CharBuffer chars = UTF8Decoder.decode(buff);
  /packages/apps/TV/usbtuner/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UnicodeDecompressor.java 37 * char [] charBuffer = new char [ BUFSIZE ];
47 * charBuffer, 0, BUFSIZE);
50 * out.write(charBuffer, 0, charsWritten);
156 * @param charBuffer A buffer to receive the decompressed data.
162 * @return The number of Unicode characters written to charBuffer.
169 char [] charBuffer,
183 // charBuffer must be at least 2 chars in size
184 if(charBuffer.length < 2 || (charBufferLimit - charBufferStart) < 2)
185 throw new IllegalArgumentException("charBuffer.length < 2");
210 charBuffer, charBufferStart,
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
codecs.py 418 self.charbuffer = ""
454 self.charbuffer = "".join(self.linebuffer)
462 if self.charbuffer:
464 elif len(self.charbuffer) >= size:
467 if len(self.charbuffer) >= chars:
489 self.charbuffer += newchars
495 result = self.charbuffer
496 self.charbuffer = ""
499 result = self.charbuffer[:chars]
500 self.charbuffer = self.charbuffer[chars:
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
codecs.py 418 self.charbuffer = ""
454 self.charbuffer = "".join(self.linebuffer)
462 if self.charbuffer:
464 elif len(self.charbuffer) >= size:
467 if len(self.charbuffer) >= chars:
489 self.charbuffer += newchars
495 result = self.charbuffer
496 self.charbuffer = ""
499 result = self.charbuffer[:chars]
500 self.charbuffer = self.charbuffer[chars:
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
codecs.py 418 self.charbuffer = ""
454 self.charbuffer = "".join(self.linebuffer)
462 if self.charbuffer:
464 elif len(self.charbuffer) >= size:
467 if len(self.charbuffer) >= chars:
489 self.charbuffer += newchars
495 result = self.charbuffer
496 self.charbuffer = ""
499 result = self.charbuffer[:chars]
500 self.charbuffer = self.charbuffer[chars:
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
codecs.py 418 self.charbuffer = ""
454 self.charbuffer = "".join(self.linebuffer)
462 if self.charbuffer:
464 elif len(self.charbuffer) >= size:
467 if len(self.charbuffer) >= chars:
489 self.charbuffer += newchars
495 result = self.charbuffer
496 self.charbuffer = ""
499 result = self.charbuffer[:chars]
500 self.charbuffer = self.charbuffer[chars:
    [all...]

Completed in 873 milliseconds

1 23 4 5 6 7 8 91011>>