/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
PropertiesAffixPatternProvider.java | 32 String ppo = AffixUtils.escape(properties.getPositivePrefix()); 33 String pso = AffixUtils.escape(properties.getPositiveSuffix()); 34 String npo = AffixUtils.escape(properties.getNegativePrefix()); 35 String nso = AffixUtils.escape(properties.getNegativeSuffix()); 106 return AffixUtils.containsType(posPrefix, AffixUtils.TYPE_PLUS_SIGN) 107 || AffixUtils.containsType(posSuffix, AffixUtils.TYPE_PLUS_SIGN); 118 return AffixUtils.containsType(negPrefix, AffixUtils.TYPE_MINUS_SIGN [all...] |
MutablePatternModifier.java | 7 import android.icu.impl.number.AffixUtils.SymbolProvider; 140 return patternInfo.containsSymbolType(AffixUtils.TYPE_CURRENCY_TRIPLE); 309 int result = AffixUtils.unescapedCount(currentAffix, true, this); // prefix length 317 int result = AffixUtils.unescapedCount(currentAffix, false, this); // prefix length 319 result += AffixUtils.unescapedCount(currentAffix, false, this); // suffix length 351 int length = AffixUtils.unescape(currentAffix, sb, position, this); 357 int length = AffixUtils.unescape(currentAffix, sb, position, this); 387 case AffixUtils.TYPE_MINUS_SIGN: 389 case AffixUtils.TYPE_PLUS_SIGN: 391 case AffixUtils.TYPE_PERCENT [all...] |
PatternStringUtils.java | 64 AffixUtils.escape(pp, sb); 158 AffixUtils.escape(ps, sb); 200 AffixUtils.escape(np, sb); 206 AffixUtils.escape(ns, sb);
|
PatternStringParser.java | 173 return AffixUtils.containsType(pattern, type); 665 + AffixUtils.estimateLength(posPrefix) 666 + AffixUtils.estimateLength(posSuffix);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
PropertiesAffixPatternProvider.java | 28 String ppo = AffixUtils.escape(properties.getPositivePrefix()); 29 String pso = AffixUtils.escape(properties.getPositiveSuffix()); 30 String npo = AffixUtils.escape(properties.getNegativePrefix()); 31 String nso = AffixUtils.escape(properties.getNegativeSuffix()); 102 return AffixUtils.containsType(posPrefix, AffixUtils.TYPE_PLUS_SIGN) 103 || AffixUtils.containsType(posSuffix, AffixUtils.TYPE_PLUS_SIGN); 114 return AffixUtils.containsType(negPrefix, AffixUtils.TYPE_MINUS_SIGN [all...] |
MutablePatternModifier.java | 6 import com.ibm.icu.impl.number.AffixUtils.SymbolProvider; 138 return patternInfo.containsSymbolType(AffixUtils.TYPE_CURRENCY_TRIPLE); 304 int result = AffixUtils.unescapedCount(currentAffix, true, this); // prefix length 312 int result = AffixUtils.unescapedCount(currentAffix, false, this); // prefix length 314 result += AffixUtils.unescapedCount(currentAffix, false, this); // suffix length 346 int length = AffixUtils.unescape(currentAffix, sb, position, this); 352 int length = AffixUtils.unescape(currentAffix, sb, position, this); 382 case AffixUtils.TYPE_MINUS_SIGN: 384 case AffixUtils.TYPE_PLUS_SIGN: 386 case AffixUtils.TYPE_PERCENT [all...] |
PatternStringUtils.java | 62 AffixUtils.escape(pp, sb); 156 AffixUtils.escape(ps, sb); 198 AffixUtils.escape(np, sb); 204 AffixUtils.escape(ns, sb);
|
PatternStringParser.java | 170 return AffixUtils.containsType(pattern, type); 659 + AffixUtils.estimateLength(posPrefix) 660 + AffixUtils.estimateLength(posSuffix);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
AffixUtilsTest.java | 11 import android.icu.impl.number.AffixUtils; 12 import android.icu.impl.number.AffixUtils.SymbolProvider; 26 case AffixUtils.TYPE_MINUS_SIGN: 28 case AffixUtils.TYPE_PLUS_SIGN: 30 case AffixUtils.TYPE_PERCENT: 32 case AffixUtils.TYPE_PERMILLE: 34 case AffixUtils.TYPE_CURRENCY_SINGLE: 36 case AffixUtils.TYPE_CURRENCY_DOUBLE: 38 case AffixUtils.TYPE_CURRENCY_TRIPLE: 40 case AffixUtils.TYPE_CURRENCY_QUAD [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
AffixUtilsTest.java | 10 import com.ibm.icu.impl.number.AffixUtils; 11 import com.ibm.icu.impl.number.AffixUtils.SymbolProvider; 23 case AffixUtils.TYPE_MINUS_SIGN: 25 case AffixUtils.TYPE_PLUS_SIGN: 27 case AffixUtils.TYPE_PERCENT: 29 case AffixUtils.TYPE_PERMILLE: 31 case AffixUtils.TYPE_CURRENCY_SINGLE: 33 case AffixUtils.TYPE_CURRENCY_DOUBLE: 35 case AffixUtils.TYPE_CURRENCY_TRIPLE: 37 case AffixUtils.TYPE_CURRENCY_QUAD [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
AffixPatternMatcher.java | 6 import android.icu.impl.number.AffixUtils; 15 public class AffixPatternMatcher extends SeriesMatcher implements AffixUtils.TokenConsumer { 45 AffixUtils.iterateWithConsumer(affixPattern, series); 57 * This method is NOT intended to be called directly. It is here for the AffixUtils.TokenConsumer 62 // This is called by AffixUtils.iterateWithConsumer() for each token. 75 case AffixUtils.TYPE_MINUS_SIGN: 78 case AffixUtils.TYPE_PLUS_SIGN: 81 case AffixUtils.TYPE_PERCENT: 84 case AffixUtils.TYPE_PERMILLE: 87 case AffixUtils.TYPE_CURRENCY_SINGLE [all...] |
AffixMatcher.java | 14 import android.icu.impl.number.AffixUtils; 63 && AffixUtils.containsOnlySymbolsAndIgnorables(posPrefixString, ignorables.getSet()) 64 && AffixUtils.containsOnlySymbolsAndIgnorables(posSuffixString, ignorables.getSet()) 65 && AffixUtils.containsOnlySymbolsAndIgnorables(negPrefixString, ignorables.getSet()) 66 && AffixUtils.containsOnlySymbolsAndIgnorables(negSuffixString, ignorables.getSet()) 69 && !AffixUtils.containsType(posSuffixString, AffixUtils.TYPE_PLUS_SIGN) 70 && !AffixUtils.containsType(posSuffixString, AffixUtils.TYPE_MINUS_SIGN) 71 && !AffixUtils.containsType(negSuffixString, AffixUtils.TYPE_PLUS_SIGN [all...] |
NumberParserImpl.java | 13 import android.icu.impl.number.AffixUtils; 214 if (!isStrict && affixProvider.containsSymbolType(AffixUtils.TYPE_PERCENT)) { 217 if (!isStrict && affixProvider.containsSymbolType(AffixUtils.TYPE_PERMILLE)) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
AffixPatternMatcher.java | 5 import com.ibm.icu.impl.number.AffixUtils; 13 public class AffixPatternMatcher extends SeriesMatcher implements AffixUtils.TokenConsumer { 43 AffixUtils.iterateWithConsumer(affixPattern, series); 55 * This method is NOT intended to be called directly. It is here for the AffixUtils.TokenConsumer 60 // This is called by AffixUtils.iterateWithConsumer() for each token. 73 case AffixUtils.TYPE_MINUS_SIGN: 76 case AffixUtils.TYPE_PLUS_SIGN: 79 case AffixUtils.TYPE_PERCENT: 82 case AffixUtils.TYPE_PERMILLE: 85 case AffixUtils.TYPE_CURRENCY_SINGLE [all...] |
AffixMatcher.java | 13 import com.ibm.icu.impl.number.AffixUtils; 61 && AffixUtils.containsOnlySymbolsAndIgnorables(posPrefixString, ignorables.getSet()) 62 && AffixUtils.containsOnlySymbolsAndIgnorables(posSuffixString, ignorables.getSet()) 63 && AffixUtils.containsOnlySymbolsAndIgnorables(negPrefixString, ignorables.getSet()) 64 && AffixUtils.containsOnlySymbolsAndIgnorables(negSuffixString, ignorables.getSet()) 67 && !AffixUtils.containsType(posSuffixString, AffixUtils.TYPE_PLUS_SIGN) 68 && !AffixUtils.containsType(posSuffixString, AffixUtils.TYPE_MINUS_SIGN) 69 && !AffixUtils.containsType(negSuffixString, AffixUtils.TYPE_PLUS_SIGN [all...] |
NumberParserImpl.java | 12 import com.ibm.icu.impl.number.AffixUtils; 212 if (!isStrict && affixProvider.containsSymbolType(AffixUtils.TYPE_PERCENT)) { 215 if (!isStrict && affixProvider.containsSymbolType(AffixUtils.TYPE_PERMILLE)) {
|
/external/icu/icu4c/source/test/intltest/ |
numbertest_affixutils.cpp | 80 UnicodeString result = AffixUtils::escape(input); 133 assertEquals(input, cas.currency, AffixUtils::hasCurrencySymbols(input, status)); 135 assertEquals(input, cas.expectedLength, AffixUtils::estimateLength(input, status)); 142 int32_t ulength = AffixUtils::unescapedCodePointCount(input, defaultProvider, status); 168 input, hasMinusSign, AffixUtils::containsType(input, TYPE_MINUS_SIGN, status)); 171 input, output, AffixUtils::replaceType(input, TYPE_MINUS_SIGN, u'+', status)); 188 AffixUtils::hasCurrencySymbols(str, status); 192 AffixUtils::estimateLength(str, status); 226 AffixUtils::unescape(input, sb, 0, provider, status); 236 AffixUtils::unescape(u"-+%", sb, 4, provider, status) [all...] |
/external/icu/icu4c/source/i18n/ |
number_affixutils.cpp | 19 int32_t AffixUtils::estimateLength(const UnicodeString &patternString, UErrorCode &status) { 85 UnicodeString AffixUtils::escape(const UnicodeString &input) { 131 Field AffixUtils::getFieldForType(AffixPatternType type) { 160 AffixUtils::unescape(const UnicodeString &affixPattern, NumberStringBuilder &output, int32_t position, 180 int32_t AffixUtils::unescapedCodePointCount(const UnicodeString &affixPattern, 199 AffixUtils::containsType(const UnicodeString &affixPattern, AffixPatternType type, UErrorCode &status) { 214 bool AffixUtils::hasCurrencySymbols(const UnicodeString &affixPattern, UErrorCode &status) { 229 UnicodeString AffixUtils::replaceType(const UnicodeString &affixPattern, AffixPatternType type, 246 bool AffixUtils::containsOnlySymbolsAndIgnorables(const UnicodeString& affixPattern, 262 void AffixUtils::iterateWithConsumer(const UnicodeString& affixPattern, TokenConsumer& consumer [all...] |
number_mapper.cpp | 337 UnicodeString ppo = AffixUtils::escape(properties.positivePrefix); 338 UnicodeString pso = AffixUtils::escape(properties.positiveSuffix); 339 UnicodeString npo = AffixUtils::escape(properties.negativePrefix); 340 UnicodeString nso = AffixUtils::escape(properties.negativeSuffix); 413 return AffixUtils::containsType(posPrefix, TYPE_PLUS_SIGN, localStatus) || 414 AffixUtils::containsType(posSuffix, TYPE_PLUS_SIGN, localStatus); 424 return AffixUtils::containsType(negPrefix, TYPE_MINUS_SIGN, localStatus) || 425 AffixUtils::containsType(negSuffix, TYPE_MINUS_SIGN, localStatus); 430 return AffixUtils::hasCurrencySymbols(posPrefix, localStatus) || 431 AffixUtils::hasCurrencySymbols(posSuffix, localStatus) | [all...] |
numparse_affixes.cpp | 70 // This is called by AffixUtils.iterateWithConsumer() for each token. 243 AffixUtils::iterateWithConsumer(affixPattern, builder, status); 277 AffixUtils::containsOnlySymbolsAndIgnorables(posPrefixString, *ignorables.getSet(), status) && 278 AffixUtils::containsOnlySymbolsAndIgnorables(posSuffixString, *ignorables.getSet(), status) && 279 AffixUtils::containsOnlySymbolsAndIgnorables(negPrefixString, *ignorables.getSet(), status) && 280 AffixUtils::containsOnlySymbolsAndIgnorables(negSuffixString, *ignorables.getSet(), status) 283 && !AffixUtils::containsType(posSuffixString, TYPE_PLUS_SIGN, status) && 284 !AffixUtils::containsType(posSuffixString, TYPE_MINUS_SIGN, status) && 285 !AffixUtils::containsType(negSuffixString, TYPE_PLUS_SIGN, status) && 286 !AffixUtils::containsType(negSuffixString, TYPE_MINUS_SIGN, status)) [all...] |
number_patternmodifier.cpp | 214 int result = AffixUtils::unescapedCodePointCount(currentAffix, *this, status); // prefix length 226 int result = AffixUtils::unescapedCodePointCount(currentAffix, *this, status); // prefix length 228 result += AffixUtils::unescapedCodePointCount(currentAffix, *this, status); // suffix length 258 int length = AffixUtils::unescape(currentAffix, sb, position, *this, status); 264 int length = AffixUtils::unescape(currentAffix, sb, position, *this, status); 316 // Never called by AffixUtils
|
number_affixutils.h | 106 class U_I18N_API AffixUtils {
|
number_patternstring.cpp | 110 return AffixUtils::containsType(pattern, type, status); 595 AffixUtils::estimateLength(posPrefix, status) + 596 AffixUtils::estimateLength(posSuffix, status); 680 sb.append(AffixUtils::escape(pp)); 777 sb.append(AffixUtils::escape(ps)); 819 sb.append(AffixUtils::escape(np)); 829 sb.append(AffixUtils::escape(ns)); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DecimalFormat.java | 16 import android.icu.impl.number.AffixUtils; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DecimalFormat.java | 15 import com.ibm.icu.impl.number.AffixUtils; [all...] |