Home
last modified time | relevance | path

Searched refs:grouper (Results 1 – 25 of 51) sorted by relevance

123

/external/icu/icu4c/source/i18n/
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()
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()
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()
Dnumparse_scientific.h25 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
Dnumparse_decimal.h22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
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()
/external/cronet/third_party/icu/source/i18n/
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()
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()
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()
Dnumparse_scientific.h25 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
Dnumparse_decimal.h22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
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()
DNumberParserImpl.java56 … Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser() local
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() local
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()
DDecimalMatcher.java49 Grouper grouper, in getInstance() argument
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()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DScientificMatcher.java26 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance() argument
28 return new ScientificMatcher(symbols, grouper); in getInstance()
31 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher() argument
34 grouper, in ScientificMatcher()
DNumberParserImpl.java58 … Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser() local
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() local
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()
DDecimalMatcher.java51 Grouper grouper, in getInstance() argument
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()
/external/tensorflow/tensorflow/core/kernels/fuzzing/
Ddecode_compressed_fuzz.cc35 Scope grouper = in BuildGraph() local
38 (void)tensorflow::ops::NoOp(grouper.WithOpName("output")); in BuildGraph()
/external/rust/crates/itertools/tests/
Dtest_std.rs768 let grouper = data.iter().group_by(|k| *k); in group_by_lazy_2() localVariable
770 for (k, group) in &grouper { in group_by_lazy_2()
778 let grouper = data.iter().group_by(|k| *k); in group_by_lazy_2() localVariable
780 for (i, (_, group)) in grouper.into_iter().enumerate() { in group_by_lazy_2()
797 let grouper = data.iter().group_by(move |_| { let k = i / 3; i += 1; k }); in group_by_lazy_2() localVariable
798 for (i, group) in &grouper { in group_by_lazy_2()
813 let grouper = data.iter().group_by(|elt| *elt); in group_by_lazy_3() localVariable
815 for (key, group) in &grouper { in group_by_lazy_3()
828 let grouper = data.iter().chunks(3); in chunks() localVariable
829 for (i, chunk) in grouper.into_iter().enumerate() { in chunks()
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/
Dctc_decoder_ops_test.py29 def grouper(iterable, n, fillvalue=None): function
67 output_sparse_tensors = list(grouper(outputs[:-1], 3))
/external/icu/libicu/cts_headers/
Dnumparse_scientific.h25 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
Dnumparse_decimal.h22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
/external/swiftshader/third_party/subzero/src/
DIceInst.def27 // http://grouper.ieee.org/groups/1788/email/msg03558.html
/external/python/setuptools/setuptools/_vendor/more_itertools/
Drecipes.py284 def grouper(iterable, n, fillvalue=None): function

123