Searched refs:MinusSignMatcher (Results 1 – 13 of 13) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | MinusSignMatcher.java | 17 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
|
D | AffixTokenMatcherFactory.java | 23 public MinusSignMatcher minusSign() { in minusSign() 24 return MinusSignMatcher.getInstance(symbols, true); in minusSign()
|
D | NumberParserImpl.java | 63 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/ |
D | MinusSignMatcher.java | 15 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
|
D | AffixTokenMatcherFactory.java | 21 public MinusSignMatcher minusSign() { in minusSign() 22 return MinusSignMatcher.getInstance(symbols, true); in minusSign()
|
D | NumberParserImpl.java | 61 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createSimpleParser() 225 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createParserFromProperties()
|
/external/icu/icu4c/source/i18n/ |
D | numparse_symbols.cpp | 106 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()
|
D | numparse_symbols.h | 80 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);
|
D | numparse_impl.h | 76 MinusSignMatcher minusSign;
|
D | numparse_affixes.h | 139 MinusSignMatcher fMinusSign;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberParserTest.java | 19 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/ |
D | NumberParserTest.java | 18 import com.ibm.icu.impl.number.parse.MinusSignMatcher; 212 series.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in testSeriesMatcher()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_parse.cpp | 190 MinusSignMatcher m1(symbols, false); in testSeriesMatcher()
|