Home
last modified time | relevance | path

Searched refs:unicodeBuffer (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DConverterPerformanceTest.java30 char[] unicodeBuffer = null; field in ConverterPerformanceTest
38 unicodeBuffer = readToEOS(reader); in setup()
41 CharBuffer source = CharBuffer.wrap(unicodeBuffer, 0, unicodeBuffer.length); in setup()
65 … ByteArrayOutputStream out = new ByteArrayOutputStream(unicodeBuffer.length * 10); in TestFromUnicodeStream()
67 writer.write(unicodeBuffer, 0, unicodeBuffer.length); in TestFromUnicodeStream()
75 return unicodeBuffer.length; in TestFromUnicodeStream()
206 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length);
237 CharBuffer srcBuf = CharBuffer.wrap(unicodeBuffer,0,unicodeBuffer.length);
252 return unicodeBuffer.length;
264 CharBuffer outBuf = CharBuffer.allocate(unicodeBuffer.length);
[all …]
/external/icu/icu4c/source/common/
Duts46.cpp705 UChar *unicodeBuffer=fromPunycode.getBuffer(-1); // capacity==-1: most labels should fit in processLabel() local
706 if(unicodeBuffer==NULL) { in processLabel()
713 unicodeBuffer, fromPunycode.getCapacity(), in processLabel()
717 unicodeBuffer=fromPunycode.getBuffer(unicodeLength); in processLabel()
718 if(unicodeBuffer==NULL) { in processLabel()
724 unicodeBuffer, fromPunycode.getCapacity(), in processLabel()