Home
last modified time | relevance | path

Searched refs:countValue (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetBOCU1.java725 int diffValue, countValue;
732 countValue = 1;
736 countValue = 2;
740 countValue = 3;
747 countValue=1;
751 countValue = 2;
755 countValue=3;
760 return (diffValue<<2)|countValue;
772 private int decodeBocu1TrailByte(int countValue, int b) { in decodeBocu1TrailByte() argument
784 if(countValue==1) { in decodeBocu1TrailByte()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DCounter.java76 public Counter<T> add(T obj, long countValue) { in add() argument
79 count.value += countValue; in add()
84 public Counter<T> add(T obj, long countValue, long time) { in add() argument
87 count.value += countValue; in add()
92 public Counter<T> add(T obj, long countValue, boolean boo) { in add() argument
95 count.value = countValue; in add()
DCounter2.java63 private Double addN(Double count, Double countValue) { in addN() argument
65 return count + countValue; in addN()
DVoteResolver.java281 public MaxCounter<T> add(T obj, long countValue, long time) { in add() argument
284 if ((value <= countValue)) { in add()
285 super.add(obj, countValue - value, time); // only add the difference! in add()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotBase.py562 countValue = 1
565 countValue = reader[conv.repeat]
568 totalSize += size * countValue
582 countValue = len(getattr(self, conv.name)) - conv.aux
585 setattr(self, conv.repeat, countValue)
589 propagator[conv.repeat].setValue(countValue)
620 countValue = conv.repeat
622 countValue = table[conv.repeat]
625 countValue = reader[conv.repeat]
626 countValue += conv.aux
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckAttributeValues.java130 final Count countValue = PluralInfo.Count.valueOf(attributeValue); in handleCheck() local
131 if (!pluralInfo.getCounts().contains(countValue) in handleCheck()
132 && !isPluralException(countValue, locale)) { in handleCheck()
136 new Object[] { countValue, pluralInfo.getCounts() })); in handleCheck()
158 static boolean isPluralException(Count countValue, String locale) { in isPluralException() argument
159 Set<String> exceptions = PLURAL_EXCEPTIONS.get(countValue); in isPluralException()
DExampleGenerator.java1369 String countValue = parts.getAttributeValue(-1, "count"); in handleCurrencyFormat() local
1370 if (countValue != null) { in handleCurrencyFormat()
1371 return formatCountDecimal(df, countValue); in handleCurrencyFormat()
1410 String countValue = parts.getAttributeValue(-1, "count"); in handleDecimalFormat() local
1411 if (countValue != null) { in handleDecimalFormat()
1412 return formatCountDecimal(numberFormat, countValue); in handleDecimalFormat()
1427 private String formatCountDecimal(DecimalFormat numberFormat, String countValue) { in formatCountDecimal() argument
1428 Count count = Count.valueOf(countValue); in formatCountDecimal()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCounter.java68 public Counter<T> add(T obj, long countValue) { in add() argument
71 count.value += countValue; in add()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCounter.java65 public Counter<T> add(T obj, long countValue) { in add() argument
68 count.value += countValue; in add()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRModify.java1290 String countValue = parts.getAttributeValue(-1, "count");
1291 if (!DIGITS.containsAll(countValue)) {
1294 int intValue = Integer.parseInt(countValue);
1301 String fixed = oldValue.replace("{0}", countValue);