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

1 23 4 5 6 7 8 91011>>

  /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...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
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...]
CharsetUTF32.java 10 import java.nio.CharBuffer;
76 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) {
177 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush) {
213 private final CoderResult encodeChar(CharBuffer source, ByteBuffer target, IntBuffer offsets, char ch) {
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) {
279 abstract CoderResult encodeLoop(CharBuffer source, ByteBuffer target,
291 final CoderResult encode(CharBuffer source, ByteBuffer target,
382 final CoderResult fromUnicodeWithCallback(CharBuffer source,
390 CharBuffer replayArray = CharBuffer.allocate(EXT_MAX_UCHARS)
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldReaderTest.java 21 import java.nio.CharBuffer;
36 CharBuffer buf = CharBuffer.allocate(4);
  /packages/apps/Email/src/com/beetstra/jutf7/
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/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...]
  /external/hamcrest/library/src/org/hamcrest/text/
IsEqualIgnoringWhiteSpace.java 16 // String, StringBuffer, StringBuilder, CharBuffer, etc (joe).
  /external/guava/guava/src/com/google/common/io/
CharStreams.java 29 import java.nio.CharBuffer;
66 CharBuffer buf = CharBuffer.allocate(BUF_SIZE);
273 return read(CharBuffer.wrap(cbuf, off, len));
277 public int read(CharBuffer target) throws IOException {
  /libcore/ojluni/src/main/java/sun/nio/cs/
StreamEncoder.java 172 private CharBuffer lcb = null;
227 private void flushLeftoverChar(CharBuffer cb, boolean endOfInput)
233 lcb = CharBuffer.allocate(2);
265 CharBuffer cb = CharBuffer.wrap(cbuf, off, len);
  /libcore/ojluni/src/main/java/java/lang/
StringCoding.java 32 import java.nio.CharBuffer;
170 CharBuffer cb = CharBuffer.wrap(ca);
245 CharBuffer cb = CharBuffer.wrap(ca);
320 CharBuffer cb = CharBuffer.wrap(ca, off, len);
377 CharBuffer cb = CharBuffer.wrap(ca, off, len);
  /frameworks/base/core/java/com/android/internal/util/
FastXmlSerializer.java 27 import java.nio.CharBuffer;
242 CharBuffer charBuffer = CharBuffer.wrap(mText, 0, mPos);
243 CoderResult result = mCharset.encode(charBuffer, mBytes, true);
249 result = mCharset.encode(charBuffer, mBytes, true);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
Grid.java 21 import java.nio.CharBuffer;
135 private CharBuffer mIndexBuffer;

Completed in 1101 milliseconds

1 23 4 5 6 7 8 91011>>