Searched refs:utf8Length (Results 1 - 20 of 20) sorted by relevance

/external/guava/guava/src/com/google/common/base/
H A DUtf8.java51 int utf8Length = utf16Length;
63 utf8Length += ((0x7f - c) >>> 31); // branch free!
65 utf8Length += encodedLengthGeneral(sequence, i);
70 if (utf8Length < utf16Length) {
73 + (utf8Length + (1L << 32)));
75 return utf8Length;
80 int utf8Length = 0;
84 utf8Length += (0x7f - c) >>> 31; // branch free!
86 utf8Length += 2;
98 return utf8Length;
[all...]
/external/smali/util/src/main/java/org/jf/util/
H A DClassFileNameHandler.java150 private static int utf8Length(String str) { method in class:ClassFileNameHandler
151 int utf8Length = 0;
155 utf8Length += utf8Length(c);
158 return utf8Length;
161 private static int utf8Length(int codePoint) { method in class:ClassFileNameHandler
198 int bytesRemoved = utf8Length(codePoints[midPoint]);
203 bytesRemoved += utf8Length(codePoints[secondStart]);
211 bytesRemoved += utf8Length(codePoints[firstEnd]);
215 bytesRemoved += utf8Length(codePoint
[all...]
/external/icu/icu4c/source/test/perf/utrie2perf/
H A Dutrie2perf.cpp47 utf8(NULL), utf8Length(0), countInputCodePoints(0) {
59 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status);
61 utf8=(char *)malloc(utf8Length);
64 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status);
73 (long)countInputCodePoints, (long)bufferLen, (long)utf8Length,
74 (double)utf8Length/countInputCodePoints);
86 int32_t utf8Length; member in class:UTrie2PerfTest
162 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
/external/icu/icu4c/source/test/perf/unisetperf/
H A Dunisetperf.cpp49 utf8(NULL), utf8Length(0), countInputCodePoints(0), spanCount(0) {
66 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status);
68 utf8=(char *)malloc(utf8Length);
71 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status);
80 (long)countInputCodePoints, (long)bufferLen, (long)utf8Length, (long)spanCount,
81 (double)countInputCodePoints/spanCount, (double)bufferLen/spanCount, (double)utf8Length/spanCount,
82 (double)utf8Length/countInputCodePoints);
121 int32_t utf8Length; member in class:UnicodeSetPerformanceTest
340 int32_t length=testcase.utf8Length;
386 int32_t length=testcase.utf8Length;
[all...]
/external/guava/guava-tests/test/com/google/common/base/
H A DUtf8Test.java69 int utf8Length = 0;
73 utf8Length += utf8Lengths.get(randomCodePoint);
74 if (utf8Length != Utf8.encodedLength(sb)) {
79 assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb));
/external/icu/icu4c/source/test/intltest/
H A Dconvtest.h46 int32_t utf8Length; member in struct:ConversionCase
H A Dconvtest.cpp1272 utf8Limit=source+cc.utf8Length;
1505 u_strToUTF8(utf8, UPRV_LENGTHOF(utf8), &cc.utf8Length,
1512 cc.utf8Length=-1;
1564 if(cc.utf8Length>=0) {
H A Drbbitst.cpp888 int32_t utf8Length; local
889 u_strToUTF8WithSub(NULL, 0, &utf8Length, // Output Buffer, NULL for preflight.
898 char *buffer = dest.getAppendBuffer(utf8Length, utf8Length, capacity, status);
899 u_strToUTF8WithSub(buffer, utf8Length, NULL,
902 dest.append(buffer, utf8Length, status);
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DCodedOutputByteBufferNano.java349 int utf8Length = utf16Length;
361 utf8Length += ((0x7f - c) >>> 31); // branch free!
363 utf8Length += encodedLengthGeneral(sequence, i);
368 if (utf8Length < utf16Length) {
371 + (utf8Length + (1L << 32)));
373 return utf8Length;
378 int utf8Length = 0;
382 utf8Length += (0x7f - c) >>> 31; // branch free!
384 utf8Length += 2;
396 return utf8Length;
[all...]
/external/icu/icu4c/source/test/perf/utfperf/
H A Dutfperf.cpp38 static int32_t utf8Length, encodedLength, outputLength, countInputCodePoints; variable
88 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status);
267 input8(utf8), input8Length(utf8Length) {
/external/icu/icu4c/source/common/
H A Dunisetspan.cpp207 utf8Length(0),
244 utf8Length+=length8;
269 allocSize=stringsLength*(4+1+1+1+1)+utf8Length;
274 allocSize+=stringsLength*4+utf8Length;
329 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count);
367 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count);
395 utf8Length(otherStringSpan.utf8Length),
407 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length;
H A Dunisetspan.h125 int32_t utf8Length; member in class:UnicodeSetStringSpan
/external/icu/icu4c/source/test/cintltst/
H A Dccapitst.c2500 int32_t utf8Length; local
2532 utf8Length=charUTF8Length+length;
2541 &source, utf8+utf8Length,
2566 int32_t utf8Length, expectLength; local
2582 utf8Length=charUTF8Length;
2589 memcpy(utf8+utf8Length, badUTF8[i], length);
2590 utf8Length+=length;
2592 memcpy(utf8+utf8Length, charUTF8, charUTF8Length);
2593 utf8Length+=charUTF8Length;
2604 utf8, utf8Length,
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/guice/extensions/struts2/lib/
H A Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ org/eclipse/jdt/core/compiler/ org/ ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/libgdx/backends/gdx-backends-gwt/libs/
H A Dgwt-dev.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gwt/ com/google/gwt/core/ ...

Completed in 607 milliseconds