Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DIgnorablesMatcher.java15 public class IgnorablesMatcher extends SymbolMatcher implements NumberParseMatcher.Flexible { class
17 public static final IgnorablesMatcher DEFAULT = new IgnorablesMatcher(
20 public static final IgnorablesMatcher STRICT = new IgnorablesMatcher(
23 public static IgnorablesMatcher getInstance(UnicodeSet ignorables) { in getInstance()
25 return new IgnorablesMatcher(ignorables); in getInstance()
28 private IgnorablesMatcher(UnicodeSet ignorables) { in IgnorablesMatcher() method in IgnorablesMatcher
DAffixTokenMatcherFactory.java19 public IgnorablesMatcher ignorables;
43 public IgnorablesMatcher ignorables() { in ignorables()
DNumberParserImpl.java47 IgnorablesMatcher ignorables = IgnorablesMatcher.DEFAULT; in createSimpleParser()
182IgnorablesMatcher ignorables = isStrict ? IgnorablesMatcher.STRICT : IgnorablesMatcher.DEFAULT; in createParserFromProperties()
DAffixMatcher.java51 IgnorablesMatcher ignorables, in isInteresting()
84 IgnorablesMatcher ignorables, in createMatchers()
DAffixPatternMatcher.java21 private IgnorablesMatcher ignorables;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DIgnorablesMatcher.java13 public class IgnorablesMatcher extends SymbolMatcher implements NumberParseMatcher.Flexible { class
15 public static final IgnorablesMatcher DEFAULT = new IgnorablesMatcher(
18 public static final IgnorablesMatcher STRICT = new IgnorablesMatcher(
21 public static IgnorablesMatcher getInstance(UnicodeSet ignorables) { in getInstance()
23 return new IgnorablesMatcher(ignorables); in getInstance()
26 private IgnorablesMatcher(UnicodeSet ignorables) { in IgnorablesMatcher() method in IgnorablesMatcher
DAffixTokenMatcherFactory.java17 public IgnorablesMatcher ignorables;
41 public IgnorablesMatcher ignorables() { in ignorables()
DNumberParserImpl.java45 IgnorablesMatcher ignorables = IgnorablesMatcher.DEFAULT; in createSimpleParser()
180IgnorablesMatcher ignorables = isStrict ? IgnorablesMatcher.STRICT : IgnorablesMatcher.DEFAULT; in createParserFromProperties()
DAffixMatcher.java49 IgnorablesMatcher ignorables, in isInteresting()
82 IgnorablesMatcher ignorables, in createMatchers()
DAffixPatternMatcher.java19 private IgnorablesMatcher ignorables;
/external/icu/icu4c/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()
Dnumparse_impl.h74 IgnorablesMatcher ignorables;
Dnumparse_impl.cpp43 IgnorablesMatcher& ignorables = parser->fLocalMatchers.ignorables; in createSimpleParser()
134 IgnorablesMatcher& ignorables = parser->fLocalMatchers.ignorables; in createParserFromProperties()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberParserTest.java18 import android.icu.impl.number.parse.IgnorablesMatcher;
216 series.addMatcher(IgnorablesMatcher.DEFAULT); in testSeriesMatcher()
218 series.addMatcher(IgnorablesMatcher.DEFAULT); in testSeriesMatcher()
311 factory.ignorables = IgnorablesMatcher.DEFAULT; in testAffixPatternMatcher()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_parse.cpp191 IgnorablesMatcher m2(unisets::DEFAULT_IGNORABLES); in testSeriesMatcher()
193 IgnorablesMatcher m4(unisets::DEFAULT_IGNORABLES); in testSeriesMatcher()
241 IgnorablesMatcher ignorables(unisets::DEFAULT_IGNORABLES); in testCombinedCurrencyMatcher()
308 IgnorablesMatcher ignorables(unisets::DEFAULT_IGNORABLES); in testAffixPatternMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java17 import com.ibm.icu.impl.number.parse.IgnorablesMatcher;
213 series.addMatcher(IgnorablesMatcher.DEFAULT); in testSeriesMatcher()
215 series.addMatcher(IgnorablesMatcher.DEFAULT); in testSeriesMatcher()
308 factory.ignorables = IgnorablesMatcher.DEFAULT; in testAffixPatternMatcher()