Home
last modified time | relevance | path

Searched refs:CodePointMatcher (Results 1 – 6 of 6) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DCodePointMatcher.java14 public class CodePointMatcher implements NumberParseMatcher { class
18 public static CodePointMatcher getInstance(int cp) { in getInstance()
20 return new CodePointMatcher(cp); in getInstance()
23 private CodePointMatcher(int cp) { in CodePointMatcher() method in CodePointMatcher
DAffixPatternMatcher.java105 addMatcher(CodePointMatcher.getInstance(typeOrCp)); in consumeToken()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DCodePointMatcher.java12 public class CodePointMatcher implements NumberParseMatcher { class
16 public static CodePointMatcher getInstance(int cp) { in getInstance()
18 return new CodePointMatcher(cp); in getInstance()
21 private CodePointMatcher(int cp) { in CodePointMatcher() method in CodePointMatcher
DAffixPatternMatcher.java103 addMatcher(CodePointMatcher.getInstance(typeOrCp)); in consumeToken()
/external/icu/icu4c/source/i18n/
Dnumparse_affixes.h31 class CodePointMatcher : public NumberParseMatcher, public UMemory {
33 CodePointMatcher() = default; // WARNING: Leaves the object in an unusable state
35 CodePointMatcher(UChar32 cp);
56 template class U_I18N_API MaybeStackArray<numparse::impl::CodePointMatcher*, 3>;
87 std::array<CodePointMatcher, CODE_POINT_STACK_CAPACITY> codePoints; // By value
88 MaybeStackArray<CodePointMatcher*, 3> codePointsOverflow; // On heap in "batches"
Dnumparse_affixes.cpp161 auto* nextBatch = new CodePointMatcher[CODE_POINT_BATCH_SIZE]; in nextCodePointMatcher()
205 CodePointMatcher::CodePointMatcher(UChar32 cp) in CodePointMatcher() function in CodePointMatcher
208 bool CodePointMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode&) const { in match()
216 bool CodePointMatcher::smokeTest(const StringSegment& segment) const { in smokeTest()
220 UnicodeString CodePointMatcher::toString() const { in toString()