Home
last modified time | relevance | path

Searched refs:AffixPatternMatcher (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumparse_affixes.h24 class AffixPatternMatcher; variable
119 friend class AffixPatternMatcher; variable
131 AffixPatternMatcher build(UErrorCode& status);
147 class U_I18N_API AffixPatternMatcher : public ArraySeriesMatcher {
149 AffixPatternMatcher() = default; // WARNING: Leaves the object in an unusable state
151 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
158 bool operator==(const AffixPatternMatcher& other) const;
163 AffixPatternMatcher(MatcherArray& matchers, int32_t matchersLen, const UnicodeString& pattern,
174 AffixMatcher(AffixPatternMatcher* prefix, AffixPatternMatcher* suffix, result_flags_t flags);
187 AffixPatternMatcher* fPrefix;
[all …]
Dnumparse_affixes.cpp32 static bool matched(const AffixPatternMatcher* affix, const UnicodeString& patternString) { in matched()
40 static int32_t length(const AffixPatternMatcher* matcher) { in length()
48 static bool equals(const AffixPatternMatcher* lhs, const AffixPatternMatcher* rhs) { in equals()
130 AffixPatternMatcher AffixPatternMatcherBuilder::build(UErrorCode& status) { in build()
131 return AffixPatternMatcher(fMatchers, fMatchersLen, fPattern, status); in build()
193 AffixPatternMatcher AffixPatternMatcher::fromAffixPattern(const UnicodeString& affixPattern, in fromAffixPattern()
215 AffixPatternMatcher::AffixPatternMatcher(MatcherArray& matchers, int32_t matchersLen, in AffixPatternMatcher() function in AffixPatternMatcher
220 UnicodeString AffixPatternMatcher::getPattern() const { in getPattern()
224 bool AffixPatternMatcher::operator==(const AffixPatternMatcher& other) const { in operator ==()
279 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers()
[all …]
/external/icu/libicu/cts_headers/
Dnumparse_affixes.h24 class AffixPatternMatcher; variable
119 friend class AffixPatternMatcher; variable
131 AffixPatternMatcher build(UErrorCode& status);
147 class U_I18N_API AffixPatternMatcher : public ArraySeriesMatcher {
149 AffixPatternMatcher() = default; // WARNING: Leaves the object in an unusable state
151 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
158 bool operator==(const AffixPatternMatcher& other) const;
163 AffixPatternMatcher(MatcherArray& matchers, int32_t matchersLen, const UnicodeString& pattern,
174 AffixMatcher(AffixPatternMatcher* prefix, AffixPatternMatcher* suffix, result_flags_t flags);
187 AffixPatternMatcher* fPrefix;
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DAffixMatcher.java22 private final AffixPatternMatcher prefix;
23 private final AffixPatternMatcher suffix;
94 AffixPatternMatcher posPrefix = null; in createMatchers()
95 AffixPatternMatcher posSuffix = null; in createMatchers()
119 AffixPatternMatcher prefix = AffixPatternMatcher in createMatchers()
131 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers()
165 AffixPatternMatcher prefix, in getInstance()
166 AffixPatternMatcher suffix, in getInstance()
172 private AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) { in AffixMatcher()
250 static boolean matched(AffixPatternMatcher affix, String patternString) { in matched()
[all …]
DAffixPatternMatcher.java13 public class AffixPatternMatcher extends SeriesMatcher implements AffixUtils.TokenConsumer { class
22 private AffixPatternMatcher(String affixPattern) { in AffixPatternMatcher() method in AffixPatternMatcher
30 public static AffixPatternMatcher fromAffixPattern( in fromAffixPattern()
38 AffixPatternMatcher series = new AffixPatternMatcher(affixPattern); in fromAffixPattern()
116 if (!(other instanceof AffixPatternMatcher)) in equals()
118 return affixPattern.equals(((AffixPatternMatcher) other).affixPattern); in equals()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DAffixMatcher.java24 private final AffixPatternMatcher prefix;
25 private final AffixPatternMatcher suffix;
96 AffixPatternMatcher posPrefix = null; in createMatchers()
97 AffixPatternMatcher posSuffix = null; in createMatchers()
121 AffixPatternMatcher prefix = AffixPatternMatcher in createMatchers()
133 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers()
167 AffixPatternMatcher prefix, in getInstance()
168 AffixPatternMatcher suffix, in getInstance()
174 private AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) { in AffixMatcher()
252 static boolean matched(AffixPatternMatcher affix, String patternString) { in matched()
[all …]
DAffixPatternMatcher.java15 public class AffixPatternMatcher extends SeriesMatcher implements AffixUtils.TokenConsumer { class
24 private AffixPatternMatcher(String affixPattern) { in AffixPatternMatcher() method in AffixPatternMatcher
32 public static AffixPatternMatcher fromAffixPattern( in fromAffixPattern()
40 AffixPatternMatcher series = new AffixPatternMatcher(affixPattern); in fromAffixPattern()
118 if (!(other instanceof AffixPatternMatcher)) in equals()
120 return affixPattern.equals(((AffixPatternMatcher) other).affixPattern); in equals()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java14 import com.ibm.icu.impl.number.parse.AffixPatternMatcher;
331 AffixPatternMatcher matcher = AffixPatternMatcher in testAffixPatternMatcher()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberParserTest.java15 import android.icu.impl.number.parse.AffixPatternMatcher;
334 AffixPatternMatcher matcher = AffixPatternMatcher in testAffixPatternMatcher()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_parse.cpp342 AffixPatternMatcher matcher = AffixPatternMatcher::fromAffixPattern( in testAffixPatternMatcher()