Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dnumparse_affixes.h24 class AffixPatternMatcher; variable
149 friend class AffixPatternMatcher; variable
161 AffixPatternMatcher build();
177 class U_I18N_API AffixPatternMatcher : public ArraySeriesMatcher {
179 AffixPatternMatcher() = default; // WARNING: Leaves the object in an unusable state
181 static AffixPatternMatcher fromAffixPattern(const UnicodeString& affixPattern,
188 bool operator==(const AffixPatternMatcher& other) const;
193 AffixPatternMatcher(MatcherArray& matchers, int32_t matchersLen, const UnicodeString& pattern);
203 AffixMatcher(AffixPatternMatcher* prefix, AffixPatternMatcher* suffix, result_flags_t flags);
216 AffixPatternMatcher* fPrefix;
[all …]
Dnumparse_affixes.cpp31 static bool matched(const AffixPatternMatcher* affix, const UnicodeString& patternString) { in matched()
39 static int32_t length(const AffixPatternMatcher* matcher) { in length()
47 static bool equals(const AffixPatternMatcher* lhs, const AffixPatternMatcher* rhs) { in equals()
124 AffixPatternMatcher AffixPatternMatcherBuilder::build() { in build()
125 return AffixPatternMatcher(fMatchers, fMatchersLen, fPattern); in build()
225 AffixPatternMatcher AffixPatternMatcher::fromAffixPattern(const UnicodeString& affixPattern, in fromAffixPattern()
247 AffixPatternMatcher::AffixPatternMatcher(MatcherArray& matchers, int32_t matchersLen, in AffixPatternMatcher() function in AffixPatternMatcher
251 UnicodeString AffixPatternMatcher::getPattern() const { in getPattern()
255 bool AffixPatternMatcher::operator==(const AffixPatternMatcher& other) const { in operator ==()
312 AffixPatternMatcher* posPrefix = nullptr; in createAffixMatchers()
[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;
97 AffixPatternMatcher posPrefix = null; in createMatchers()
98 AffixPatternMatcher posSuffix = null; in createMatchers()
110 AffixPatternMatcher prefix = AffixPatternMatcher in createMatchers()
121 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers()
155 AffixPatternMatcher prefix, in getInstance()
156 AffixPatternMatcher suffix, in getInstance()
162 private AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) { in AffixMatcher()
240 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;
99 AffixPatternMatcher posPrefix = null; in createMatchers()
100 AffixPatternMatcher posSuffix = null; in createMatchers()
112 AffixPatternMatcher prefix = AffixPatternMatcher in createMatchers()
123 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers()
157 AffixPatternMatcher prefix, in getInstance()
158 AffixPatternMatcher suffix, in getInstance()
164 private AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) { in AffixMatcher()
242 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/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberParserTest.java15 import android.icu.impl.number.parse.AffixPatternMatcher;
330 AffixPatternMatcher matcher = AffixPatternMatcher in testAffixPatternMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java14 import com.ibm.icu.impl.number.parse.AffixPatternMatcher;
327 AffixPatternMatcher matcher = AffixPatternMatcher in testAffixPatternMatcher()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_parse.cpp337 AffixPatternMatcher matcher = AffixPatternMatcher::fromAffixPattern( in testAffixPatternMatcher()