/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | AffixUtils.java | 310 CharSequence affixPattern, in unescape() argument 315 assert affixPattern != null; in unescape() 318 while (hasNext(tag, affixPattern)) { in unescape() 319 tag = nextToken(tag, affixPattern); in unescape() 348 CharSequence affixPattern, in unescapedCount() argument 353 while (hasNext(tag, affixPattern)) { in unescapedCount() 354 tag = nextToken(tag, affixPattern); in unescapedCount() 380 public static boolean containsType(CharSequence affixPattern, int type) { in containsType() argument 381 if (affixPattern == null || affixPattern.length() == 0) { in containsType() 385 while (hasNext(tag, affixPattern)) { in containsType() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | AffixUtils.java | 318 CharSequence affixPattern, in unescape() argument 323 assert affixPattern != null; in unescape() 326 while (hasNext(tag, affixPattern)) { in unescape() 327 tag = nextToken(tag, affixPattern); in unescape() 356 CharSequence affixPattern, in unescapedCount() argument 361 while (hasNext(tag, affixPattern)) { in unescapedCount() 362 tag = nextToken(tag, affixPattern); in unescapedCount() 388 public static boolean containsType(CharSequence affixPattern, int type) { in containsType() argument 389 if (affixPattern == null || affixPattern.length() == 0) { in containsType() 393 while (hasNext(tag, affixPattern)) { in containsType() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | number_affixutils.cpp | 159 AffixUtils::unescape(const UnicodeString &affixPattern, FormattedStringBuilder &output, int32_t pos… in unescape() argument 163 while (hasNext(tag, affixPattern)) { in unescape() 164 tag = nextToken(tag, affixPattern, status); in unescape() 183 int32_t AffixUtils::unescapedCodePointCount(const UnicodeString &affixPattern, in unescapedCodePointCount() argument 187 while (hasNext(tag, affixPattern)) { in unescapedCodePointCount() 188 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount() 202 AffixUtils::containsType(const UnicodeString &affixPattern, AffixPatternType type, UErrorCode &stat… in containsType() argument 203 if (affixPattern.length() == 0) { in containsType() 207 while (hasNext(tag, affixPattern)) { in containsType() 208 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 | 193 AffixPatternMatcher AffixPatternMatcher::fromAffixPattern(const UnicodeString& affixPattern, in fromAffixPattern() argument 197 if (affixPattern.isEmpty()) { in fromAffixPattern() 210 AffixPatternMatcherBuilder builder(affixPattern, tokenWarehouse, ignorables); in fromAffixPattern() 211 AffixUtils::iterateWithConsumer(affixPattern, builder, status); in fromAffixPattern()
|
D | numparse_affixes.h | 151 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | number_affixutils.cpp | 160 AffixUtils::unescape(const UnicodeString &affixPattern, NumberStringBuilder &output, int32_t positi… in unescape() argument 164 while (hasNext(tag, affixPattern)) { in unescape() 165 tag = nextToken(tag, affixPattern, status); in unescape() 180 int32_t AffixUtils::unescapedCodePointCount(const UnicodeString &affixPattern, in unescapedCodePointCount() argument 184 while (hasNext(tag, affixPattern)) { in unescapedCodePointCount() 185 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount() 199 AffixUtils::containsType(const UnicodeString &affixPattern, AffixPatternType type, UErrorCode &stat… in containsType() argument 200 if (affixPattern.length() == 0) { in containsType() 204 while (hasNext(tag, affixPattern)) { in containsType() 205 tag = nextToken(tag, affixPattern, status); in containsType() [all …]
|
D | number_affixutils.h | 146 static int32_t unescape(const UnicodeString& affixPattern, NumberStringBuilder& output, 157 static int32_t unescapedCodePointCount(const UnicodeString& affixPattern, 168 …static bool containsType(const UnicodeString& affixPattern, AffixPatternType type, UErrorCode& sta… 176 static bool hasCurrencySymbols(const UnicodeString& affixPattern, UErrorCode& status); 186 static UnicodeString replaceType(const UnicodeString& affixPattern, AffixPatternType type, 193 static bool containsOnlySymbolsAndIgnorables(const UnicodeString& affixPattern, 199 static void iterateWithConsumer(const UnicodeString& affixPattern, TokenConsumer& consumer,
|
D | numparse_affixes.cpp | 225 AffixPatternMatcher AffixPatternMatcher::fromAffixPattern(const UnicodeString& affixPattern, in fromAffixPattern() argument 229 if (affixPattern.isEmpty()) { in fromAffixPattern() 242 AffixPatternMatcherBuilder builder(affixPattern, tokenWarehouse, ignorables); in fromAffixPattern() 243 AffixUtils::iterateWithConsumer(affixPattern, builder, status); in fromAffixPattern()
|
D | numparse_affixes.h | 181 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
|
/third_party/node/deps/icu-small/source/i18n/ |
D | number_affixutils.cpp | 162 AffixUtils::unescape(const UnicodeString &affixPattern, FormattedStringBuilder &output, int32_t pos… in unescape() argument 166 while (hasNext(tag, affixPattern)) { in unescape() 167 tag = nextToken(tag, affixPattern, status); in unescape() 186 int32_t AffixUtils::unescapedCodePointCount(const UnicodeString &affixPattern, in unescapedCodePointCount() argument 190 while (hasNext(tag, affixPattern)) { in unescapedCodePointCount() 191 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount() 205 AffixUtils::containsType(const UnicodeString &affixPattern, AffixPatternType type, UErrorCode &stat… in containsType() argument 206 if (affixPattern.length() == 0) { in containsType() 210 while (hasNext(tag, affixPattern)) { in containsType() 211 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 | 193 AffixPatternMatcher AffixPatternMatcher::fromAffixPattern(const UnicodeString& affixPattern, in fromAffixPattern() argument 197 if (affixPattern.isEmpty()) { in fromAffixPattern() 210 AffixPatternMatcherBuilder builder(affixPattern, tokenWarehouse, ignorables); in fromAffixPattern() 211 AffixUtils::iterateWithConsumer(affixPattern, builder, status); in fromAffixPattern()
|
D | numparse_affixes.h | 151 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
|
/third_party/icu/icu4c/source/i18n/ |
D | number_affixutils.cpp | 159 AffixUtils::unescape(const UnicodeString &affixPattern, FormattedStringBuilder &output, int32_t pos… in unescape() argument 163 while (hasNext(tag, affixPattern)) { in unescape() 164 tag = nextToken(tag, affixPattern, status); in unescape() 183 int32_t AffixUtils::unescapedCodePointCount(const UnicodeString &affixPattern, in unescapedCodePointCount() argument 187 while (hasNext(tag, affixPattern)) { in unescapedCodePointCount() 188 tag = nextToken(tag, affixPattern, status); in unescapedCodePointCount() 202 AffixUtils::containsType(const UnicodeString &affixPattern, AffixPatternType type, UErrorCode &stat… in containsType() argument 203 if (affixPattern.length() == 0) { in containsType() 207 while (hasNext(tag, affixPattern)) { in containsType() 208 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 | 193 AffixPatternMatcher AffixPatternMatcher::fromAffixPattern(const UnicodeString& affixPattern, in fromAffixPattern() argument 197 if (affixPattern.isEmpty()) { in fromAffixPattern() 210 AffixPatternMatcherBuilder builder(affixPattern, tokenWarehouse, ignorables); in fromAffixPattern() 211 AffixUtils::iterateWithConsumer(affixPattern, builder, status); in fromAffixPattern()
|
D | numparse_affixes.h | 151 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
|
/third_party/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 …]
|
/third_party/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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
|
/third_party/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()
|