Home
last modified time | relevance | path

Searched refs:secondUnit (Results 1 – 9 of 9) sorted by relevance

/external/cronet/third_party/icu/source/tools/gennorm2/
Dextradata.cpp145 int32_t firstUnit, secondUnit, thirdUnit; in writeCompositions() local
149 secondUnit=compositeAndFwd; in writeCompositions()
153 secondUnit=compositeAndFwd>>16; in writeCompositions()
160 secondUnit=(pair.trail<<Normalizer2Impl::COMP_2_TRAIL_SHIFT)| in writeCompositions()
168 dataString.append((UChar)firstUnit).append((UChar)secondUnit); in writeCompositions()
/external/icu/icu4c/source/tools/gennorm2/
Dextradata.cpp145 int32_t firstUnit, secondUnit, thirdUnit; in writeCompositions() local
149 secondUnit=compositeAndFwd; in writeCompositions()
153 secondUnit=compositeAndFwd>>16; in writeCompositions()
160 secondUnit=(pair.trail<<Normalizer2Impl::COMP_2_TRAIL_SHIFT)| in writeCompositions()
168 dataString.append((UChar)firstUnit).append((UChar)secondUnit); in writeCompositions()
/external/cronet/third_party/icu/source/i18n/
Dunits_converter.cpp542 const MeasureUnitImpl &secondUnit, in compareTwoUnits() argument
549 secondUnit.complexity == UMeasureUnitComplexity::UMEASURE_UNIT_MIXED) { in compareTwoUnits()
554 Convertibility unitsState = extractConvertibility(firstUnit, secondUnit, ratesInfo, status); in compareTwoUnits()
568 Factor secondUnitToBase = loadCompoundFactor(secondUnit, ratesInfo, status); in compareTwoUnits()
/external/icu/icu4c/source/i18n/
Dunits_converter.cpp542 const MeasureUnitImpl &secondUnit, in compareTwoUnits() argument
549 secondUnit.complexity == UMeasureUnitComplexity::UMEASURE_UNIT_MIXED) { in compareTwoUnits()
554 Convertibility unitsState = extractConvertibility(firstUnit, secondUnit, ratesInfo, status); in compareTwoUnits()
568 Factor secondUnitToBase = loadCompoundFactor(secondUnit, ratesInfo, status); in compareTwoUnits()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java1894 int secondUnit; in combine() local
1899 if(key2>(secondUnit=compositions.charAt(list+1))) { in combine()
1905 } else if(key2==(secondUnit&COMP_2_TRAIL_MASK)) { in combine()
1906 return ((secondUnit&~COMP_2_TRAIL_MASK)<<16)|compositions.charAt(list+2); in combine()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNormalizer2Impl.java1903 int secondUnit; in combine() local
1908 if(key2>(secondUnit=compositions.charAt(list+1))) { in combine()
1914 } else if(key2==(secondUnit&COMP_2_TRAIL_MASK)) { in combine()
1915 return ((secondUnit&~COMP_2_TRAIL_MASK)<<16)|compositions.charAt(list+2); in combine()
/external/cronet/third_party/icu/source/common/
Dnormalizer2impl.cpp1161 uint16_t secondUnit; in combine() local
1166 if(key2>(secondUnit=list[1])) { in combine()
1172 } else if(key2==(secondUnit&COMP_2_TRAIL_MASK)) { in combine()
1173 return ((int32_t)(secondUnit&~COMP_2_TRAIL_MASK)<<16)|list[2]; in combine()
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp1161 uint16_t secondUnit; in combine() local
1166 if(key2>(secondUnit=list[1])) { in combine()
1172 } else if(key2==(secondUnit&COMP_2_TRAIL_MASK)) { in combine()
1173 return ((int32_t)(secondUnit&~COMP_2_TRAIL_MASK)<<16)|list[2]; in combine()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestUnits.java1743 private Rational showDelta(String firstUnit, String secondUnit, boolean showYourWork) { in showDelta() argument
1744 Rational x = converter.convert(Rational.ONE, firstUnit, secondUnit, showYourWork); in showDelta()
1745 return showDelta(firstUnit + "\t" + secondUnit, x); in showDelta()