Home
last modified time | relevance | path

Searched refs:posSuffix (Results 1 – 17 of 17) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPropertiesAffixPatternProvider.java11 private final String posSuffix; field in PropertiesAffixPatternProvider
51 posSuffix = pso; in PropertiesAffixPatternProvider()
53 posSuffix = psp; in PropertiesAffixPatternProvider()
56 posSuffix = ""; in PropertiesAffixPatternProvider()
100 return posSuffix; in getString()
107 || AffixUtils.containsType(posSuffix, AffixUtils.TYPE_PLUS_SIGN); in positiveHasPlusSign()
124 return AffixUtils.hasCurrencySymbols(posPrefix) || AffixUtils.hasCurrencySymbols(posSuffix) in hasCurrencySign()
130 return AffixUtils.containsType(posPrefix, type) || AffixUtils.containsType(posSuffix, type) in containsSymbolType()
145 + posSuffix in toString()
DPatternStringParser.java659 String posSuffix = patternInfo.getString(0); in patternInfoToProperties() local
666 + AffixUtils.estimateLength(posSuffix); in patternInfoToProperties()
692 properties.setPositiveSuffixPattern(posSuffix); in patternInfoToProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPropertiesAffixPatternProvider.java7 private final String posSuffix; field in PropertiesAffixPatternProvider
47 posSuffix = pso; in PropertiesAffixPatternProvider()
49 posSuffix = psp; in PropertiesAffixPatternProvider()
52 posSuffix = ""; in PropertiesAffixPatternProvider()
96 return posSuffix; in getString()
103 || AffixUtils.containsType(posSuffix, AffixUtils.TYPE_PLUS_SIGN); in positiveHasPlusSign()
120 return AffixUtils.hasCurrencySymbols(posPrefix) || AffixUtils.hasCurrencySymbols(posSuffix) in hasCurrencySign()
126 return AffixUtils.containsType(posPrefix, type) || AffixUtils.containsType(posSuffix, type) in containsSymbolType()
141 + posSuffix in toString()
DPatternStringParser.java653 String posSuffix = patternInfo.getString(0); in patternInfoToProperties() local
660 + AffixUtils.estimateLength(posSuffix); in patternInfoToProperties()
686 properties.setPositiveSuffixPattern(posSuffix); in patternInfoToProperties()
/external/icu/icu4c/source/i18n/
Dnumber_mapper.cpp356 posSuffix = pso; in setTo()
358 posSuffix = psp; in setTo()
361 posSuffix = u""; in setTo()
406 return posSuffix; in getStringInternal()
414 AffixUtils::containsType(posSuffix, TYPE_PLUS_SIGN, localStatus); in positiveHasPlusSign()
431 AffixUtils::hasCurrencySymbols(posSuffix, localStatus) || in hasCurrencySign()
438 AffixUtils::containsType(posSuffix, type, status) || in containsSymbolType()
Dnumparse_affixes.cpp313 AffixPatternMatcher* posSuffix = nullptr; in createAffixMatchers() local
337 posSuffix = suffix; in createAffixMatchers()
338 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers()
354 if (signum == 1 || !equals(suffix, posSuffix)) { in createAffixMatchers()
Dnumber_mapper.h63 UnicodeString posSuffix; variable
Dnumber_patternstring.cpp589 UnicodeString posSuffix = patternInfo.getString(0); in patternInfoToProperties() local
596 AffixUtils::estimateLength(posSuffix, status); in patternInfoToProperties()
621 properties.positiveSuffixPattern = posSuffix; in patternInfoToProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DAffixMatcher.java98 AffixPatternMatcher posSuffix = null; in createMatchers() local
126 posSuffix = suffix; in createMatchers()
127 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers()
143 if (signum == 1 || !Objects.equals(suffix, posSuffix)) { in createMatchers()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DAffixMatcher.java100 AffixPatternMatcher posSuffix = null; in createMatchers() local
128 posSuffix = suffix; in createMatchers()
129 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers()
145 if (signum == 1 || !Objects.equals(suffix, posSuffix)) { in createMatchers()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java205 String posSuffix; in TestAPI() local
207 posSuffix = pat.getPositiveSuffix(); in TestAPI()
208 logln("Positive suffix (should be _): " + posSuffix); in TestAPI()
209 assertEquals("ERROR: setPositiveSuffix() failed", "_", posSuffix); in TestAPI()
DIntlTestDecimalFormatAPIC.java164 String posSuffix; in TestAPI() local
166 posSuffix = pat.getPositiveSuffix(); in TestAPI()
167 logln("Positive suffix (should be _): " + posSuffix); in TestAPI()
168 assertEquals("ERROR: setPositiveSuffix() failed", "_", posSuffix); in TestAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java202 String posSuffix; in TestAPI() local
204 posSuffix = pat.getPositiveSuffix(); in TestAPI()
205 logln("Positive suffix (should be _): " + posSuffix); in TestAPI()
206 assertEquals("ERROR: setPositiveSuffix() failed", "_", posSuffix); in TestAPI()
DIntlTestDecimalFormatAPIC.java161 String posSuffix; in TestAPI() local
163 posSuffix = pat.getPositiveSuffix(); in TestAPI()
164 logln("Positive suffix (should be _): " + posSuffix); in TestAPI()
165 assertEquals("ERROR: setPositiveSuffix() failed", "_", posSuffix); in TestAPI()
/external/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp293 UnicodeString posSuffix; in testAPI() local
295 posSuffix = pat.getPositiveSuffix(posSuffix); in testAPI()
296 logln((UnicodeString)"Positive suffix (should be _): " + posSuffix); in testAPI()
297 if(posSuffix != "_") { in testAPI()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat_ICU58_Android.java2428 String posSuffix, boolean parseComplexCurrency, int type) { in subparse() argument
2777 …posMatch = compareAffix(text, position, false, false, posSuffix, parseComplexCurrency, type, curre… in subparse()
6117 String posSuffix, int type) { in AffixForCurrency() argument
6121 posSuffixPatternForCurrency = posSuffix; in AffixForCurrency()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat_ICU58_Android.java2416 String posSuffix, boolean parseComplexCurrency, int type) { in subparse() argument
2765 …posMatch = compareAffix(text, position, false, false, posSuffix, parseComplexCurrency, type, curre… in subparse()
6013 String posSuffix, int type) { in AffixForCurrency() argument
6017 posSuffixPatternForCurrency = posSuffix; in AffixForCurrency()