Home
last modified time | relevance | path

Searched refs:PercentMatcher (Results 1 – 13 of 13) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DPercentMatcher.java15 public class PercentMatcher extends SymbolMatcher { class
17 private static final PercentMatcher DEFAULT = new PercentMatcher();
19 public static PercentMatcher getInstance(DecimalFormatSymbols symbols) { in getInstance()
24 return new PercentMatcher(symbolString); in getInstance()
28 private PercentMatcher(String symbolString) { in PercentMatcher() method in PercentMatcher
32 private PercentMatcher() { in PercentMatcher() method in PercentMatcher
DAffixTokenMatcherFactory.java31 public PercentMatcher percent() { in percent()
32 return PercentMatcher.getInstance(symbols); in percent()
DNumberParserImpl.java65 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createSimpleParser()
215 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DPercentMatcher.java13 public class PercentMatcher extends SymbolMatcher { class
15 private static final PercentMatcher DEFAULT = new PercentMatcher();
17 public static PercentMatcher getInstance(DecimalFormatSymbols symbols) { in getInstance()
22 return new PercentMatcher(symbolString); in getInstance()
26 private PercentMatcher(String symbolString) { in PercentMatcher() method in PercentMatcher
30 private PercentMatcher() { in PercentMatcher() method in PercentMatcher
DAffixTokenMatcherFactory.java29 public PercentMatcher percent() { in percent()
30 return PercentMatcher.getInstance(symbols); in percent()
DNumberParserImpl.java63 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createSimpleParser()
213 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createParserFromProperties()
/external/icu/icu4c/source/i18n/
Dnumparse_symbols.cpp151 PercentMatcher::PercentMatcher(const DecimalFormatSymbols& dfs) in PercentMatcher() function in PercentMatcher
155 bool PercentMatcher::isDisabled(const ParsedNumber& result) const { in isDisabled()
159 void PercentMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
Dnumparse_symbols.h125 class U_I18N_API PercentMatcher : public SymbolMatcher {
127 PercentMatcher() = default; // WARNING: Leaves the object in an unusable state
129 PercentMatcher(const DecimalFormatSymbols& dfs);
Dnumparse_impl.h79 PercentMatcher percent;
Dnumparse_affixes.h141 PercentMatcher fPercent;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberParserTest.java23 import android.icu.impl.number.parse.PercentMatcher;
217 series.addMatcher(PercentMatcher.getInstance(symbols)); in testSeriesMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java22 import com.ibm.icu.impl.number.parse.PercentMatcher;
214 series.addMatcher(PercentMatcher.getInstance(symbols)); in testSeriesMatcher()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_parse.cpp192 PercentMatcher m3(symbols); in testSeriesMatcher()