Home
last modified time | relevance | path

Searched refs:charBuffer (Results 1 – 25 of 30) sorted by relevance

12

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
DDecompressionTest.java42 char [] charBuffer = new char [2*(segment1.length + segment2.length)]; in decompressTest() local
47 charBuffer, 0, charBuffer.length); in decompressTest()
54 logln(charBuffer, 0, count1); in decompressTest()
55 s.append(charBuffer, 0, count1); in decompressTest()
59 charBuffer, count1, in decompressTest()
60 charBuffer.length); in decompressTest()
67 logln(charBuffer, count1, count2); in decompressTest()
69 s.append(charBuffer, count1, count2); in decompressTest()
72 logln(charBuffer, 0, count1 + count2); in decompressTest()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/compression/
DDecompressionTest.java45 char [] charBuffer = new char [2*(segment1.length + segment2.length)]; in decompressTest() local
50 charBuffer, 0, charBuffer.length); in decompressTest()
57 logln(charBuffer, 0, count1); in decompressTest()
58 s.append(charBuffer, 0, count1); in decompressTest()
62 charBuffer, count1, in decompressTest()
63 charBuffer.length); in decompressTest()
70 logln(charBuffer, count1, count2); in decompressTest()
72 s.append(charBuffer, count1, count2); in decompressTest()
75 logln(charBuffer, 0, count1 + count2); in decompressTest()
/external/cldr/tools/java/org/unicode/cldr/icu/
DSimpleConverter.java40 public CharBuffer charBuffer = CharBuffer.wrap(cb); field in SimpleConverter
78 charBuffer.limit(len); in encode()
79 charBuffer.position(0); in encode()
82 CoderResult result = ce.encode(charBuffer, byteBuffer, true); in encode()
91 charBuffer.clear(); in decode()
93 CoderResult result = cd.decode(byteBuffer, charBuffer, true); in decode()
95 charBuffer.flip(); in decode()
96 return String.valueOf(cb, 0, charBuffer.limit()); in decode()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DRelay.java55 private CharBuffer charBuffer; field in Relay
96 charBuffer = CharBuffer.allocate(BUFFER_SIZE); in run()
109 charArray = charBuffer.array(); in run()
130 result = decoder.decode(byteBuffer, charBuffer, false); in run()
139 offset = charBuffer.position(); in run()
147 EastAsianWidth.measure(charArray, 0, charBuffer.position(), wideAttribute, in run()
150 buffer.putString(charArray, wideAttribute, 0, charBuffer.position()); in run()
151 charBuffer.clear(); in run()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeDecompressor.java171 char [] charBuffer, in decompress() argument
186 if(charBuffer.length < 2 || (charBufferLimit - charBufferStart) < 2) in decompress()
212 charBuffer, charBufferStart, in decompress()
263 charBuffer[ucPos++] = (char) in decompress()
287 charBuffer[ucPos++] = (char) in decompress()
289 charBuffer[ucPos++] = (char) in decompress()
320 charBuffer[ucPos++] = (char) aByte; in decompress()
338 charBuffer[ucPos++] = (char) in decompress()
366 charBuffer[ucPos++] = (char) in decompress()
502 charBuffer[ucPos++] = (char) in decompress()
[all …]
DUnicodeCompressor.java358 public int compress(char [] charBuffer, in compress() argument
402 curUC = charBuffer[ucPos++]; in compress()
406 nextUC = charBuffer[ucPos]; in compress()
489 forwardUC = charBuffer[ucPos + 1]; in compress()
555 forwardUC = charBuffer[ucPos + 1]; in compress()
625 curUC = charBuffer[ucPos++]; in compress()
629 nextUC = charBuffer[ucPos]; in compress()
751 forwardUC = charBuffer[ucPos + 1]; in compress()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeDecompressor.java168 char [] charBuffer, in decompress() argument
183 if(charBuffer.length < 2 || (charBufferLimit - charBufferStart) < 2) in decompress()
209 charBuffer, charBufferStart, in decompress()
260 charBuffer[ucPos++] = (char) in decompress()
284 charBuffer[ucPos++] = (char) in decompress()
286 charBuffer[ucPos++] = (char) in decompress()
317 charBuffer[ucPos++] = (char) aByte; in decompress()
335 charBuffer[ucPos++] = (char) in decompress()
363 charBuffer[ucPos++] = (char) in decompress()
499 charBuffer[ucPos++] = (char) in decompress()
[all …]
DUnicodeCompressor.java355 public int compress(char [] charBuffer, in compress() argument
399 curUC = charBuffer[ucPos++]; in compress()
403 nextUC = charBuffer[ucPos]; in compress()
486 forwardUC = charBuffer[ucPos + 1]; in compress()
552 forwardUC = charBuffer[ucPos + 1]; in compress()
622 curUC = charBuffer[ucPos++]; in compress()
626 nextUC = charBuffer[ucPos]; in compress()
748 forwardUC = charBuffer[ucPos + 1]; in compress()
/external/icu/icu4c/source/samples/layout/
DUnicodeReader.cpp35 UChar *charBuffer; in readFile() local
111 charBuffer = LE_NEW_ARRAY(UChar, charCount + 1); in readFile()
112 if(charBuffer == 0) { in readFile()
118 myText.extract(0, myText.length(), charBuffer); in readFile()
119 charBuffer[charCount] = 0; // NULL terminate for easier reading in the debugger in readFile()
121 return charBuffer; in readFile()
/external/icu/icu4c/source/io/
Dustdio.cpp321 char charBuffer[UFILE_CHARBUFFER_SIZE]; in u_file_write_flush() local
322 char *myTarget = charBuffer; in u_file_write_flush()
359 charBuffer + UFILE_CHARBUFFER_SIZE, in u_file_write_flush()
375 numConverted = (int32_t)(myTarget - charBuffer); in u_file_write_flush()
379 fwrite(charBuffer, in u_file_write_flush()
386 myTarget = charBuffer; in u_file_write_flush()
416 char charBuffer[UFILE_CHARBUFFER_SIZE]; in ufile_fill_uchar_buffer() local
447 char *retStr = fgets(charBuffer, ufmt_min(maxCPBytes, UFILE_CHARBUFFER_SIZE), f->fFile); in ufile_fill_uchar_buffer()
448 bytesRead = (int32_t)(retStr ? uprv_strlen(charBuffer) : 0); in ufile_fill_uchar_buffer()
452 bytesRead = (int32_t)fread(charBuffer, in ufile_fill_uchar_buffer()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DCharEncoder.java26 private CharBuffer charBuffer = CharBuffer.wrap(chars); field in CharEncoder
62 charBuffer.limit(len); in getValue()
63 charBuffer.position(0); in getValue()
65 CoderResult encodeResult = encoder.encode(charBuffer, byteBuffer, true); in getValue()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterDataReader.java513 CharBuffer charBuffer = byteBuffer.asCharBuffer(); in readMBCSTable() local
517 charBuffer.get(mbcsTable.unicodeCodeUnits); in readMBCSTable()
535 charBuffer.get(mbcsTable.fromUnicodeTable); in readMBCSTable()
/external/skqp/tools/sk_app/mac/
DWindow_mac.mm266 unichar* charBuffer = new unichar[len+1];
267 [characters getCharacters:charBuffer range:NSMakeRange(0, len)];
269 (void) fWindow->onChar((SkUnichar) charBuffer[i], get_modifiers(event));
271 delete [] charBuffer;
/external/skia/tools/sk_app/mac/
DWindow_mac.mm231 unichar* charBuffer = new unichar[len+1];
232 [characters getCharacters:charBuffer range:NSMakeRange(0, len)];
234 (void) this->onChar((SkUnichar) charBuffer[i], get_modifiers(event));
236 delete [] charBuffer;
/external/icu/icu4c/source/test/iotest/
Dfiletst.c599 char charBuffer[2048]; in TestfgetsLineCount() local
629 returnedCharBuffer = fgets(charBuffer, UPRV_LENGTHOF(charBuffer), stdFile); in TestfgetsLineCount()
636 if (returnedCharBuffer != charBuffer) { in TestfgetsLineCount()
640 u_uastrncpy(expectedBuffer, charBuffer, (int32_t)strlen(charBuffer)+1); in TestfgetsLineCount()
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c1690 char charBuffer[21]; /* Leave at an odd number for alignment testing */ in TestConvertSafeClone() local
1699 const char *charBufferLimit = charBuffer + UPRV_LENGTHOF(charBuffer); in TestConvertSafeClone()
1847 pCharBuffer = charBuffer; in TestConvertSafeClone()
1875 pConstCharBuffer = charBuffer; in TestConvertSafeClone()
3620 char charBuffer[2] = {1, 1}; in InvalidArguments() local
3622 char *charsPtr = charBuffer; in InvalidArguments()
3661 if (charBuffer[0] != 1 || charBuffer[1] != 1 in InvalidArguments()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java2742 CharBuffer charBuffer = CharBuffer.allocate(0x90); in TestCharsetASCIIOverFlow() local
2749 charBuffer.put((char)j); in TestCharsetASCIIOverFlow()
2755 charBuffer.limit(charBufferLimit = charBuffer.position()); in TestCharsetASCIIOverFlow()
2756 charBuffer.position(0); in TestCharsetASCIIOverFlow()
2770 smBufEncode(encoder, "ASCII", charBuffer, byteBufferTest, true, false); in TestCharsetASCIIOverFlow()
5758 CharBuffer charBuffer = CharBuffer.allocate(firstLine.length() + secondLine.length()); in TestCharsetASCII8859BufferHandling() local
5759 charBuffer.put(firstLine); in TestCharsetASCII8859BufferHandling()
5760 charBuffer.put(secondLine); in TestCharsetASCII8859BufferHandling()
5761 charBuffer.flip(); in TestCharsetASCII8859BufferHandling()
5766 charBuffer.position(firstLine.length()); in TestCharsetASCII8859BufferHandling()
[all …]
/external/mockito/lib/
Dbyte-buddy-1.8.15.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/external/owasp/sanitizer/lib/htmlparser-1.3/
Dhtmlparser-1.3-with-transitions.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM ...
Dhtmlparser-1.3.jarMETA-INF/MANIFEST.MF nu/validator/htmlparser/tools/XSLT4HTML5XOM.class XSLT4HTML5XOM ...
/external/guice/extensions/struts2/lib/
Dstruts2-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/kotlinc/lib/
Dkotlin-stdlib.jarMETA-INF/ META-INF/MANIFEST.MF kotlin/ kotlin/jvm/ kotlin/ ...
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.core.resources_3.13.0.v20180512-1138.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...

12