Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DMinusSignMatcher.java17 public class MinusSignMatcher extends SymbolMatcher { class
19 private static final MinusSignMatcher DEFAULT = new MinusSignMatcher(false);
20 private static final MinusSignMatcher DEFAULT_ALLOW_TRAILING = new MinusSignMatcher(true);
22 … public static MinusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance()
27 return new MinusSignMatcher(symbolString, allowTrailing); in getInstance()
33 private MinusSignMatcher(String symbolString, boolean allowTrailing) { in MinusSignMatcher() method in MinusSignMatcher
38 private MinusSignMatcher(boolean allowTrailing) { in MinusSignMatcher() method in MinusSignMatcher
DAffixTokenMatcherFactory.java23 public MinusSignMatcher minusSign() { in minusSign()
24 return MinusSignMatcher.getInstance(symbols, true); in minusSign()
DNumberParserImpl.java63 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
227 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DMinusSignMatcher.java15 public class MinusSignMatcher extends SymbolMatcher { class
17 private static final MinusSignMatcher DEFAULT = new MinusSignMatcher(false);
18 private static final MinusSignMatcher DEFAULT_ALLOW_TRAILING = new MinusSignMatcher(true);
20 … public static MinusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance()
25 return new MinusSignMatcher(symbolString, allowTrailing); in getInstance()
31 private MinusSignMatcher(String symbolString, boolean allowTrailing) { in MinusSignMatcher() method in MinusSignMatcher
36 private MinusSignMatcher(boolean allowTrailing) { in MinusSignMatcher() method in MinusSignMatcher
DAffixTokenMatcherFactory.java21 public MinusSignMatcher minusSign() { in minusSign()
22 return MinusSignMatcher.getInstance(symbols, true); in minusSign()
DNumberParserImpl.java61 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
225 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createParserFromProperties()
/external/icu/icu4c/source/i18n/
Dnumparse_symbols.cpp106 MinusSignMatcher::MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing) in MinusSignMatcher() function in MinusSignMatcher
111 bool MinusSignMatcher::isDisabled(const ParsedNumber& result) const { in isDisabled()
115 void MinusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const { in accept()
Dnumparse_symbols.h80 class U_I18N_API MinusSignMatcher : public SymbolMatcher {
82 MinusSignMatcher() = default; // WARNING: Leaves the object in an unusable state
84 MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
Dnumparse_impl.h76 MinusSignMatcher minusSign;
Dnumparse_affixes.h139 MinusSignMatcher fMinusSign;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberParserTest.java19 import android.icu.impl.number.parse.MinusSignMatcher;
215 series.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in testSeriesMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java18 import com.ibm.icu.impl.number.parse.MinusSignMatcher;
212 series.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in testSeriesMatcher()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_parse.cpp190 MinusSignMatcher m1(symbols, false); in testSeriesMatcher()