Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPropertiesAffixPatternProvider.java13 private final String negSuffix; field in PropertiesAffixPatternProvider
69 negSuffix = nso; in PropertiesAffixPatternProvider()
71 negSuffix = nsp; in PropertiesAffixPatternProvider()
74 negSuffix = psp == null ? "" : psp; in PropertiesAffixPatternProvider()
105 return negSuffix; in getString()
120 negSuffix != posSuffix || in hasNegativeSubpattern()
130 || AffixUtils.containsType(negSuffix, AffixUtils.TYPE_MINUS_SIGN); in negativeHasMinusSign()
141 … || AffixUtils.containsType(negPrefix, type) || AffixUtils.containsType(negSuffix, type); in containsSymbolType()
159 + negSuffix in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPropertiesAffixPatternProvider.java9 private final String negSuffix; field in PropertiesAffixPatternProvider
65 negSuffix = nso; in PropertiesAffixPatternProvider()
67 negSuffix = nsp; in PropertiesAffixPatternProvider()
70 negSuffix = psp == null ? "" : psp; in PropertiesAffixPatternProvider()
101 return negSuffix; in getString()
116 negSuffix != posSuffix || in hasNegativeSubpattern()
126 || AffixUtils.containsType(negSuffix, AffixUtils.TYPE_MINUS_SIGN); in negativeHasMinusSign()
137 … || AffixUtils.containsType(negPrefix, type) || AffixUtils.containsType(negSuffix, type); in containsSymbolType()
155 + negSuffix in toString()
/external/icu/icu4c/source/i18n/
Dnumber_mapper.cpp382 negSuffix = nso; in setTo()
384 negSuffix = nsp; in setTo()
387 negSuffix = psp.isBogus() ? u"" : psp; in setTo()
419 return negSuffix; in getStringInternal()
434 (negSuffix != posSuffix) || in hasNegativeSubpattern()
443 AffixUtils::containsType(negSuffix, TYPE_MINUS_SIGN, localStatus); in negativeHasMinusSign()
454 AffixUtils::containsType(negSuffix, type, status); in containsSymbolType()
Dnumber_mapper.h65 UnicodeString negSuffix; variable
/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/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/icu4c/source/test/intltest/
Ddcfmapts.cpp307 UnicodeString negSuffix; in testAPI() local
309 negSuffix = pat.getNegativeSuffix(negSuffix); in testAPI()
310 logln((UnicodeString)"Negative suffix (should be ~): " + negSuffix); in testAPI()
311 if(negSuffix != "~") { in testAPI()