Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPropertiesAffixPatternProvider.java12 private final String negPrefix; field in PropertiesAffixPatternProvider
60 negPrefix = npo; in PropertiesAffixPatternProvider()
62 negPrefix = npp; in PropertiesAffixPatternProvider()
66 negPrefix = ppp == null ? "-" : "-" + ppp; in PropertiesAffixPatternProvider()
94 return negPrefix; in getString()
118 return AffixUtils.containsType(negPrefix, 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()
147 + negPrefix in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPropertiesAffixPatternProvider.java8 private final String negPrefix; field in PropertiesAffixPatternProvider
56 negPrefix = npo; in PropertiesAffixPatternProvider()
58 negPrefix = npp; in PropertiesAffixPatternProvider()
62 negPrefix = ppp == null ? "-" : "-" + ppp; in PropertiesAffixPatternProvider()
90 return negPrefix; in getString()
114 return AffixUtils.containsType(negPrefix, 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()
143 + negPrefix in toString()
/external/icu/icu4c/source/i18n/
Dnumber_mapper.cpp365 negPrefix = npo; in setTo()
367 negPrefix = npp; in setTo()
371 negPrefix = ppp.isBogus() ? u"-" : u"-" + ppp; in setTo()
400 return negPrefix; in getStringInternal()
424 return AffixUtils::containsType(negPrefix, TYPE_MINUS_SIGN, localStatus) || in negativeHasMinusSign()
432 AffixUtils::hasCurrencySymbols(negPrefix, localStatus) || in hasCurrencySign()
439 AffixUtils::containsType(negPrefix, type, status) || in containsSymbolType()
Dnumber_mapper.h64 UnicodeString negPrefix; variable
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java199 String negPrefix; in TestAPI() local
201 negPrefix = pat.getNegativePrefix(); in TestAPI()
202 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
203 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
DIntlTestDecimalFormatAPIC.java158 String negPrefix; in TestAPI() local
160 negPrefix = pat.getNegativePrefix(); in TestAPI()
161 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
162 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java196 String negPrefix; in TestAPI() local
198 negPrefix = pat.getNegativePrefix(); in TestAPI()
199 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
200 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
DIntlTestDecimalFormatAPIC.java155 String negPrefix; in TestAPI() local
157 negPrefix = pat.getNegativePrefix(); in TestAPI()
158 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
159 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
/external/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp285 UnicodeString negPrefix; in testAPI() local
287 negPrefix = pat.getNegativePrefix(negPrefix); in testAPI()
288 logln((UnicodeString)"Negative prefix (should be -): " + negPrefix); in testAPI()
289 if(negPrefix != "-") { 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
2440 …int negMatch = compareAffix(text, position, true, true, negPrefix, parseComplexCurrency, type, cur… in subparse()
6116 public AffixForCurrency(String negPrefix, String negSuffix, String posPrefix, in AffixForCurrency() argument
6118 negPrefixPatternForCurrency = negPrefix; 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
2428 …int negMatch = compareAffix(text, position, true, true, negPrefix, parseComplexCurrency, type, cur… in subparse()
6012 public AffixForCurrency(String negPrefix, String negSuffix, String posPrefix, in AffixForCurrency() argument
6014 negPrefixPatternForCurrency = negPrefix; in AffixForCurrency()