/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | PropertiesAffixPatternProvider.java | 12 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/ |
D | PropertiesAffixPatternProvider.java | 8 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/ |
D | number_mapper.cpp | 365 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()
|
D | number_mapper.h | 64 UnicodeString negPrefix; variable
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 199 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()
|
D | IntlTestDecimalFormatAPIC.java | 158 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/ |
D | IntlTestDecimalFormatAPI.java | 196 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()
|
D | IntlTestDecimalFormatAPIC.java | 155 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/ |
D | dcfmapts.cpp | 285 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/ |
D | DecimalFormat_ICU58_Android.java | 2427 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/ |
D | DecimalFormat_ICU58_Android.java | 2415 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()
|