/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | PropertiesAffixPatternProvider.java | 10 private final String posPrefix; field in PropertiesAffixPatternProvider 42 posPrefix = ppo; in PropertiesAffixPatternProvider() 44 posPrefix = ppp; in PropertiesAffixPatternProvider() 47 posPrefix = ""; in PropertiesAffixPatternProvider() 96 return posPrefix; in getString() 106 return AffixUtils.containsType(posPrefix, 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() 143 + posPrefix in toString()
|
D | PatternStringParser.java | 658 String posPrefix = patternInfo.getString(AffixPatternProvider.Flags.PREFIX); in patternInfoToProperties() local 665 + AffixUtils.estimateLength(posPrefix) in patternInfoToProperties() 691 properties.setPositivePrefixPattern(posPrefix); in patternInfoToProperties()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | PropertiesAffixPatternProvider.java | 6 private final String posPrefix; field in PropertiesAffixPatternProvider 38 posPrefix = ppo; in PropertiesAffixPatternProvider() 40 posPrefix = ppp; in PropertiesAffixPatternProvider() 43 posPrefix = ""; in PropertiesAffixPatternProvider() 92 return posPrefix; in getString() 102 return AffixUtils.containsType(posPrefix, 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() 139 + posPrefix in toString()
|
D | PatternStringParser.java | 652 String posPrefix = patternInfo.getString(AffixPatternProvider.Flags.PREFIX); in patternInfoToProperties() local 659 + AffixUtils.estimateLength(posPrefix) in patternInfoToProperties() 685 properties.setPositivePrefixPattern(posPrefix); in patternInfoToProperties()
|
/external/icu/icu4c/source/i18n/ |
D | number_mapper.cpp | 347 posPrefix = ppo; in setTo() 349 posPrefix = ppp; in setTo() 352 posPrefix = u""; in setTo() 402 return posPrefix; in getStringInternal() 413 return AffixUtils::containsType(posPrefix, TYPE_PLUS_SIGN, localStatus) || in positiveHasPlusSign() 430 return AffixUtils::hasCurrencySymbols(posPrefix, localStatus) || in hasCurrencySign() 437 return AffixUtils::containsType(posPrefix, type, status) || in containsSymbolType()
|
D | numparse_affixes.cpp | 312 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers() local 336 posPrefix = prefix; in createAffixMatchers() 338 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) { in createAffixMatchers() 351 if (signum == 1 || !equals(prefix, posPrefix)) { in createAffixMatchers()
|
D | number_mapper.h | 62 UnicodeString posPrefix;
|
D | number_patternstring.cpp | 588 UnicodeString posPrefix = patternInfo.getString(AffixPatternProvider::AFFIX_PREFIX); in patternInfoToProperties() local 595 AffixUtils::estimateLength(posPrefix, status) + in patternInfoToProperties() 620 properties.positivePrefixPattern = posPrefix; in patternInfoToProperties()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | AffixMatcher.java | 97 AffixPatternMatcher posPrefix = null; in createMatchers() local 125 posPrefix = prefix; in createMatchers() 127 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers() 140 if (signum == 1 || !Objects.equals(prefix, posPrefix)) { in createMatchers()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | AffixMatcher.java | 99 AffixPatternMatcher posPrefix = null; in createMatchers() local 127 posPrefix = prefix; in createMatchers() 129 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers() 142 if (signum == 1 || !Objects.equals(prefix, posPrefix)) { in createMatchers()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 193 String posPrefix; in TestAPI() local 195 posPrefix = pat.getPositivePrefix(); in TestAPI() 196 logln("Positive prefix (should be +): " + posPrefix); in TestAPI() 197 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
|
D | IntlTestDecimalFormatAPIC.java | 152 String posPrefix; in TestAPI() local 154 posPrefix = pat.getPositivePrefix(); in TestAPI() 155 logln("Positive prefix (should be +): " + posPrefix); in TestAPI() 156 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 190 String posPrefix; in TestAPI() local 192 posPrefix = pat.getPositivePrefix(); in TestAPI() 193 logln("Positive prefix (should be +): " + posPrefix); in TestAPI() 194 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
|
D | IntlTestDecimalFormatAPIC.java | 149 String posPrefix; in TestAPI() local 151 posPrefix = pat.getPositivePrefix(); in TestAPI() 152 logln("Positive prefix (should be +): " + posPrefix); in TestAPI() 153 assertEquals("ERROR: setPositivePrefix() failed", "+", posPrefix); in TestAPI()
|
/external/icu/icu4c/source/test/intltest/ |
D | dcfmapts.cpp | 277 UnicodeString posPrefix; in testAPI() local 279 posPrefix = pat.getPositivePrefix(posPrefix); in testAPI() 280 logln((UnicodeString)"Positive prefix (should be +): " + posPrefix); in testAPI() 281 if(posPrefix != "+") { in testAPI()
|
D | loctest.cpp | 1159 UnicodeString posPrefix(u"\u0E3F"); in TestThaiCurrencyFormat() local 1167 if (thaiCurrency->getPositivePrefix(temp) != posPrefix) in TestThaiCurrencyFormat()
|
/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 2439 …int posMatch = compareAffix(text, position, false, true, posPrefix, parseComplexCurrency, type, cu… in subparse() 6116 public AffixForCurrency(String negPrefix, String negSuffix, String posPrefix, in AffixForCurrency() argument 6120 posPrefixPatternForCurrency = posPrefix; 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 2427 …int posMatch = compareAffix(text, position, false, true, posPrefix, parseComplexCurrency, type, cu… in subparse() 6012 public AffixForCurrency(String negPrefix, String negSuffix, String posPrefix, in AffixForCurrency() argument 6016 posPrefixPatternForCurrency = posPrefix; in AffixForCurrency()
|