Home
last modified time | relevance | path

Searched refs:grouping (Results 1 – 24 of 24) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_locale.py169 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))
177 self._test_format("%+10.f", -4200, grouping=1,
179 self._test_format("%-10.f", -4200, grouping=1,
183 self._test_format("%d", 4200, grouping=True, out='4%s200' % self.sep)
184 self._test_format("%+d", 4200, grouping=True, out='+4%s200' % self.sep)
185 self._test_format("%+d", -4200, grouping=True, out='-4%s200' % self.sep)
[all …]
Dtest_types.py564 self.assertEqual(locale.format('%g', x, grouping=True), format(x, 'n'))
565 self.assertEqual(locale.format('%.10g', x, grouping=True), format(x, '.10n'))
573 self.assertEqual(locale.format('%d', x, grouping=True), format(x, 'n'))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/stringlib/
Dlocaleutil.h27 const char *grouping; member
33 _GroupGenerator_init(GroupGenerator *self, const char *grouping) in _GroupGenerator_init() argument
35 self->grouping = grouping; in _GroupGenerator_init()
48 switch (self->grouping[self->i]) { in _GroupGenerator_next()
55 char ch = self->grouping[self->i]; in _GroupGenerator_next()
133 const char *grouping, in _Py_InsertThousandsGrouping() argument
152 _GroupGenerator_init(&groupgen, grouping); in _Py_InsertThousandsGrouping()
221 const char *grouping = locale_data->grouping; in _Py_InsertThousandsGroupingLocale() local
225 min_width, grouping, thousands_sep); in _Py_InsertThousandsGroupingLocale()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dlocaleutil.h27 const char *grouping; member
33 _GroupGenerator_init(GroupGenerator *self, const char *grouping) in _GroupGenerator_init() argument
35 self->grouping = grouping; in _GroupGenerator_init()
48 switch (self->grouping[self->i]) { in _GroupGenerator_next()
55 char ch = self->grouping[self->i]; in _GroupGenerator_next()
133 const char *grouping, in _Py_InsertThousandsGrouping() argument
152 _GroupGenerator_init(&groupgen, grouping); in _Py_InsertThousandsGrouping()
221 const char *grouping = locale_data->grouping; in _Py_InsertThousandsGroupingLocale() local
225 min_width, grouping, thousands_sep); in _Py_InsertThousandsGroupingLocale()
Dformatter.h374 char *grouping; member
515 locale->grouping, in calc_number_widths()
599 locale->grouping, locale->thousands_sep); in fill_number()
646 locale_info->grouping = locale_data->grouping; in get_locale_info()
652 locale_info->grouping = "\3"; /* Group every 3 characters. The in get_locale_info()
659 locale_info->grouping = no_grouping; in get_locale_info()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/stringlib/
Dlocaleutil.h27 const char *grouping; member
33 _GroupGenerator_init(GroupGenerator *self, const char *grouping) in _GroupGenerator_init() argument
35 self->grouping = grouping; in _GroupGenerator_init()
48 switch (self->grouping[self->i]) { in _GroupGenerator_next()
55 char ch = self->grouping[self->i]; in _GroupGenerator_next()
133 const char *grouping, in _Py_InsertThousandsGrouping() argument
152 _GroupGenerator_init(&groupgen, grouping); in _Py_InsertThousandsGrouping()
221 const char *grouping = locale_data->grouping; in _Py_InsertThousandsGroupingLocale() local
225 min_width, grouping, thousands_sep); in _Py_InsertThousandsGroupingLocale()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dlocale.py116 def _grouping_intervals(grouping): argument
118 for interval in grouping:
135 grouping = conv[monetary and 'mon_grouping' or 'grouping']
136 if not grouping:
148 for interval in _grouping_intervals(grouping):
179 def format(percent, value, grouping=False, monetary=False, *additional): argument
190 return _format(percent, value, grouping, monetary, *additional)
192 def _format(percent, value, grouping=False, monetary=False, *additional): argument
201 if grouping:
210 if grouping:
[all …]
Ddecimal.py6024 def _group_lengths(grouping): argument
6038 if not grouping:
6040 elif grouping[-1] == 0 and len(grouping) >= 2:
6041 return chain(grouping[:-1], repeat(grouping[-2]))
6042 elif grouping[-1] == _locale.CHAR_MAX:
6043 return grouping[:-1]
6065 grouping = spec['grouping']
6068 for l in _group_lengths(grouping):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dlocale.py124 def _grouping_intervals(grouping): argument
126 for interval in grouping:
143 grouping = conv[monetary and 'mon_grouping' or 'grouping']
144 if not grouping:
154 for interval in _grouping_intervals(grouping):
185 def format(percent, value, grouping=False, monetary=False, *additional): argument
196 return _format(percent, value, grouping, monetary, *additional)
198 def _format(percent, value, grouping=False, monetary=False, *additional): argument
207 if grouping:
216 if grouping:
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dlocaleconv.c79 ret.grouping = in localeconv()
80 __UNCONST(_CurrentNumericLocale->grouping); in localeconv()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dvfwprintf.c625 const char *grouping; /* locale specific numeric grouping rules */ in WDECL() local
826 grouping = NULL; in WDECL()
923 grouping = localeconv()->grouping; in WDECL()
1268 if (grouping && expt > 0) { in WDECL()
1272 while (*grouping != CHAR_MAX) { in WDECL()
1273 if (lead <= *grouping) in WDECL()
1275 lead -= *grouping; in WDECL()
1276 if (*(grouping+1)) { in WDECL()
1278 grouping++; in WDECL()
1431 grouping); in WDECL()
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/
Dlocale.h86 …char *grouping; /**< "" A string whose elements (characters) indicate the … member
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dlocaledef.h78 const char *grouping; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dformatter.h374 char *grouping; member
515 locale->grouping, in calc_number_widths()
599 locale->grouping, locale->thousands_sep); in fill_number()
646 locale_info->grouping = locale_data->grouping; in get_locale_info()
652 locale_info->grouping = "\3"; /* Group every 3 characters. The in get_locale_info()
659 locale_info->grouping = no_grouping; in get_locale_info()
/device/linaro/bootloader/edk2/ShellPkg/Application/ShellCTestApp/
DTestArgv.nsh43 # '%' should be processed before grouping parameters
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dstringobject.h198 const char *grouping,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dstringobject.h198 const char *grouping,
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/
Dhistory.txt50 Base Systems, Inc.) came up with the idea of error grouping (strings
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_localemodule.c237 x = copy_grouping(l->grouping); in PyLocale_localeconv()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_localemodule.c237 x = copy_grouping(l->grouping); in PyLocale_localeconv()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/
DUqiList.uni49 // new token. Do not worry about "grouping" your questions
/device/google/bonito/json-c/
DDoxyfile163 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
/device/google/crosshatch/json-c/
DDoxyfile163 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dporting-guide.rst1919 a logical grouping of CPUs that share some state, then level 1 is that group