Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DPlusSignMatcher.java17 public class PlusSignMatcher extends SymbolMatcher { class
19 private static final PlusSignMatcher DEFAULT = new PlusSignMatcher(false);
20 private static final PlusSignMatcher DEFAULT_ALLOW_TRAILING = new PlusSignMatcher(true);
22 public static PlusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance()
27 return new PlusSignMatcher(symbolString, allowTrailing); in getInstance()
33 private PlusSignMatcher(String symbolString, boolean allowTrailing) { in PlusSignMatcher() method in PlusSignMatcher
38 private PlusSignMatcher(boolean allowTrailing) { in PlusSignMatcher() method in PlusSignMatcher
DAffixTokenMatcherFactory.java27 public PlusSignMatcher plusSign() { in plusSign()
28 return PlusSignMatcher.getInstance(symbols, true); in plusSign()
DNumberParserImpl.java64 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
226 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DPlusSignMatcher.java15 public class PlusSignMatcher extends SymbolMatcher { class
17 private static final PlusSignMatcher DEFAULT = new PlusSignMatcher(false);
18 private static final PlusSignMatcher DEFAULT_ALLOW_TRAILING = new PlusSignMatcher(true);
20 public static PlusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance()
25 return new PlusSignMatcher(symbolString, allowTrailing); in getInstance()
31 private PlusSignMatcher(String symbolString, boolean allowTrailing) { in PlusSignMatcher() method in PlusSignMatcher
36 private PlusSignMatcher(boolean allowTrailing) { in PlusSignMatcher() method in PlusSignMatcher
DAffixTokenMatcherFactory.java25 public PlusSignMatcher plusSign() { in plusSign()
26 return PlusSignMatcher.getInstance(symbols, true); in plusSign()
DNumberParserImpl.java62 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
224 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createParserFromProperties()
/external/icu/icu4c/source/i18n/
Dnumparse_symbols.cpp179 PlusSignMatcher::PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing) in PlusSignMatcher() function in PlusSignMatcher
184 bool PlusSignMatcher::isDisabled(const ParsedNumber& result) const { in isDisabled()
188 void PlusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
Dnumparse_symbols.h152 class U_I18N_API PlusSignMatcher : public SymbolMatcher {
154 PlusSignMatcher() = default; // WARNING: Leaves the object in an unusable state
156 PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
Dnumparse_impl.h81 PlusSignMatcher plusSign;
Dnumparse_affixes.h140 PlusSignMatcher fPlusSign;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberParserTest.java24 import android.icu.impl.number.parse.PlusSignMatcher;
214 series.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in testSeriesMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java23 import com.ibm.icu.impl.number.parse.PlusSignMatcher;
211 series.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in testSeriesMatcher()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_parse.cpp189 PlusSignMatcher m0(symbols, false); in testSeriesMatcher()