Home
last modified time | relevance | path

Searched refs:grouper (Results 1 - 25 of 43) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
H A DScientificMatcher.java24 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance() argument
26 return new ScientificMatcher(symbols, grouper); in getInstance()
29 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher() argument
32 grouper, in ScientificMatcher()
H A DNumberParserImpl.java56 Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser()
59 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
67 parser.addMatcher(ScientificMatcher.getInstance(symbols, grouper)); in createSimpleParser()
146 Grouper grouper = Grouper.forProperties(properties); in createParserFromProperties()
174 if (grouper.getPrimary() <= 0) { in createParserFromProperties()
237 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createParserFromProperties()
240 parser.addMatcher(ScientificMatcher.getInstance(symbols, grouper)); in createParserFromProperties()
H A DDecimalMatcher.java49 Grouper grouper, in getInstance()
52 return new DecimalMatcher(symbols, grouper, parseFlags); in getInstance()
55 private DecimalMatcher(DecimalFormatSymbols symbols, Grouper grouper, int parseFlags) { in DecimalMatcher() argument
100 grouping1 = grouper.getPrimary(); in DecimalMatcher()
101 grouping2 = grouper.getSecondary(); in DecimalMatcher()
47 getInstance( DecimalFormatSymbols symbols, Grouper grouper, int parseFlags) getInstance() argument
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
H A DScientificMatcher.java28 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance() argument
30 return new ScientificMatcher(symbols, grouper); in getInstance()
33 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher() argument
36 grouper, in ScientificMatcher()
H A DNumberParserImpl.java58 Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser()
61 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
69 parser.addMatcher(ScientificMatcher.getInstance(symbols, grouper)); in createSimpleParser()
148 Grouper grouper = Grouper.forProperties(properties); in createParserFromProperties()
176 if (grouper.getPrimary() <= 0) { in createParserFromProperties()
239 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createParserFromProperties()
242 parser.addMatcher(ScientificMatcher.getInstance(symbols, grouper)); in createParserFromProperties()
H A DDecimalMatcher.java51 Grouper grouper, in getInstance()
54 return new DecimalMatcher(symbols, grouper, parseFlags); in getInstance()
57 private DecimalMatcher(DecimalFormatSymbols symbols, Grouper grouper, int parseFlags) { in DecimalMatcher() argument
102 grouping1 = grouper.getPrimary(); in DecimalMatcher()
103 grouping2 = grouper.getSecondary(); in DecimalMatcher()
49 getInstance( DecimalFormatSymbols symbols, Grouper grouper, int parseFlags) getInstance() argument
/third_party/icu/icu4c/source/i18n/
H A Dnumparse_impl.cpp61 Grouper grouper = Grouper::forStrategy(UNUM_GROUPING_AUTO); in createSimpleParser() local
62 grouper.setLocaleData(patternInfo, locale); in createSimpleParser()
65 parser->addMatcher(parser->fLocalMatchers.decimal = {symbols, grouper, parseFlags}); in createSimpleParser()
73 parser->addMatcher(parser->fLocalMatchers.scientific = {symbols, grouper}); in createSimpleParser()
91 Grouper grouper = Grouper::forProperties(properties); in createParserFromProperties() local
112 if (grouper.getPrimary() <= 0) { in createParserFromProperties()
175 parser->addMatcher(parser->fLocalMatchers.decimal = {symbols, grouper, parseFlags}); in createParserFromProperties()
178 parser->addMatcher(parser->fLocalMatchers.scientific = {symbols, grouper}); in createParserFromProperties()
H A Dnumparse_scientific.cpp35 ScientificMatcher::ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper) in ScientificMatcher() argument
37 fExponentMatcher(dfs, grouper, PARSE_FLAG_INTEGER_ONLY | PARSE_FLAG_GROUPING_DISABLED), in ScientificMatcher()
H A Dnumparse_decimal.cpp26 DecimalMatcher::DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper, in DecimalMatcher() argument
87 grouping1 = grouper.getPrimary(); in DecimalMatcher()
88 grouping2 = grouper.getSecondary(); in DecimalMatcher()
H A Dnumparse_scientific.h25 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
H A Dnumparse_decimal.h22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
H A Dnumber_skeletons.cpp714 CHECK_NULL(seen, grouper, status); in parseStem()
715 macros.grouper = Grouper::forStrategy(stem_to_object::groupingStrategy(stem)); in parseStem()
1678 if (macros.grouper.isBogus()) { in grouping()
1680 } else if (macros.grouper.fStrategy == UNUM_GROUPING_COUNT) { in grouping()
1683 } else if (macros.grouper.fStrategy == UNUM_GROUPING_AUTO) { in grouping()
1686 enum_to_stem_string::groupingStrategy(macros.grouper.fStrategy, sb); in grouping()
/third_party/node/deps/icu-small/source/i18n/
H A Dnumparse_impl.cpp61 Grouper grouper = Grouper::forStrategy(UNUM_GROUPING_AUTO); in createSimpleParser() local
62 grouper.setLocaleData(patternInfo, locale); in createSimpleParser()
65 parser->addMatcher(parser->fLocalMatchers.decimal = {symbols, grouper, parseFlags}); in createSimpleParser()
73 parser->addMatcher(parser->fLocalMatchers.scientific = {symbols, grouper}); in createSimpleParser()
91 Grouper grouper = Grouper::forProperties(properties); in createParserFromProperties() local
112 if (grouper.getPrimary() <= 0) { in createParserFromProperties()
175 parser->addMatcher(parser->fLocalMatchers.decimal = {symbols, grouper, parseFlags}); in createParserFromProperties()
178 parser->addMatcher(parser->fLocalMatchers.scientific = {symbols, grouper}); in createParserFromProperties()
H A Dnumber_simple.cpp194 auto grouper = Grouper::forStrategy(groupingStrategy); in initialize() local
195 grouper.setLocaleData(patternInfo, locale); in initialize()
196 fMicros->grouping = grouper; in initialize()
H A Dnumparse_scientific.cpp35 ScientificMatcher::ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper) in ScientificMatcher() argument
37 fExponentMatcher(dfs, grouper, PARSE_FLAG_INTEGER_ONLY | PARSE_FLAG_GROUPING_DISABLED), in ScientificMatcher()
H A Dnumparse_decimal.cpp26 DecimalMatcher::DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper, in DecimalMatcher() argument
87 grouping1 = grouper.getPrimary(); in DecimalMatcher()
88 grouping2 = grouper.getSecondary(); in DecimalMatcher()
H A Dnumparse_scientific.h25 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
H A Dnumparse_decimal.h22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
H A Dnumber_skeletons.cpp714 CHECK_NULL(seen, grouper, status); in parseStem()
715 macros.grouper = Grouper::forStrategy(stem_to_object::groupingStrategy(stem)); in parseStem()
1678 if (macros.grouper.isBogus()) { in grouping()
1680 } else if (macros.grouper.fStrategy == UNUM_GROUPING_COUNT) { in grouping()
1683 } else if (macros.grouper.fStrategy == UNUM_GROUPING_AUTO) { in grouping()
1686 enum_to_stem_string::groupingStrategy(macros.grouper.fStrategy, sb); in grouping()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumparse_impl.cpp61 Grouper grouper = Grouper::forStrategy(UNUM_GROUPING_AUTO); in createSimpleParser() local
62 grouper.setLocaleData(patternInfo, locale); in createSimpleParser()
65 parser->addMatcher(parser->fLocalMatchers.decimal = {symbols, grouper, parseFlags}); in createSimpleParser()
73 parser->addMatcher(parser->fLocalMatchers.scientific = {symbols, grouper}); in createSimpleParser()
91 Grouper grouper = Grouper::forProperties(properties); in createParserFromProperties() local
112 if (grouper.getPrimary() <= 0) { in createParserFromProperties()
175 parser->addMatcher(parser->fLocalMatchers.decimal = {symbols, grouper, parseFlags}); in createParserFromProperties()
178 parser->addMatcher(parser->fLocalMatchers.scientific = {symbols, grouper}); in createParserFromProperties()
H A Dnumparse_scientific.cpp35 ScientificMatcher::ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper) in ScientificMatcher() argument
37 fExponentMatcher(dfs, grouper, PARSE_FLAG_INTEGER_ONLY | PARSE_FLAG_GROUPING_DISABLED), in ScientificMatcher()
H A Dnumparse_decimal.cpp26 DecimalMatcher::DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper, in DecimalMatcher() argument
87 grouping1 = grouper.getPrimary(); in DecimalMatcher()
88 grouping2 = grouper.getSecondary(); in DecimalMatcher()
H A Dnumparse_scientific.h25 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
H A Dnumparse_decimal.h22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
H A Dnumber_skeletons.cpp708 CHECK_NULL(seen, grouper, status); in parseStem()
709 macros.grouper = Grouper::forStrategy(stem_to_object::groupingStrategy(stem)); in parseStem()
1661 if (macros.grouper.isBogus()) {
1663 } else if (macros.grouper.fStrategy == UNUM_GROUPING_COUNT) {
1666 } else if (macros.grouper.fStrategy == UNUM_GROUPING_AUTO) {
1669 enum_to_stem_string::groupingStrategy(macros.grouper.fStrategy, sb);

Completed in 20 milliseconds

12