Home
last modified time | relevance | path

Searched refs:IgnorablesMatcher (Results 1 – 25 of 43) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DIgnorablesMatcher.java13 public class IgnorablesMatcher extends SymbolMatcher implements NumberParseMatcher.Flexible { class
15 private static final IgnorablesMatcher DEFAULT = new IgnorablesMatcher(
18 private static final IgnorablesMatcher STRICT = new IgnorablesMatcher(
21 private static final IgnorablesMatcher JAVA_COMPATIBILITY = new IgnorablesMatcher(
24 public static IgnorablesMatcher getInstance(int parseFlags) { in getInstance()
34 private IgnorablesMatcher(UnicodeSet ignorables) { in IgnorablesMatcher() method in IgnorablesMatcher
DAffixTokenMatcherFactory.java17 public IgnorablesMatcher ignorables;
41 public IgnorablesMatcher ignorables() { in ignorables()
DScientificMatcher.java20 private final IgnorablesMatcher ignorablesMatcher;
34 … ignorablesMatcher = IgnorablesMatcher.getInstance(ParsingUtils.PARSE_FLAG_STRICT_IGNORABLES); in ScientificMatcher()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DIgnorablesMatcher.java15 public class IgnorablesMatcher extends SymbolMatcher implements NumberParseMatcher.Flexible { class
17 private static final IgnorablesMatcher DEFAULT = new IgnorablesMatcher(
20 private static final IgnorablesMatcher STRICT = new IgnorablesMatcher(
23 private static final IgnorablesMatcher JAVA_COMPATIBILITY = new IgnorablesMatcher(
26 public static IgnorablesMatcher getInstance(int parseFlags) { in getInstance()
36 private IgnorablesMatcher(UnicodeSet ignorables) { in IgnorablesMatcher() method in IgnorablesMatcher
DAffixTokenMatcherFactory.java19 public IgnorablesMatcher ignorables;
43 public IgnorablesMatcher ignorables() { in ignorables()
DScientificMatcher.java24 private final IgnorablesMatcher ignorablesMatcher;
38 … ignorablesMatcher = IgnorablesMatcher.getInstance(ParsingUtils.PARSE_FLAG_STRICT_IGNORABLES); in ScientificMatcher()
/third_party/node/deps/icu-small/source/i18n/
Dnumparse_symbols.cpp72 IgnorablesMatcher::IgnorablesMatcher(parse_flags_t parseFlags) : in IgnorablesMatcher() function in IgnorablesMatcher
80 bool IgnorablesMatcher::isFlexible() const { in isFlexible()
84 UnicodeString IgnorablesMatcher::toString() const { in toString()
88 bool IgnorablesMatcher::isDisabled(const ParsedNumber&) const { in isDisabled()
92 void IgnorablesMatcher::accept(StringSegment&, ParsedNumber&) const { in accept()
Dnumparse_affixes.h67 IgnorablesMatcher& ignorables;
100 IgnorablesMatcher& ignorables();
126 IgnorablesMatcher* ignorables);
140 IgnorablesMatcher* fIgnorables;
203 const IgnorablesMatcher& ignorables, parse_flags_t parseFlags,
216 …static bool isInteresting(const AffixPatternProvider& patternInfo, const IgnorablesMatcher& ignora…
Dnumparse_symbols.h49 class U_I18N_API IgnorablesMatcher : public SymbolMatcher {
51 IgnorablesMatcher() = default; // WARNING: Leaves the object in an unusable state
53 IgnorablesMatcher(parse_flags_t parseFlags);
Dnumparse_affixes.cpp63 IgnorablesMatcher* ignorables) in AffixPatternMatcherBuilder()
157 IgnorablesMatcher& AffixTokenMatcherWarehouse::ignorables() { in ignorables()
203 IgnorablesMatcher* ignorables; in fromAffixPattern()
234 … const IgnorablesMatcher& ignorables, parse_flags_t parseFlags, in isInteresting()
265 const IgnorablesMatcher& ignorables, in createAffixMatchers()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumparse_symbols.cpp72 IgnorablesMatcher::IgnorablesMatcher(parse_flags_t parseFlags) : in IgnorablesMatcher() function in IgnorablesMatcher
80 bool IgnorablesMatcher::isFlexible() const { in isFlexible()
84 UnicodeString IgnorablesMatcher::toString() const { in toString()
88 bool IgnorablesMatcher::isDisabled(const ParsedNumber&) const { in isDisabled()
92 void IgnorablesMatcher::accept(StringSegment&, ParsedNumber&) const { in accept()
Dnumparse_affixes.h67 IgnorablesMatcher& ignorables;
100 IgnorablesMatcher& ignorables();
126 IgnorablesMatcher* ignorables);
140 IgnorablesMatcher* fIgnorables;
203 const IgnorablesMatcher& ignorables, parse_flags_t parseFlags,
216 …static bool isInteresting(const AffixPatternProvider& patternInfo, const IgnorablesMatcher& ignora…
Dnumparse_symbols.h49 class U_I18N_API IgnorablesMatcher : public SymbolMatcher {
51 IgnorablesMatcher() = default; // WARNING: Leaves the object in an unusable state
53 IgnorablesMatcher(parse_flags_t parseFlags);
Dnumparse_affixes.cpp63 IgnorablesMatcher* ignorables) in AffixPatternMatcherBuilder()
157 IgnorablesMatcher& AffixTokenMatcherWarehouse::ignorables() { in ignorables()
203 IgnorablesMatcher* ignorables; in fromAffixPattern()
234 … const IgnorablesMatcher& ignorables, parse_flags_t parseFlags, in isInteresting()
265 const IgnorablesMatcher& ignorables, in createAffixMatchers()
/third_party/icu/icu4c/source/i18n/
Dnumparse_symbols.cpp72 IgnorablesMatcher::IgnorablesMatcher(parse_flags_t parseFlags) : in IgnorablesMatcher() function in IgnorablesMatcher
80 bool IgnorablesMatcher::isFlexible() const { in isFlexible()
84 UnicodeString IgnorablesMatcher::toString() const { in toString()
88 bool IgnorablesMatcher::isDisabled(const ParsedNumber&) const { in isDisabled()
92 void IgnorablesMatcher::accept(StringSegment&, ParsedNumber&) const { in accept()
Dnumparse_affixes.h67 IgnorablesMatcher& ignorables;
100 IgnorablesMatcher& ignorables();
126 IgnorablesMatcher* ignorables);
140 IgnorablesMatcher* fIgnorables;
203 const IgnorablesMatcher& ignorables, parse_flags_t parseFlags,
216 …static bool isInteresting(const AffixPatternProvider& patternInfo, const IgnorablesMatcher& ignora…
Dnumparse_symbols.h49 class U_I18N_API IgnorablesMatcher : public SymbolMatcher {
51 IgnorablesMatcher() = default; // WARNING: Leaves the object in an unusable state
53 IgnorablesMatcher(parse_flags_t parseFlags);
Dnumparse_affixes.cpp63 IgnorablesMatcher* ignorables) in AffixPatternMatcherBuilder()
157 IgnorablesMatcher& AffixTokenMatcherWarehouse::ignorables() { in ignorables()
203 IgnorablesMatcher* ignorables; in fromAffixPattern()
234 … const IgnorablesMatcher& ignorables, parse_flags_t parseFlags, in isInteresting()
265 const IgnorablesMatcher& ignorables, in createAffixMatchers()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_symbols.cpp71 IgnorablesMatcher::IgnorablesMatcher(unisets::Key key) in IgnorablesMatcher() function in IgnorablesMatcher
75 bool IgnorablesMatcher::isFlexible() const { in isFlexible()
79 UnicodeString IgnorablesMatcher::toString() const { in toString()
83 bool IgnorablesMatcher::isDisabled(const ParsedNumber&) const { in isDisabled()
87 void IgnorablesMatcher::accept(StringSegment&, ParsedNumber&) const { in accept()
Dnumparse_affixes.h97 IgnorablesMatcher& ignorables;
130 IgnorablesMatcher& ignorables();
156 IgnorablesMatcher* ignorables);
170 IgnorablesMatcher* fIgnorables;
232 const IgnorablesMatcher& ignorables, parse_flags_t parseFlags,
245 …static bool isInteresting(const AffixPatternProvider& patternInfo, const IgnorablesMatcher& ignora…
Dnumparse_symbols.h49 class U_I18N_API IgnorablesMatcher : public SymbolMatcher {
51 IgnorablesMatcher() = default; // WARNING: Leaves the object in an unusable state
53 IgnorablesMatcher(unisets::Key key);
Dnumparse_affixes.cpp62 IgnorablesMatcher* ignorables) in AffixPatternMatcherBuilder()
196 IgnorablesMatcher& AffixTokenMatcherWarehouse::ignorables() { in ignorables()
235 IgnorablesMatcher* ignorables; in fromAffixPattern()
265 … const IgnorablesMatcher& ignorables, parse_flags_t parseFlags, in isInteresting()
296 const IgnorablesMatcher& ignorables, in createAffixMatchers()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java17 import com.ibm.icu.impl.number.parse.IgnorablesMatcher;
217 series.addMatcher(IgnorablesMatcher.getInstance(0)); in testSeriesMatcher()
219 series.addMatcher(IgnorablesMatcher.getInstance(0)); in testSeriesMatcher()
312 factory.ignorables = IgnorablesMatcher.getInstance(0); in testAffixPatternMatcher()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DNumberParserTest.java18 import ohos.global.icu.impl.number.parse.IgnorablesMatcher;
220 series.addMatcher(IgnorablesMatcher.getInstance(0)); in testSeriesMatcher()
222 series.addMatcher(IgnorablesMatcher.getInstance(0)); in testSeriesMatcher()
315 factory.ignorables = IgnorablesMatcher.getInstance(0); in testAffixPatternMatcher()
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_parse.cpp195 IgnorablesMatcher m2(0); in testSeriesMatcher()
197 IgnorablesMatcher m4(0); in testSeriesMatcher()
246 IgnorablesMatcher ignorables(0); in testCombinedCurrencyMatcher()
313 IgnorablesMatcher ignorables(0); in testAffixPatternMatcher()

12