HomeSort by relevance Sort by last modified time
    Searched defs:utf8Length (Results 1 - 22 of 22) sorted by null

  /external/guava/guava/src/com/google/common/base/
Utf8.java 51 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/icu/icu4c/source/common/
unisetspan.h 125 int32_t utf8Length;
  /external/icu/icu4c/source/test/intltest/
convtest.h 46 int32_t utf8Length;
rbbitst.cpp 884 int32_t utf8Length;
885 u_strToUTF8WithSub(NULL, 0, &utf8Length, // Output Buffer, NULL for preflight.
894 char *buffer = dest.getAppendBuffer(utf8Length, utf8Length, capacity, status);
895 u_strToUTF8WithSub(buffer, utf8Length, NULL,
898 dest.append(buffer, utf8Length, status);
    [all...]
  /external/icu/icu4c/source/test/perf/utrie2perf/
utrie2perf.cpp 47 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;
162 UBool isFCD=unorm_checkFCDUTF8((const uint8_t *)testcase.utf8, testcase.utf8Length, NULL);
  /frameworks/base/tools/aapt2/
Util.cpp 300 ssize_t utf8Length = utf16_to_utf8_length(utf16.data(), utf16.length());
301 if (utf8Length <= 0) {
306 utf8.resize(utf8Length);
  /external/guava/guava-tests/test/com/google/common/base/
Utf8Test.java 70 int utf8Length = 0;
74 utf8Length += utf8Lengths.get(randomCodePoint);
75 if (utf8Length != Utf8.encodedLength(sb)) {
80 assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb));
  /external/icu/icu4c/source/test/perf/unisetperf/
unisetperf.cpp 49 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;
340 int32_t length=testcase.utf8Length;
386 int32_t length=testcase.utf8Length;
    [all...]
  /external/icu/icu4c/source/test/perf/utfperf/
utfperf.cpp 38 static int32_t utf8Length, encodedLength, outputLength, countInputCodePoints;
88 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status);
267 input8(utf8), input8Length(utf8Length) {
  /external/smali/util/src/main/java/org/jf/util/
ClassFileNameHandler.java 150 private static int utf8Length(String str) {
151 int utf8Length = 0;
155 utf8Length += utf8Length(c);
158 return utf8Length;
161 private static int utf8Length(int codePoint) {
198 int bytesRemoved = utf8Length(codePoints[midPoint]);
203 bytesRemoved += utf8Length(codePoints[secondStart]);
211 bytesRemoved += utf8Length(codePoints[firstEnd]);
215 bytesRemoved += utf8Length(codePoints[secondStart])
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/nano/
CodedOutputByteBufferNano.java 339 int utf8Length = utf16Length;
351 utf8Length += ((0x7f - c) >>> 31); // branch free!
353 utf8Length += encodedLengthGeneral(sequence, i);
358 if (utf8Length < utf16Length) {
361 + (utf8Length + (1L << 32)));
363 return utf8Length;
368 int utf8Length = 0;
372 utf8Length += (0x7f - c) >>> 31; // branch free!
374 utf8Length += 2;
386 return utf8Length;
    [all...]
  /external/icu/icu4c/source/test/cintltst/
ccapitst.c     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.p2.repository.tools_2.1.0.v20130327-2119.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.p2.repository.tools_2.1.0.v20130327-2119.jar 
  /prebuilts/tools/common/m2/repository/net/sourceforge/htmlunit/htmlunit-core-js/2.14/
htmlunit-core-js-2.14.jar 
  /prebuilts/tools/common/m2/repository/org/mozilla/rhino/1.7R3/
rhino-1.7R3.jar 
  /frameworks/data-binding/prebuilds/1.0-rc0/
databinding-studio-bundle.jar 
  /packages/apps/Messaging/build/gcheckstyle/
google-style-checker_deploy.jar 
  /prebuilts/devtools/tools/lib/
guava-17.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/17.0/
guava-17.0.jar 
  /prebuilts/tools/common/offline-m2/com/google/guava/guava/17.0/
guava-17.0.jar 

Completed in 646 milliseconds