Searched refs:pieceLength (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/test/perf/normperf/ |
D | simplenormperf.cpp | 189 virtual double call(int32_t iterations, int32_t pieceLength) = 0; 202 double measure(Operation &op, int32_t pieceLength) { in measure() argument 206 double seconds = op.call(iterations, pieceLength); in measure() 209 return seconds / (iterations * pieceLength); in measure() 212 return op.call(1, pieceLength) / (iterations * pieceLength); in measure() 227 int32_t pieceLength = kLengths[i]; in benchmark() local 228 double secPerCp = measure(op, pieceLength); in benchmark() 229 printf("%s %6d %12f ns/cp\n", name, (int)pieceLength, secPerCp * 1000000000); in benchmark() 239 virtual double call(int32_t iterations, int32_t pieceLength); 251 double NormalizeUTF16::call(int32_t iterations, int32_t pieceLength) { in call() argument [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Tabber.java | 120 final int pieceLength = getMonospaceWidth(piece); in process_field() local 125 startPos = endPos - pieceLength; in process_field() 128 startPos = (startPos + endPos - pieceLength + 1) / 2; in process_field()
|