Searched refs:CodePointMatcher (Results 1 – 6 of 6) sorted by relevance
14 public class CodePointMatcher implements NumberParseMatcher { class18 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
105 addMatcher(CodePointMatcher.getInstance(typeOrCp)); in consumeToken()
12 public class CodePointMatcher implements NumberParseMatcher { class16 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
103 addMatcher(CodePointMatcher.getInstance(typeOrCp)); in consumeToken()
31 class CodePointMatcher : public NumberParseMatcher, public UMemory {33 CodePointMatcher() = default; // WARNING: Leaves the object in an unusable state35 CodePointMatcher(UChar32 cp);56 template class U_I18N_API MaybeStackArray<numparse::impl::CodePointMatcher*, 3>;87 std::array<CodePointMatcher, CODE_POINT_STACK_CAPACITY> codePoints; // By value88 MaybeStackArray<CodePointMatcher*, 3> codePointsOverflow; // On heap in "batches"
161 auto* nextBatch = new CodePointMatcher[CODE_POINT_BATCH_SIZE]; in nextCodePointMatcher()205 CodePointMatcher::CodePointMatcher(UChar32 cp) in CodePointMatcher() function in CodePointMatcher208 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()