Home
last modified time | relevance | path

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

12

/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()
100 Grouper grouper = Grouper::forProperties(properties); in createParserFromProperties() local
120 if (grouper.getPrimary() <= 0) { in createParserFromProperties()
184 parser->addMatcher(parser->fLocalMatchers.decimal = {symbols, grouper, parseFlags}); in createParserFromProperties()
187 parser->addMatcher(parser->fLocalMatchers.scientific = {symbols, grouper}); in createParserFromProperties()
Dnumparse_scientific.cpp34 ScientificMatcher::ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper) in ScientificMatcher() argument
36 fExponentMatcher(dfs, grouper, PARSE_FLAG_INTEGER_ONLY | PARSE_FLAG_GROUPING_DISABLED) { in ScientificMatcher()
Dnumparse_decimal.cpp25 DecimalMatcher::DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper, in DecimalMatcher() argument
86 grouping1 = grouper.getPrimary(); in DecimalMatcher()
87 grouping2 = grouper.getSecondary(); in DecimalMatcher()
Dnumparse_scientific.h24 ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper);
Dnumparse_decimal.h22 DecimalMatcher(const DecimalFormatSymbols& symbols, const Grouper& grouper,
Dnumber_skeletons.cpp602 CHECK_NULL(seen, grouper, status); in parseStem()
603 macros.grouper = Grouper::forStrategy(stem_to_object::groupingStrategy(stem)); in parseStem()
1425 if (macros.grouper.isBogus()) { in grouping()
1427 } else if (macros.grouper.fStrategy == UNUM_GROUPING_COUNT) { in grouping()
1430 } else if (macros.grouper.fStrategy == UNUM_GROUPING_AUTO) { in grouping()
1433 enum_to_stem_string::groupingStrategy(macros.grouper.fStrategy, sb); in grouping()
Dnumber_formatimpl.cpp292 if (!macros.grouper.isBogus()) { in macrosToMicroGenerator()
293 fMicros.grouping = macros.grouper; in macrosToMicroGenerator()
Dnumber_skeletons.h312 bool grouper = false; member
Dnumber_fluent.cpp158 copy.fMacros.grouper = Grouper::forStrategy(strategy); in grouping()
165 move.fMacros.grouper = Grouper::forStrategy(strategy); in grouping()
Dnumber_mapper.cpp173 macros.grouper = Grouper::forProperties(properties); in oldToNew()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DScientificMatcher.java27 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance() argument
29 return new ScientificMatcher(symbols, grouper); in getInstance()
32 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher() argument
35 grouper, in ScientificMatcher()
DNumberParserImpl.java59 … Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser() local
62 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
70 parser.addMatcher(ScientificMatcher.getInstance(symbols, grouper)); in createSimpleParser()
151 Grouper grouper = Grouper.forProperties(properties); in createParserFromProperties() local
173 if (grouper.getPrimary() <= 0) { in createParserFromProperties()
236 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createParserFromProperties()
239 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DScientificMatcher.java25 public static ScientificMatcher getInstance(DecimalFormatSymbols symbols, Grouper grouper) { in getInstance() argument
27 return new ScientificMatcher(symbols, grouper); in getInstance()
30 private ScientificMatcher(DecimalFormatSymbols symbols, Grouper grouper) { in ScientificMatcher() argument
33 grouper, in ScientificMatcher()
DNumberParserImpl.java57 … Grouper grouper = Grouper.forStrategy(GroupingStrategy.AUTO).withLocaleData(locale, patternInfo); in createSimpleParser() local
60 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
68 parser.addMatcher(ScientificMatcher.getInstance(symbols, grouper)); in createSimpleParser()
149 Grouper grouper = Grouper.forProperties(properties); in createParserFromProperties() local
171 if (grouper.getPrimary() <= 0) { in createParserFromProperties()
234 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createParserFromProperties()
237 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/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/tensorflow/tensorflow/python/kernel_tests/
Dctc_decoder_ops_test.py34 def grouper(iterable, n, fillvalue=None): function
72 output_sparse_tensors = list(grouper(outputs[:-1], 3))
/external/autotest/contrib/
Ddb_cleanup.py109 def grouper(iterable, n): function
208 for row_keys in grouper(rows, STEP_SIZE):
/external/swiftshader/third_party/subzero/src/
DIceInst.def27 // http://grouper.ieee.org/groups/1788/email/msg03558.html
/external/python/cpython2/Modules/
Ditertoolsmodule.c104 PyObject *r, *grouper; in groupby_next() local
129 grouper = _grouper_create(gbo, gbo->tgtkey); in groupby_next()
130 if (grouper == NULL) in groupby_next()
133 r = PyTuple_Pack(2, gbo->currkey, grouper); in groupby_next()
134 Py_DECREF(grouper); in groupby_next()
/external/python/cpython3/Modules/
Ditertoolsmodule.c106 PyObject *r, *grouper; in groupby_next() local
131 grouper = _grouper_create(gbo, gbo->tgtkey); in groupby_next()
132 if (grouper == NULL) in groupby_next()
135 r = PyTuple_Pack(2, gbo->currkey, grouper); in groupby_next()
136 Py_DECREF(grouper); in groupby_next()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1427 Grouper grouper; // = Grouper(); (bogus) member
/external/python/cpython2/Doc/library/
Ditertools.rst752 def grouper(iterable, n, fillvalue=None):
754 # grouper('ABCDEFG', 3, 'x') --> ABC DEF Gxx
/external/python/cpython3/Doc/library/
Ditertools.rst761 def grouper(iterable, n, fillvalue=None):
763 # grouper('ABCDEFG', 3, 'x') --> ABC DEF Gxx"

12