Home
last modified time | relevance | path

Searched refs:totalChars (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DNormalizerPerformanceTest.java40 int totalChars = 0; in TestICU_NFC_NFD_Text()
42 totalChars = totalChars + NFDFileLines[i].length(); in TestICU_NFC_NFD_Text()
44 return totalChars; in TestICU_NFC_NFD_Text()
58 int totalChars = 0;
60 totalChars = totalChars + NFCFileLines[i].length();
62 return totalChars;
76 int totalChars = 0;
78 totalChars = totalChars + fileLines[i].length();
80 return totalChars;
95 int totalChars = 0;
[all …]
DCollationPerformanceTest.java504 long totalChars = 0; in doKeyGen() local
510 totalChars += tests[line].length(); in doKeyGen()
521 totalChars += tests[line].length(); in doKeyGen()
534 … System.out.println("Key Length / character = " + nf.format(totalKeyLen / (totalChars + 0.0))); in doKeyGen()
538 System.out.println(nf.format(totalKeyLen / (totalChars + 0.0)) + ", "); in doKeyGen()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/indic/
DIndicInputMethodImpl.java116 private int totalChars = 0;//number of total characters ( committed + composed ) field in IndicInputMethodImpl
208 if (totalChars > 0) { in handleKeyTyped()
209 totalChars = committedChars = 0; in handleKeyTyped()
224 text[totalChars++] = currentChar; in handleKeyTyped()
234 text[totalChars++] = currentChar; in handleKeyTyped()
235 committedChars = totalChars-1; in handleKeyTyped()
240 System.arraycopy(sub, 0, text, totalChars, sub.length); in handleKeyTyped()
241 totalChars += sub.length; in handleKeyTyped()
243 text[totalChars++] = currentChar; in handleKeyTyped()
246 committedChars = totalChars; in handleKeyTyped()
[all …]
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/tags/propagation/
DSerializationUtils.java80 int totalChars = 0; // Here chars are equivalent to bytes, since we're using ascii chars. in serializeBinary() local
83 totalChars += tag.getKey().getName().length(); in serializeBinary()
84 totalChars += tag.getValue().asString().length(); in serializeBinary()
87 if (totalChars > TAGCONTEXT_SERIALIZED_SIZE_LIMIT) { in serializeBinary()
120 int totalChars = 0; // Here chars are equivalent to bytes, since we're using ascii chars. in parseTags() local
126 totalChars += key.getName().length(); in parseTags()
127 totalChars += val.asString().length(); in parseTags()
135 if (totalChars > TAGCONTEXT_SERIALIZED_SIZE_LIMIT) { in parseTags()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonLocation.java51 public JsonLocation(Object srcRef, long totalChars, int lineNr, int colNr) in JsonLocation() argument
58 this(srcRef, -1L, totalChars, lineNr, colNr); in JsonLocation()
61 public JsonLocation(Object sourceRef, long totalBytes, long totalChars, in JsonLocation() argument
66 _totalChars = totalChars; in JsonLocation()
/external/icu/icu4c/source/test/perf/normperf/
Dnormperf.h72 int32_t totalChars=0; in getOperationsPerIteration() local
74 totalChars+= lines[i].len; in getOperationsPerIteration()
76 return totalChars; in getOperationsPerIteration()
141 int32_t totalChars=0; in getOperationsPerIteration() local
143 totalChars+= lines[i].len; in getOperationsPerIteration()
145 return totalChars; in getOperationsPerIteration()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DJsonReadContext.java151 long totalChars = -1L; in getStartLocation() local
152 return new JsonLocation(srcRef, totalChars, _lineNr, _columnNr); in getStartLocation()
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp437 int totalChars = 0; in doKeyGen() local
439 totalChars += u_strlen(gFileLines[line].name); in doKeyGen()
452 printf("Key Length / character = %f\n", (float)totalKeyLen / (float)totalChars); in doKeyGen()
454 printf("%f, ", (float)totalKeyLen / (float)totalChars); in doKeyGen()