Searched refs:AffixMatcher (Results 1 – 6 of 6) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | AffixMatcher.java | 21 public class AffixMatcher implements NumberParseMatcher { class 30 public static final Comparator<AffixMatcher> COMPARATOR = new Comparator<AffixMatcher>() { 32 public int compare(AffixMatcher lhs, AffixMatcher rhs) { 91 ArrayList<AffixMatcher> matchers = new ArrayList<>(6); in createMatchers() 154 private static final AffixMatcher getInstance( in getInstance() 159 return new AffixMatcher(prefix, suffix, flags); in getInstance() 162 private AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) { in AffixMatcher() method in AffixMatcher 254 if (!(_other instanceof AffixMatcher)) { in equals() 257 AffixMatcher other = (AffixMatcher) _other; in equals()
|
D | NumberParserImpl.java | 55 AffixMatcher.createMatchers(patternInfo, parser, factory, ignorables, parseFlags); in createSimpleParser() 196 AffixMatcher.createMatchers(affixProvider, parser, factory, ignorables, parseFlags); in createParserFromProperties()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | AffixMatcher.java | 23 public class AffixMatcher implements NumberParseMatcher { class 32 public static final Comparator<AffixMatcher> COMPARATOR = new Comparator<AffixMatcher>() { 34 public int compare(AffixMatcher lhs, AffixMatcher rhs) { 93 ArrayList<AffixMatcher> matchers = new ArrayList<>(6); in createMatchers() 156 private static final AffixMatcher getInstance( in getInstance() 161 return new AffixMatcher(prefix, suffix, flags); in getInstance() 164 private AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) { in AffixMatcher() method in AffixMatcher 256 if (!(_other instanceof AffixMatcher)) { in equals() 259 AffixMatcher other = (AffixMatcher) _other; in equals()
|
D | NumberParserImpl.java | 57 AffixMatcher.createMatchers(patternInfo, parser, factory, ignorables, parseFlags); in createSimpleParser() 198 AffixMatcher.createMatchers(affixProvider, parser, factory, ignorables, parseFlags); in createParserFromProperties()
|
/external/icu/icu4c/source/i18n/ |
D | numparse_affixes.h | 199 class AffixMatcher : public NumberParseMatcher, public UMemory { 201 AffixMatcher() = default; // WARNING: Leaves the object in an unusable state 203 AffixMatcher(AffixPatternMatcher* prefix, AffixPatternMatcher* suffix, result_flags_t flags); 211 int8_t compareTo(const AffixMatcher& rhs) const; 237 AffixMatcher fAffixMatchers[9]; 243 friend class AffixMatcher; variable
|
D | numparse_affixes.cpp | 368 AffixMatcher temp = std::move(fAffixMatchers[i - 1]); in createAffixMatchers() 383 AffixMatcher::AffixMatcher(AffixPatternMatcher* prefix, AffixPatternMatcher* suffix, result_flags_t… in AffixMatcher() function in AffixMatcher 386 bool AffixMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const { in match() 424 bool AffixMatcher::smokeTest(const StringSegment& segment) const { in smokeTest() 429 void AffixMatcher::postProcess(ParsedNumber& result) const { in postProcess() 450 int8_t AffixMatcher::compareTo(const AffixMatcher& rhs) const { in compareTo() 451 const AffixMatcher& lhs = *this; in compareTo() 461 UnicodeString AffixMatcher::toString() const { in toString()
|