/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | test_locale.py | 72 'grouping': [], 96 'grouping': [3, 3, 0], 122 'grouping': [3, 3, 0], 162 # XXX there is a grouping + padding bug when the thousands separator 163 # is empty but the grouping array contains values (e.g. Solaris 10) 169 self._test_format("%f", 1024, grouping=1, out='1%s024.000000' % self.sep) 170 self._test_format("%f", 102, grouping=1, out='102.000000') 171 self._test_format("%f", -42, grouping=1, out='-42.000000') 172 self._test_format("%+f", -42, grouping=1, out='-42.000000') 175 self._test_format("%20.f", -42, grouping=1, out='-42'.rjust(20)) [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_locale.py | 71 'grouping': [], 95 'grouping': [3, 3, 0], 121 'grouping': [3, 3, 0], 162 # XXX there is a grouping + padding bug when the thousands separator 163 # is empty but the grouping array contains values (e.g. Solaris 10) 169 self._test_format("%f", 1024, grouping=1, out='1%s024.000000' % self.sep) 170 self._test_format("%f", 102, grouping=1, out='102.000000') 171 self._test_format("%f", -42, grouping=1, out='-42.000000') 172 self._test_format("%+f", -42, grouping=1, out='-42.000000') 175 self._test_format("%20.f", -42, grouping=1, out='-42'.rjust(20)) [all …]
|
/aosp_15_r20/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/ |
H A D | grouping.pass.cpp | 24 // string grouping() const; 66 // Monetary grouping strings may be terminated with 0 or CHAR_MAX, defining in main() 67 // how the grouping is repeated. in main() 71 assert(f.grouping() == s || f.grouping() == ""); in main() 75 assert(f.grouping() == s || f.grouping() == ""); in main() 79 assert(f.grouping() == s || f.grouping() == ""); in main() 83 assert(f.grouping() == s || f.grouping() == ""); in main() 88 assert(f.grouping() == "\3\3"); in main() 92 assert(f.grouping() == "\3\3"); in main() 96 assert(f.grouping() == "\3\3"); in main() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/ |
H A D | grouping.pass.cpp | 25 // string grouping() const; 70 // Monetary grouping strings may be terminated with 0 or CHAR_MAX, defining in main() 71 // how the grouping is repeated. in main() 75 assert(f.grouping() == s || f.grouping() == ""); in main() 79 assert(f.grouping() == s || f.grouping() == ""); in main() 84 assert(f.grouping() == s || f.grouping() == ""); in main() 88 assert(f.grouping() == s || f.grouping() == ""); in main() 99 assert(f.grouping() == us_grouping); in main() 103 assert(f.grouping() == us_grouping); in main() 108 assert(f.grouping() == us_grouping); in main() [all …]
|
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/gatt/ |
H A D | local_service_manager.cc | 29 // Adds characteristic definition attributes to |grouping| for |chrc|. Returns 32 att::AttributeGrouping* grouping, in InsertCharacteristicAttributes() argument 36 PW_DCHECK(grouping); in InsertCharacteristicAttributes() 37 PW_DCHECK(!grouping->complete()); in InsertCharacteristicAttributes() 42 auto* decl_attr = grouping->AddAttribute( in InsertCharacteristicAttributes() 51 auto* value_attr = grouping->AddAttribute( in InsertCharacteristicAttributes() 77 // Adds a characteristic descriptor declaration to |grouping| for |desc|. 78 void InsertDescriptorAttribute(att::AttributeGrouping* grouping, in InsertDescriptorAttribute() argument 84 PW_DCHECK(grouping); in InsertDescriptorAttribute() 85 PW_DCHECK(!grouping->complete()); in InsertDescriptorAttribute() [all …]
|
/aosp_15_r20/external/python/cpython2/Objects/stringlib/ |
D | localeutil.h | 12 const char *grouping; member 14 Py_ssize_t i; /* Where we're currently pointing in grouping. */ 18 _GroupGenerator_init(GroupGenerator *self, const char *grouping) in _GroupGenerator_init() argument 20 self->grouping = grouping; in _GroupGenerator_init() 25 /* Returns the next grouping, or 0 to signify end. */ 30 grouping string contains just CHAR_MAX, for example, then just in _GroupGenerator_next() 33 switch (self->grouping[self->i]) { in _GroupGenerator_next() 40 char ch = self->grouping[self->i]; in _GroupGenerator_next() 89 * to put the grouping chars. 92 * @grouping: see definition in localeconv(). [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/core/common_runtime/ |
H A D | optimization_registry.h | 107 enum Grouping { enum 115 void Register(Grouping grouping, int phase, 118 const std::map<Grouping, GraphOptimizationPasses>& groups() { in groups() 122 // Run all passes in grouping, ordered by phase, with the same 124 Status RunGrouping(Grouping grouping, 131 void LogGrouping(Grouping grouping, int vlog_level); 135 std::map<Grouping, GraphOptimizationPasses> groups_; 142 OptimizationPassRegistration(OptimizationPassRegistry::Grouping grouping, in OptimizationPassRegistration() argument 147 OptimizationPassRegistry::Global()->Register(grouping, phase, in OptimizationPassRegistration() 154 #define REGISTER_OPTIMIZATION(grouping, phase, optimization) \ argument [all …]
|
H A D | optimization_registry.cc | 31 Grouping grouping, int phase, std::unique_ptr<GraphOptimizationPass> pass) { in Register() argument 32 groups_[grouping][phase].push_back(std::move(pass)); in Register() 36 Grouping grouping, const GraphOptimizationPassOptions& options) { in RunGrouping() argument 54 VLOG(1) << "Starting optimization of a group " << grouping; in RunGrouping() 56 std::string prefix = strings::StrCat("before_grouping_", grouping); in RunGrouping() 59 auto group = groups_.find(grouping); in RunGrouping() 79 strings::StrCat("after_group_", grouping, "_phase_", phase.first, in RunGrouping() 87 VLOG(1) << "Finished optimization of a group " << grouping; in RunGrouping() 89 (VLOG_IS_ON(2) && grouping == Grouping::POST_REWRITE_FOR_EXEC)) { in RunGrouping() 90 std::string prefix = strings::StrCat("after_grouping_", grouping); in RunGrouping() [all …]
|
/aosp_15_r20/external/icu/icu4c/source/i18n/unicode/ |
H A D | unumberoptions.h | 71 * An enum declaring the strategy for when and how to display grouping separators (i.e., the 85 * The default is AUTO, which displays grouping separators unless the locale data says that grouping 86 …* is not customary. To force grouping for all numbers greater than 1000 consistently across locale… 87 * use ON_ALIGNED. On the other hand, to display grouping less frequently than the default, use MIN2 91 * Note: This enum specifies the strategy for grouping sizes. To set which character to use as the 92 * grouping separator, use the "symbols" setter. 98 * Do not display grouping separators in any locale. 105 * Display grouping using locale defaults, except do not show grouping on values smaller than 109 * Note that locales may restrict grouping separators to be displayed only on 1 million or 110 * greater (for example, ee and hu) or disable grouping altogether (for example, bg currency). [all …]
|
H A D | decimfmt.h | 171 * the ',' grouping character is replaced by ','. However, the replacement is 172 * still happening, and if the symbols are modified, the grouping character 227 * <td>Grouping separator 300 * <p>The <em>grouping separator</em> is a character that separates clusters of 302 * thousands, but in some locales it separates ten-thousands. The <em>grouping 303 * size</em> is the number of digits between the grouping separators, such as 3 305 * grouping sizes: One used for the least significant integer digits, the 306 * <em>primary grouping size</em>, and one used for all others, the 307 * <em>secondary grouping size</em>. In most locales these are the same, but 308 * sometimes they are different. For example, if the primary grouping interval [all …]
|
/aosp_15_r20/external/icu/libicu/cts_headers/unicode/ |
H A D | unumberoptions.h | 71 * An enum declaring the strategy for when and how to display grouping separators (i.e., the 85 * The default is AUTO, which displays grouping separators unless the locale data says that grouping 86 …* is not customary. To force grouping for all numbers greater than 1000 consistently across locale… 87 * use ON_ALIGNED. On the other hand, to display grouping less frequently than the default, use MIN2 91 * Note: This enum specifies the strategy for grouping sizes. To set which character to use as the 92 * grouping separator, use the "symbols" setter. 98 * Do not display grouping separators in any locale. 105 * Display grouping using locale defaults, except do not show grouping on values smaller than 109 * Note that locales may restrict grouping separators to be displayed only on 1 million or 110 * greater (for example, ee and hu) or disable grouping altogether (for example, bg currency). [all …]
|
H A D | decimfmt.h | 171 * the ',' grouping character is replaced by ','. However, the replacement is 172 * still happening, and if the symbols are modified, the grouping character 227 * <td>Grouping separator 300 * <p>The <em>grouping separator</em> is a character that separates clusters of 302 * thousands, but in some locales it separates ten-thousands. The <em>grouping 303 * size</em> is the number of digits between the grouping separators, such as 3 305 * grouping sizes: One used for the least significant integer digits, the 306 * <em>primary grouping size</em>, and one used for all others, the 307 * <em>secondary grouping size</em>. In most locales these are the same, but 308 * sometimes they are different. For example, if the primary grouping interval [all …]
|
/aosp_15_r20/external/icu/libandroidicu/include/unicode/ |
H A D | unumberoptions.h | 71 * An enum declaring the strategy for when and how to display grouping separators (i.e., the 85 * The default is AUTO, which displays grouping separators unless the locale data says that grouping 86 …* is not customary. To force grouping for all numbers greater than 1000 consistently across locale… 87 * use ON_ALIGNED. On the other hand, to display grouping less frequently than the default, use MIN2 91 * Note: This enum specifies the strategy for grouping sizes. To set which character to use as the 92 * grouping separator, use the "symbols" setter. 98 * Do not display grouping separators in any locale. 105 * Display grouping using locale defaults, except do not show grouping on values smaller than 109 * Note that locales may restrict grouping separators to be displayed only on 1 million or 110 * greater (for example, ee and hu) or disable grouping altogether (for example, bg currency). [all …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/unicode/ |
H A D | unumberoptions.h | 71 * An enum declaring the strategy for when and how to display grouping separators (i.e., the 85 * The default is AUTO, which displays grouping separators unless the locale data says that grouping 86 …* is not customary. To force grouping for all numbers greater than 1000 consistently across locale… 87 * use ON_ALIGNED. On the other hand, to display grouping less frequently than the default, use MIN2 91 * Note: This enum specifies the strategy for grouping sizes. To set which character to use as the 92 * grouping separator, use the "symbols" setter. 98 * Do not display grouping separators in any locale. 105 * Display grouping using locale defaults, except do not show grouping on values smaller than 109 * Note that locales may restrict grouping separators to be displayed only on 1 million or 110 * greater (for example, ee and hu) or disable grouping altogether (for example, bg currency). [all …]
|
H A D | decimfmt.h | 173 * the ',' grouping character is replaced by ','. However, the replacement is 174 * still happening, and if the symbols are modified, the grouping character 229 * <td>Grouping separator 302 * <p>The <em>grouping separator</em> is a character that separates clusters of 304 * thousands, but in some locales it separates ten-thousands. The <em>grouping 305 * size</em> is the number of digits between the grouping separators, such as 3 307 * grouping sizes: One used for the least significant integer digits, the 308 * <em>primary grouping size</em>, and one used for all others, the 309 * <em>secondary grouping size</em>. In most locales these are the same, but 310 * sometimes they are different. For example, if the primary grouping interval [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
H A D | group_by_reducer_test.py | 19 from tensorflow.python.data.experimental.ops import grouping 38 reducer = grouping.Reducer( 44 grouping.group_by_reducer(lambda x: x % 2, reducer)) 57 reducer = grouping.Reducer( 63 grouping.group_by_reducer( 73 reducer = grouping.Reducer( 81 grouping.group_by_reducer(lambda x, y: y % 2, reducer)) 95 reducer = grouping.Reducer( 101 grouping.group_by_reducer(lambda x: x.values[0] % 2, reducer)) 117 reducer = grouping.Reducer( [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/common_os/include/external/icu/icu4c/source/i18n/unicode/ |
H A D | decimfmt.h | 173 * the ',' grouping character is replaced by ','. However, the replacement is 174 * still happening, and if the symbols are modified, the grouping character 229 * <td>Grouping separator 302 * <p>The <em>grouping separator</em> is a character that separates clusters of 304 * thousands, but in some locales it separates ten-thousands. The <em>grouping 305 * size</em> is the number of digits between the grouping separators, such as 3 307 * grouping sizes: One used for the least significant integer digits, the 308 * <em>primary grouping size</em>, and one used for all others, the 309 * <em>secondary grouping size</em>. In most locales these are the same, but 310 * sometimes they are different. For example, if the primary grouping interval [all …]
|
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
H A D | DecimalMatcher.java | 22 /** If true, only accept strings whose grouping sizes match the locale */ 25 /** If true, do not accept grouping separators at all */ 28 // Fraction grouping parsing is disabled for now but could be enabled later. 105 // Fraction grouping parsing is disabled for now but could be enabled later. in DecimalMatcher() 142 // The actual grouping and decimal separators used in the string. in match() 157 // 1 => lead separator is a grouping separator in match() 211 // Attempt to match a literal grouping or decimal separator. in match() 226 // 2) Attempt to match the actual grouping string literal. in match() 235 // 2.5) Attempt to match a new the grouping separator string literal. in match() 236 // if (we have not seen a grouping or decimal separator yet) { ... } in match() [all …]
|
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/number/parse/ |
H A D | DecimalMatcher.java | 20 /** If true, only accept strings whose grouping sizes match the locale */ 23 /** If true, do not accept grouping separators at all */ 26 // Fraction grouping parsing is disabled for now but could be enabled later. 103 // Fraction grouping parsing is disabled for now but could be enabled later. in DecimalMatcher() 140 // The actual grouping and decimal separators used in the string. in match() 155 // 1 => lead separator is a grouping separator in match() 209 // Attempt to match a literal grouping or decimal separator. in match() 224 // 2) Attempt to match the actual grouping string literal. in match() 233 // 2.5) Attempt to match a new the grouping separator string literal. in match() 234 // if (we have not seen a grouping or decimal separator yet) { ... } in match() [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/lexical_cast/include/boost/lexical_cast/detail/ |
D | lcast_unsigned_converters.hpp | 102 std::string const grouping = np.grouping(); in convert() local 103 std::string::size_type const grouping_size = grouping.size(); in convert() 105 if (!grouping_size || grouping[0] <= 0) { in convert() 115 char last_grp_size = grouping[0]; in convert() 122 char const grp_size = grouping[group]; in convert() 204 std::string const& grouping = np.grouping(); in convert() local 205 std::string::size_type const grouping_size = grouping.size(); in convert() 208 * we MUST check for correct grouping in convert() 210 if (!grouping_size || grouping[0] <= 0) { in convert() 216 char remained = static_cast<char>(grouping[current_grouping] - 1); in convert() [all …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/ |
H A D | numparse_decimal.cpp | 90 // Fraction grouping parsing is disabled for now but could be enabled later. in DecimalMatcher() 122 // The actual grouping and decimal separators used in the string. in match() 139 // 1 => lead separator is a grouping separator in match() 194 // Attempt to match a literal grouping or decimal separator. in match() 209 // 2) Attempt to match the actual grouping string literal. in match() 218 // 2.5) Attempt to match a new the grouping separator string literal. in match() 219 // if (we have not seen a grouping or decimal separator yet) { ... } in match() 240 // 4) Attempt to match a grouping separator from the equivalence set. in match() 241 // if (we have not seen a grouping or decimal separator yet) { ... } in match() 258 // Fraction grouping in match() [all …]
|
/aosp_15_r20/external/icu/icu4c/source/i18n/ |
H A D | numparse_decimal.cpp | 90 // Fraction grouping parsing is disabled for now but could be enabled later. in DecimalMatcher() 122 // The actual grouping and decimal separators used in the string. in match() 139 // 1 => lead separator is a grouping separator in match() 194 // Attempt to match a literal grouping or decimal separator. in match() 209 // 2) Attempt to match the actual grouping string literal. in match() 218 // 2.5) Attempt to match a new the grouping separator string literal. in match() 219 // if (we have not seen a grouping or decimal separator yet) { ... } in match() 240 // 4) Attempt to match a grouping separator from the equivalence set. in match() 241 // if (we have not seen a grouping or decimal separator yet) { ... } in match() 258 // Fraction grouping in match() [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/stable.i18n.module.platform.api_stub_sources/android/icu/text/ |
H A D | DecimalFormat.java | 76 * <em>symbols</em>. Grouping size, rounding mode, and affixes are examples of properties. Locale 77 * digits and the characters used for grouping and decimal separators are examples of symbols. 148 * <li>The grouping separator ',' can occur inside the integer and sigDigits elements, between any 151 * <li>Two grouping intervals are recognized: That between the decimal point and the first 152 * grouping symbol, and that between the first and second grouping symbols. These intervals 174 * <p>Grouping separators are ignored in lenient mode (default). In strict mode, grouping separators 175 * must match the locale-specified grouping sizes. 340 * other locale), but it means "grouping" in localized notation. 1066 * Returns whether or not grouping separators are being printed in the output. 1074 * <strong>Grouping:</strong> Sets whether grouping is to be used when formatting numbers. [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/i18n.module.public.api_stub_sources/android/icu/text/ |
H A D | DecimalFormat.java | 76 * <em>symbols</em>. Grouping size, rounding mode, and affixes are examples of properties. Locale 77 * digits and the characters used for grouping and decimal separators are examples of symbols. 148 * <li>The grouping separator ',' can occur inside the integer and sigDigits elements, between any 151 * <li>Two grouping intervals are recognized: That between the decimal point and the first 152 * grouping symbol, and that between the first and second grouping symbols. These intervals 174 * <p>Grouping separators are ignored in lenient mode (default). In strict mode, grouping separators 175 * must match the locale-specified grouping sizes. 340 * other locale), but it means "grouping" in localized notation. 1066 * Returns whether or not grouping separators are being printed in the output. 1074 * <strong>Grouping:</strong> Sets whether grouping is to be used when formatting numbers. [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/sdk/sdk_library/public/i18n.module.intra.core.api_stub_sources/android/icu/text/ |
H A D | DecimalFormat.java | 76 * <em>symbols</em>. Grouping size, rounding mode, and affixes are examples of properties. Locale 77 * digits and the characters used for grouping and decimal separators are examples of symbols. 148 * <li>The grouping separator ',' can occur inside the integer and sigDigits elements, between any 151 * <li>Two grouping intervals are recognized: That between the decimal point and the first 152 * grouping symbol, and that between the first and second grouping symbols. These intervals 174 * <p>Grouping separators are ignored in lenient mode (default). In strict mode, grouping separators 175 * must match the locale-specified grouping sizes. 340 * other locale), but it means "grouping" in localized notation. 1066 * Returns whether or not grouping separators are being printed in the output. 1074 * <strong>Grouping:</strong> Sets whether grouping is to be used when formatting numbers. [all …]
|