HomeSort by relevance Sort by last modified time
    Searched refs:charBuffer (Results 1 - 12 of 12) sorted by null

  /external/icu4c/samples/layout/
UnicodeReader.cpp 31 UChar *charBuffer;
107 charBuffer = LE_NEW_ARRAY(UChar, charCount + 1);
108 if(charBuffer == 0) {
114 myText.extract(0, myText.length(), charBuffer);
115 charBuffer[charCount] = 0; // NULL terminate for easier reading in the debugger
117 return charBuffer;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ReaderTest.java 21 import java.nio.CharBuffer;
30 CharBuffer charBuffer = null;
32 mockReader.read(charBuffer);
40 //the charBuffer has the capacity of 0, then there the number of char read
41 // to the CharBuffer is 0. Furthermore, the MockReader is intact in its content.
45 CharBuffer charBuffer = CharBuffer.allocate(0);
46 int result = mockReader.read(charBuffer);
    [all...]
  /external/icu4c/io/
ustdio.c 316 char charBuffer[UFILE_CHARBUFFER_SIZE];
317 char *myTarget = charBuffer;
354 charBuffer + UFILE_CHARBUFFER_SIZE,
370 numConverted = (int32_t)(myTarget - charBuffer);
374 fwrite(charBuffer,
381 myTarget = charBuffer;
411 char charBuffer[UFILE_CHARBUFFER_SIZE];
442 char *retStr = fgets(charBuffer, ufmt_min(maxCPBytes, UFILE_CHARBUFFER_SIZE), f->fFile);
443 bytesRead = (int32_t)(retStr ? uprv_strlen(charBuffer) : 0);
447 bytesRead = (int32_t)fread(charBuffer,
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
FastXmlSerializer.java 27 import java.nio.CharBuffer;
221 CharBuffer charBuffer = CharBuffer.wrap(mText, 0, mPos);
222 CoderResult result = mCharset.encode(charBuffer, mBytes, true);
228 result = mCharset.encode(charBuffer, mBytes, true);
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
ByteBufferTest.java 24 import java.nio.CharBuffer;
770 CharBuffer charBuffer;
777 charBuffer = buf.asCharBuffer();
778 assertSame(ByteOrder.BIG_ENDIAN, charBuffer.order());
779 while (charBuffer.remaining() > 0) {
781 value = charBuffer.get();
788 charBuffer = buf.asCharBuffer();
789 assertSame(ByteOrder.LITTLE_ENDIAN, charBuffer.order());
790 while (charBuffer.remaining() > 0)
    [all...]
CharBufferTest.java 24 import java.nio.CharBuffer;
29 * Tests java.nio.CharBuffer
37 protected CharBuffer buf;
44 buf = CharBuffer.wrap(charscopy);
93 CharBuffer readonly = buf.asReadOnlyBuffer();
142 CharBuffer ret = buf.compact();
194 CharBuffer other = CharBuffer.allocate(buf.capacity());
221 CharBuffer duplicate = buf.duplicate();
279 CharBuffer readonly = buf.asReadOnlyBuffer()
    [all...]
  /external/webkit/Source/WebKit/wx/
WebFrame.cpp 162 const wxCharBuffer charBuffer(source.utf8_str());
163 const char* contents = charBuffer;
  /external/icu4c/test/iotest/
filetst.c 590 char charBuffer[2048];
620 returnedCharBuffer = fgets(charBuffer, sizeof(charBuffer)/sizeof(charBuffer[0]), stdFile);
627 if (returnedCharBuffer != charBuffer) {
628 log_err("Didn't get the charBuffer back\n");
631 u_uastrncpy(expectedBuffer, charBuffer, (int32_t)strlen(charBuffer)+1);
    [all...]
  /external/icu4c/test/cintltst/
ccapitst.c     [all...]
  /frameworks/base/opengl/java/android/opengl/
GLLogWrapper.java 24 import java.nio.CharBuffer;
944 } else if (input instanceof CharBuffer) {
945 CharBuffer input2 = (CharBuffer) input;
951 CharBuffer result2 = result.asCharBuffer();
1039 CharBuffer charBuffer;
1040 if (indices instanceof CharBuffer) {
1041 charBuffer = (CharBuffer) indices
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ScannerTest.java 36 import java.nio.CharBuffer;
73 public int read(CharBuffer cb) throws IOException {
    [all...]
  /prebuilt/common/groovy/
groovy-all-1.7.0.jar 

Completed in 460 milliseconds