Home
last modified time | relevance | path

Searched refs:negSuffix (Results 1 – 11 of 11) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPropertiesAffixPatternProvider.java13 private final String negSuffix; field in PropertiesAffixPatternProvider
70 negSuffix = nso; in PropertiesAffixPatternProvider()
72 negSuffix = nsp; in PropertiesAffixPatternProvider()
75 negSuffix = psp == null ? "" : psp; in PropertiesAffixPatternProvider()
98 return negSuffix; in getString()
119 || AffixUtils.containsType(negSuffix, AffixUtils.TYPE_MINUS_SIGN); in negativeHasMinusSign()
125 … || AffixUtils.hasCurrencySymbols(negPrefix) || AffixUtils.hasCurrencySymbols(negSuffix); in hasCurrencySign()
131 … || AffixUtils.containsType(negPrefix, type) || AffixUtils.containsType(negSuffix, type); in containsSymbolType()
149 + negSuffix in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPropertiesAffixPatternProvider.java9 private final String negSuffix; field in PropertiesAffixPatternProvider
66 negSuffix = nso; in PropertiesAffixPatternProvider()
68 negSuffix = nsp; in PropertiesAffixPatternProvider()
71 negSuffix = psp == null ? "" : psp; in PropertiesAffixPatternProvider()
94 return negSuffix; in getString()
115 || AffixUtils.containsType(negSuffix, AffixUtils.TYPE_MINUS_SIGN); in negativeHasMinusSign()
121 … || AffixUtils.hasCurrencySymbols(negPrefix) || AffixUtils.hasCurrencySymbols(negSuffix); in hasCurrencySign()
127 … || AffixUtils.containsType(negPrefix, type) || AffixUtils.containsType(negSuffix, type); in containsSymbolType()
145 + negSuffix in toString()
/external/icu/icu4c/source/i18n/
Dnumber_mapper.cpp375 negSuffix = nso; in setTo()
377 negSuffix = nsp; in setTo()
380 negSuffix = psp.isBogus() ? u"" : psp; in setTo()
404 return negSuffix; in getStringInternal()
425 AffixUtils::containsType(negSuffix, TYPE_MINUS_SIGN, localStatus); in negativeHasMinusSign()
433 AffixUtils::hasCurrencySymbols(negSuffix, localStatus); in hasCurrencySign()
440 AffixUtils::containsType(negSuffix, type, status); in containsSymbolType()
Dnumber_mapper.h65 UnicodeString negSuffix; variable
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java211 String negSuffix; in TestAPI() local
213 negSuffix = pat.getNegativeSuffix(); in TestAPI()
214 logln("Negative suffix (should be ~): " + negSuffix); in TestAPI()
215 assertEquals("ERROR: setNegativeSuffix() failed", "~", negSuffix); in TestAPI()
DIntlTestDecimalFormatAPIC.java170 String negSuffix; in TestAPI() local
172 negSuffix = pat.getNegativeSuffix(); in TestAPI()
173 logln("Negative suffix (should be ~): " + negSuffix); in TestAPI()
174 assertEquals("ERROR: setNegativeSuffix() failed", "~", negSuffix); in TestAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java208 String negSuffix; in TestAPI() local
210 negSuffix = pat.getNegativeSuffix(); in TestAPI()
211 logln("Negative suffix (should be ~): " + negSuffix); in TestAPI()
212 assertEquals("ERROR: setNegativeSuffix() failed", "~", negSuffix); in TestAPI()
DIntlTestDecimalFormatAPIC.java167 String negSuffix; in TestAPI() local
169 negSuffix = pat.getNegativeSuffix(); in TestAPI()
170 logln("Negative suffix (should be ~): " + negSuffix); in TestAPI()
171 assertEquals("ERROR: setNegativeSuffix() failed", "~", negSuffix); in TestAPI()
/external/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp301 UnicodeString negSuffix; in testAPI() local
303 negSuffix = pat.getNegativeSuffix(negSuffix); in testAPI()
304 logln((UnicodeString)"Negative suffix (should be ~): " + negSuffix); in testAPI()
305 if(negSuffix != "~") { in testAPI()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat_ICU58_Android.java2427 boolean status[], Currency currency[], String negPrefix, String negSuffix, String posPrefix, in subparse() argument
2780 …negMatch = compareAffix(text, position, true, false, negSuffix, parseComplexCurrency, type, curren… in subparse()
6116 public AffixForCurrency(String negPrefix, String negSuffix, String posPrefix, in AffixForCurrency() argument
6119 negSuffixPatternForCurrency = negSuffix; in AffixForCurrency()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat_ICU58_Android.java2415 boolean status[], Currency currency[], String negPrefix, String negSuffix, String posPrefix, in subparse() argument
2768 …negMatch = compareAffix(text, position, true, false, negSuffix, parseComplexCurrency, type, curren… in subparse()
6012 public AffixForCurrency(String negPrefix, String negSuffix, String posPrefix, in AffixForCurrency() argument
6015 negSuffixPatternForCurrency = negSuffix; in AffixForCurrency()