Searched refs:charBuffer (Results 1 - 25 of 33) sorted by relevance

12

/external/icu/icu4c/source/samples/layout/
H A DUnicodeReader.cpp31 UChar *charBuffer; local
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/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
H A DRelay.java55 private CharBuffer charBuffer; field in class:Relay
96 charBuffer = CharBuffer.allocate(BUFFER_SIZE);
109 charArray = charBuffer.array();
130 result = decoder.decode(byteBuffer, charBuffer, false);
139 offset = charBuffer.position();
147 EastAsianWidth.measure(charArray, 0, charBuffer.position(), wideAttribute,
150 buffer.putString(charArray, wideAttribute, 0, charBuffer.position());
151 charBuffer.clear();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/compression/
H A DDecompressionTest.java43 char [] charBuffer = new char [2*(segment1.length + segment2.length)];
48 charBuffer, 0, charBuffer.length);
55 logln(charBuffer, 0, count1);
56 s.append(charBuffer, 0, count1);
60 charBuffer, count1,
61 charBuffer.length);
68 logln(charBuffer, count1, count2);
70 s.append(charBuffer, count1, count2);
73 logln(charBuffer,
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
H A DDecompressionTest.java39 char [] charBuffer = new char [2*(segment1.length + segment2.length)];
44 charBuffer, 0, charBuffer.length);
51 logln(charBuffer, 0, count1);
52 s.append(charBuffer, 0, count1);
56 charBuffer, count1,
57 charBuffer.length);
64 logln(charBuffer, count1, count2);
66 s.append(charBuffer, count1, count2);
69 logln(charBuffer,
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DUnicodeDecompressor.java38 * 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, charBufferStar
162 decompress(byte [] byteBuffer, int byteBufferStart, int byteBufferLimit, int [] bytesRead, char [] charBuffer, int charBufferStart, int charBufferLimit) argument
[all...]
H A DUnicodeCompressor.java341 * @param charBuffer The character buffer to compress.
345 * the number of characters read from charBuffer.
353 public int compress(char [] charBuffer, argument
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[ucPo
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUnicodeDecompressor.java37 * 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, charBufferStar
165 decompress(byte [] byteBuffer, int byteBufferStart, int byteBufferLimit, int [] bytesRead, char [] charBuffer, int charBufferStart, int charBufferLimit) argument
[all...]
H A DUnicodeCompressor.java343 * @param charBuffer The character buffer to compress.
347 * the number of characters read from charBuffer.
356 public int compress(char [] charBuffer, argument
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[ucPo
[all...]
/external/tinyxml2/
H A Dtinyxml2.cpp1426 charBuffer( 0 )
1435 delete [] charBuffer;
1457 delete [] charBuffer;
1458 charBuffer = 0;
1544 charBuffer = new char[size+1];
1545 size_t read = fread( charBuffer, 1, size, fp );
1551 charBuffer[size] = 0;
1553 const char* p = charBuffer;
1561 ParseDeep( charBuffer + (p-charBuffer),
[all...]
H A Dtinyxml2.h1194 char* charBuffer; member in class:tinyxml2::XMLDocument
/external/icu/icu4c/source/io/
H A Dustdio.c319 char charBuffer[UFILE_CHARBUFFER_SIZE]; local
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]; local
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/
H A DUConverterDataReader.java511 CharBuffer charBuffer = byteBuffer.asCharBuffer();
515 charBuffer.get(mbcsTable.unicodeCodeUnits);
533 charBuffer.get(mbcsTable.fromUnicodeTable);
/external/icu/icu4c/source/test/iotest/
H A Dfiletst.c596 char charBuffer[2048]; local
626 returnedCharBuffer = fgets(charBuffer, sizeof(charBuffer)/sizeof(charBuffer[0]), stdFile);
633 if (returnedCharBuffer != charBuffer) {
634 log_err("Didn't get the charBuffer back\n");
637 u_uastrncpy(expectedBuffer, charBuffer, (int32_t)strlen(charBuffer)+1);
/external/icu/icu4c/source/test/cintltst/
H A Dccapitst.c1687 char charBuffer[21]; /* Leave at an odd number for alignment testing */ local
1696 const char *charBufferLimit = charBuffer + sizeof(charBuffer)/sizeof(*charBuffer);
1844 pCharBuffer = charBuffer;
1872 pConstCharBuffer = charBuffer;
3597 char charBuffer[2] = {1, 1}; local
3599 char *charsPtr = charBuffer;
3638 if (charBuffer[0] != 1 || charBuffer[
[all...]
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestCharset.java2721 CharBuffer charBuffer = CharBuffer.allocate(0x90);
2728 charBuffer.put((char)j);
2734 charBuffer.limit(charBufferLimit = charBuffer.position());
2735 charBuffer.position(0);
2749 smBufEncode(encoder, "ASCII", charBuffer, byteBufferTest, true, false);
5710 CharBuffer charBuffer = CharBuffer.allocate(firstLine.length() + secondLine.length());
5711 charBuffer.put(firstLine);
5712 charBuffer.put(secondLine);
5713 charBuffer
[all...]
/external/owasp/sanitizer/lib/htmlparser-1.3/
H A Dhtmlparser-1.3-with-transitions.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM.java package nu. ...
H A Dhtmlparser-1.3.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM.java package nu. ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.core.resources_3.6.1.R36x_v20101007-1215.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/guice/extensions/struts2/lib/
H A Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/jasper/ org/apache/jasper/resources/ ...
H A Dstruts2-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/struts2/ org/apache/struts2/dispatcher/ ...
/external/robolectric/v1/lib/main/
H A Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org/h2/api/AggregateFunction ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.core.resources_3.10.0.v20150423-0755.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...

Completed in 395 milliseconds

12