/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | AffixUtils.java | 323 CharSequence affixPattern, in unescape() argument 328 assert affixPattern != null; in unescape() 331 while (hasNext(tag, affixPattern)) { in unescape() 332 tag = nextToken(tag, affixPattern); in unescape() 361 CharSequence affixPattern, in unescapedCount() argument 366 while (hasNext(tag, affixPattern)) { in unescapedCount() 367 tag = nextToken(tag, affixPattern); in unescapedCount() 393 public static boolean containsType(CharSequence affixPattern, int type) { in containsType() argument 394 if (affixPattern == null || affixPattern.length() == 0) { in containsType() 398 while (hasNext(tag, affixPattern)) { in containsType() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | AffixUtils.java | 315 CharSequence affixPattern, in unescape() argument 320 assert affixPattern != null; in unescape() 323 while (hasNext(tag, affixPattern)) { in unescape() 324 tag = nextToken(tag, affixPattern); in unescape() 353 CharSequence affixPattern, in unescapedCount() argument 358 while (hasNext(tag, affixPattern)) { in unescapedCount() 359 tag = nextToken(tag, affixPattern); in unescapedCount() 385 public static boolean containsType(CharSequence affixPattern, int type) { in containsType() argument 386 if (affixPattern == null || affixPattern.length() == 0) { in containsType() 390 while (hasNext(tag, affixPattern)) { in containsType() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | AffixPatternMatcher.java | 17 private final String affixPattern; field in AffixPatternMatcher 24 private AffixPatternMatcher(String affixPattern) { in AffixPatternMatcher() argument 25 this.affixPattern = affixPattern; in AffixPatternMatcher() 33 String affixPattern, in fromAffixPattern() argument 36 if (affixPattern.isEmpty()) { in fromAffixPattern() 40 AffixPatternMatcher series = new AffixPatternMatcher(affixPattern); in fromAffixPattern() 45 AffixUtils.iterateWithConsumer(affixPattern, series); in fromAffixPattern() 111 return affixPattern; in getPattern() 120 return affixPattern.equals(((AffixPatternMatcher) other).affixPattern); in equals() 125 return affixPattern.hashCode(); in hashCode() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | AffixPatternMatcher.java | 15 private final String affixPattern; field in AffixPatternMatcher 22 private AffixPatternMatcher(String affixPattern) { in AffixPatternMatcher() argument 23 this.affixPattern = affixPattern; in AffixPatternMatcher() 31 String affixPattern, in fromAffixPattern() argument 34 if (affixPattern.isEmpty()) { in fromAffixPattern() 38 AffixPatternMatcher series = new AffixPatternMatcher(affixPattern); in fromAffixPattern() 43 AffixUtils.iterateWithConsumer(affixPattern, series); in fromAffixPattern() 109 return affixPattern; in getPattern() 118 return affixPattern.equals(((AffixPatternMatcher) other).affixPattern); in equals() 123 return affixPattern.hashCode(); in hashCode() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_affixutils.cpp | 161 AffixUtils::unescape(const UnicodeString &affixPattern, FormattedStringBuilder &output, int32_t pos… in unescape() argument 165 while (hasNext(tag, affixPattern)) { in unescape() 166 tag = nextToken(tag, affixPattern, status); in unescape() 185 int32_t AffixUtils::unescapedCodePointCount(const UnicodeString &affixPattern, in unescapedCodePointCount() argument 189 while (hasNext(tag, affixPattern)) { in unescapedCodePointCount() 190 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount() 204 AffixUtils::containsType(const UnicodeString &affixPattern, AffixPatternType type, UErrorCode &stat… in containsType() argument 205 if (affixPattern.length() == 0) { in containsType() 209 while (hasNext(tag, affixPattern)) { in containsType() 210 tag = nextToken(tag, affixPattern, status); in containsType() [all …]
|
D | number_affixutils.h | 146 static int32_t unescape(const UnicodeString& affixPattern, FormattedStringBuilder& output, 158 static int32_t unescapedCodePointCount(const UnicodeString& affixPattern, 169 …static bool containsType(const UnicodeString& affixPattern, AffixPatternType type, UErrorCode& sta… 177 static bool hasCurrencySymbols(const UnicodeString& affixPattern, UErrorCode& status); 187 static UnicodeString replaceType(const UnicodeString& affixPattern, AffixPatternType type, 194 static bool containsOnlySymbolsAndIgnorables(const UnicodeString& affixPattern, 200 static void iterateWithConsumer(const UnicodeString& affixPattern, TokenConsumer& consumer,
|
D | numparse_affixes.cpp | 197 AffixPatternMatcher AffixPatternMatcher::fromAffixPattern(const UnicodeString& affixPattern, in fromAffixPattern() argument 201 if (affixPattern.isEmpty()) { in fromAffixPattern() 214 AffixPatternMatcherBuilder builder(affixPattern, tokenWarehouse, ignorables); in fromAffixPattern() 215 AffixUtils::iterateWithConsumer(affixPattern, builder, status); in fromAffixPattern()
|
D | numparse_affixes.h | 153 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
|
/external/cronet/third_party/icu/source/i18n/ |
D | number_affixutils.cpp | 161 AffixUtils::unescape(const UnicodeString &affixPattern, FormattedStringBuilder &output, int32_t pos… in unescape() argument 165 while (hasNext(tag, affixPattern)) { in unescape() 166 tag = nextToken(tag, affixPattern, status); in unescape() 185 int32_t AffixUtils::unescapedCodePointCount(const UnicodeString &affixPattern, in unescapedCodePointCount() argument 189 while (hasNext(tag, affixPattern)) { in unescapedCodePointCount() 190 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount() 204 AffixUtils::containsType(const UnicodeString &affixPattern, AffixPatternType type, UErrorCode &stat… in containsType() argument 205 if (affixPattern.length() == 0) { in containsType() 209 while (hasNext(tag, affixPattern)) { in containsType() 210 tag = nextToken(tag, affixPattern, status); in containsType() [all …]
|
D | number_affixutils.h | 146 static int32_t unescape(const UnicodeString& affixPattern, FormattedStringBuilder& output, 158 static int32_t unescapedCodePointCount(const UnicodeString& affixPattern, 169 …static bool containsType(const UnicodeString& affixPattern, AffixPatternType type, UErrorCode& sta… 177 static bool hasCurrencySymbols(const UnicodeString& affixPattern, UErrorCode& status); 187 static UnicodeString replaceType(const UnicodeString& affixPattern, AffixPatternType type, 194 static bool containsOnlySymbolsAndIgnorables(const UnicodeString& affixPattern, 200 static void iterateWithConsumer(const UnicodeString& affixPattern, TokenConsumer& consumer,
|
D | numparse_affixes.cpp | 197 AffixPatternMatcher AffixPatternMatcher::fromAffixPattern(const UnicodeString& affixPattern, in fromAffixPattern() argument 201 if (affixPattern.isEmpty()) { in fromAffixPattern() 214 AffixPatternMatcherBuilder builder(affixPattern, tokenWarehouse, ignorables); in fromAffixPattern() 215 AffixUtils::iterateWithConsumer(affixPattern, builder, status); in fromAffixPattern()
|
D | numparse_affixes.h | 153 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
|
/external/icu/libicu/cts_headers/ |
D | number_affixutils.h | 146 static int32_t unescape(const UnicodeString& affixPattern, FormattedStringBuilder& output, 158 static int32_t unescapedCodePointCount(const UnicodeString& affixPattern, 169 …static bool containsType(const UnicodeString& affixPattern, AffixPatternType type, UErrorCode& sta… 177 static bool hasCurrencySymbols(const UnicodeString& affixPattern, UErrorCode& status); 187 static UnicodeString replaceType(const UnicodeString& affixPattern, AffixPatternType type, 194 static bool containsOnlySymbolsAndIgnorables(const UnicodeString& affixPattern, 200 static void iterateWithConsumer(const UnicodeString& affixPattern, TokenConsumer& consumer,
|
D | numparse_affixes.h | 153 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
|
/external/cronet/third_party/icu/source/test/intltest/ |
D | numbertest_parse.cpp | 326 const char16_t* affixPattern; in testAffixPatternMatcher() member 337 UnicodeString affixPattern(cas.affixPattern); in testAffixPatternMatcher() local 343 affixPattern, warehouse, parseFlags, &success, status); in testAffixPatternMatcher() 347 … assertEquals(affixPattern + " " + cas.exactMatch, cas.expectedMatcherLength, matcher.length()); in testAffixPatternMatcher() 353 … assertEquals(affixPattern + " " + cas.exactMatch, sampleParseableString.length(), result.charEnd); in testAffixPatternMatcher()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_parse.cpp | 326 const char16_t* affixPattern; in testAffixPatternMatcher() member 337 UnicodeString affixPattern(cas.affixPattern); in testAffixPatternMatcher() local 343 affixPattern, warehouse, parseFlags, &success, status); in testAffixPatternMatcher() 347 … assertEquals(affixPattern + " " + cas.exactMatch, cas.expectedMatcherLength, matcher.length()); in testAffixPatternMatcher() 353 … assertEquals(affixPattern + " " + cas.exactMatch, sampleParseableString.length(), result.charEnd); in testAffixPatternMatcher()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberParserTest.java | 329 String affixPattern = (String) cas[1]; in testAffixPatternMatcher() local 335 .fromAffixPattern(affixPattern, factory, parseFlags); in testAffixPatternMatcher() 338 assertEquals(affixPattern + " " + exactMatch, expectedMatcherLength, matcher.length()); in testAffixPatternMatcher() 344 assertEquals(affixPattern + " " + exactMatch, in testAffixPatternMatcher()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberParserTest.java | 326 String affixPattern = (String) cas[1]; in testAffixPatternMatcher() local 332 .fromAffixPattern(affixPattern, factory, parseFlags); in testAffixPatternMatcher() 335 assertEquals(affixPattern + " " + exactMatch, expectedMatcherLength, matcher.length()); in testAffixPatternMatcher() 341 assertEquals(affixPattern + " " + exactMatch, in testAffixPatternMatcher()
|