Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DPlusSignMatcher.java18 public static PlusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance() argument
21 return allowTrailing ? DEFAULT_ALLOW_TRAILING : DEFAULT; in getInstance()
23 return new PlusSignMatcher(symbolString, allowTrailing); in getInstance()
27 private final boolean allowTrailing; field in PlusSignMatcher
29 private PlusSignMatcher(String symbolString, boolean allowTrailing) { in PlusSignMatcher() argument
31 this.allowTrailing = allowTrailing; in PlusSignMatcher()
34 private PlusSignMatcher(boolean allowTrailing) { in PlusSignMatcher() argument
36 this.allowTrailing = allowTrailing; in PlusSignMatcher()
41 return !allowTrailing && result.seenNumber(); in isDisabled()
DMinusSignMatcher.java18 … public static MinusSignMatcher getInstance(DecimalFormatSymbols symbols, boolean allowTrailing) { in getInstance() argument
21 return allowTrailing ? DEFAULT_ALLOW_TRAILING : DEFAULT; in getInstance()
23 return new MinusSignMatcher(symbolString, allowTrailing); in getInstance()
27 private final boolean allowTrailing; field in MinusSignMatcher
29 private MinusSignMatcher(String symbolString, boolean allowTrailing) { in MinusSignMatcher() argument
31 this.allowTrailing = allowTrailing; in MinusSignMatcher()
34 private MinusSignMatcher(boolean allowTrailing) { in MinusSignMatcher() argument
36 this.allowTrailing = allowTrailing; in MinusSignMatcher()
41 return !allowTrailing && result.seenNumber(); in isDisabled()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/node/deps/icu-small/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);
/third_party/skia/third_party/externals/icu/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);
/third_party/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);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_symbols.cpp106 MinusSignMatcher::MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing) in MinusSignMatcher() argument
108 fAllowTrailing(allowTrailing) { in MinusSignMatcher()
179 PlusSignMatcher::PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing) in PlusSignMatcher() argument
181 fAllowTrailing(allowTrailing) { in PlusSignMatcher()
Dnumparse_symbols.h84 MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
156 PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
/third_party/node/deps/npm/node_modules/jsprim/lib/
Djsprim.js300 allowTrailing: false, property
348 mod_assert.bool(options.allowTrailing,
429 if (idx < len && !options.allowTrailing) {
/third_party/node/deps/npm/node_modules/jsprim/
DREADME.md168 allowTrailing | boolean | false | whether to ignore trailing characters