Home
last modified time | relevance | path

Searched refs:allowTrailing (Results 1 – 6 of 6) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DPlusSignMatcher.java22 public static PlusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance() argument
25 return allowTrailing ? DEFAULT_ALLOW_TRAILING : DEFAULT; in getInstance()
27 return new PlusSignMatcher(symbolString, allowTrailing); in getInstance()
31 private final boolean allowTrailing; field in PlusSignMatcher
33 private PlusSignMatcher(String symbolString, boolean allowTrailing) { in PlusSignMatcher() argument
35 this.allowTrailing = allowTrailing; in PlusSignMatcher()
38 private PlusSignMatcher(boolean allowTrailing) { in PlusSignMatcher() argument
40 this.allowTrailing = allowTrailing; in PlusSignMatcher()
45 return !allowTrailing && result.seenNumber(); in isDisabled()
DMinusSignMatcher.java22 … public static MinusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance() argument
25 return allowTrailing ? DEFAULT_ALLOW_TRAILING : DEFAULT; in getInstance()
27 return new MinusSignMatcher(symbolString, allowTrailing); in getInstance()
31 private final boolean allowTrailing; field in MinusSignMatcher
33 private MinusSignMatcher(String symbolString, boolean allowTrailing) { in MinusSignMatcher() argument
35 this.allowTrailing = allowTrailing; in MinusSignMatcher()
38 private MinusSignMatcher(boolean allowTrailing) { in MinusSignMatcher() argument
40 this.allowTrailing = allowTrailing; in MinusSignMatcher()
45 return !allowTrailing && result.seenNumber(); in isDisabled()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DPlusSignMatcher.java20 public static PlusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance() argument
23 return allowTrailing ? DEFAULT_ALLOW_TRAILING : DEFAULT; in getInstance()
25 return new PlusSignMatcher(symbolString, allowTrailing); in getInstance()
29 private final boolean allowTrailing; field in PlusSignMatcher
31 private PlusSignMatcher(String symbolString, boolean allowTrailing) { in PlusSignMatcher() argument
33 this.allowTrailing = allowTrailing; in PlusSignMatcher()
36 private PlusSignMatcher(boolean allowTrailing) { in PlusSignMatcher() argument
38 this.allowTrailing = allowTrailing; in PlusSignMatcher()
43 return !allowTrailing && result.seenNumber(); in isDisabled()
DMinusSignMatcher.java20 … public static MinusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance() argument
23 return allowTrailing ? DEFAULT_ALLOW_TRAILING : DEFAULT; in getInstance()
25 return new MinusSignMatcher(symbolString, allowTrailing); in getInstance()
29 private final boolean allowTrailing; field in MinusSignMatcher
31 private MinusSignMatcher(String symbolString, boolean allowTrailing) { in MinusSignMatcher() argument
33 this.allowTrailing = allowTrailing; in MinusSignMatcher()
36 private MinusSignMatcher(boolean allowTrailing) { in MinusSignMatcher() argument
38 this.allowTrailing = allowTrailing; in MinusSignMatcher()
43 return !allowTrailing && result.seenNumber(); in isDisabled()
/external/icu/icu4c/source/i18n/
Dnumparse_symbols.cpp111 MinusSignMatcher::MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing) in MinusSignMatcher() argument
113 fAllowTrailing(allowTrailing) { in MinusSignMatcher()
184 PlusSignMatcher::PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing) in PlusSignMatcher() argument
186 fAllowTrailing(allowTrailing) { in PlusSignMatcher()
Dnumparse_symbols.h84 MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
156 PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);