Home
last modified time | relevance | path

Searched refs:setlocale (Results 1 – 22 of 22) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest__locale.py2 from _locale import (setlocale, LC_NUMERIC, localeconv, Error)
43 self.oldlocale = setlocale(LC_NUMERIC)
46 setlocale(LC_NUMERIC, self.oldlocale)
56 set_locale = setlocale(LC_NUMERIC)
73 setlocale(LC_NUMERIC, loc)
84 setlocale(LC_NUMERIC, loc)
95 setlocale(LC_NUMERIC, loc)
103 set_locale = setlocale(LC_NUMERIC)
117 setlocale(LC_NUMERIC, loc)
Dtest_locale.py24 oldlocale = locale.setlocale(locale.LC_NUMERIC)
27 locale.setlocale(locale.LC_NUMERIC, tloc)
35 locale.setlocale(locale.LC_NUMERIC, oldlocale)
44 self.oldlocale = locale.setlocale(self.locale_type)
45 locale.setlocale(self.locale_type, enUS_locale)
50 locale.setlocale(self.locale_type, self.oldlocale)
389 locale.setlocale(locale.LC_ALL)
390 locale.setlocale(locale.LC_TIME)
391 locale.setlocale(locale.LC_CTYPE)
392 locale.setlocale(locale.LC_COLLATE)
[all …]
Dtest___all__.py84 locale.setlocale(locale.LC_CTYPE, 'C')
Dtest_strptime.py522 locale.setlocale(locale.LC_TIME, ('en_US', 'UTF8'))
531 locale.setlocale(locale.LC_TIME, ('de_DE', 'UTF8'))
545 locale.setlocale(locale.LC_TIME, locale_info)
Dtest_strftime.py64 locale.setlocale(locale.LC_TIME, 'C')
Dtest_support.py866 orig_locale = locale.setlocale(category)
876 locale.setlocale(category, loc)
886 locale.setlocale(category, orig_locale)
Dpickletester.py27 orig_locale = locale.setlocale(category)
37 locale.setlocale(category, loc)
47 locale.setlocale(category, orig_locale)
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dsetlocale1.c47 __warn_references(setlocale,
55 setlocale(int category, const char *locale) in setlocale() function
DLocale.inf39 setlocale.c #
/device/linaro/bootloader/edk2/StdLib/Include/
Dlocale.h185 char *setlocale(int category, const char *locale);
188 char *setlocale(int category, const char *locale) __RENAME(__setlocale_mb_len_max_32);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dlocale.py75 def setlocale(category, value=None): function
317 setlocale(LC_ALL, "")
332 _setlocale = setlocale
517 def setlocale(category, locale=None): function
564 oldloc = setlocale(LC_CTYPE)
566 setlocale(LC_CTYPE, "")
570 setlocale(LC_CTYPE, oldloc)
1835 setlocale(LC_ALL, "")
Dcalendar.py490 _locale.setlocale(_locale.LC_TIME, self.locale)
493 _locale.setlocale(_locale.LC_TIME, self.oldlocale)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dlocale.py83 def setlocale(category, value=None): function
323 setlocale(LC_ALL, "")
338 _setlocale = setlocale
564 def setlocale(category, locale=None): function
612 oldloc = setlocale(LC_CTYPE)
614 setlocale(LC_CTYPE, "")
618 setlocale(LC_CTYPE, oldloc)
2030 setlocale(LC_ALL, "")
Dre.py238 if loc is None or loc == _locale.setlocale(_locale.LC_CTYPE):
258 loc = _locale.setlocale(_locale.LC_CTYPE)
Dcalendar.py494 _locale.setlocale(_locale.LC_TIME, self.locale)
498 _locale.setlocale(_locale.LC_TIME, self.oldlocale)
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
DOnigurumaUefiPort.h51 #define setlocale(a,b) macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dreadline.c24 # define RESTORE_LOCALE(sl) { setlocale(LC_CTYPE, sl); free(sl); }
863 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in setup_readline()
1041 char *saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in call_readline()
1044 setlocale(LC_CTYPE, ""); in call_readline()
D_localemodule.c176 result = setlocale(category, locale); in PyLocale_setlocale()
192 result = setlocale(category, NULL); in PyLocale_setlocale()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_localemodule.c176 result = setlocale(category, locale); in PyLocale_setlocale()
192 result = setlocale(category, NULL); in PyLocale_setlocale()
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dloslib.c282 lua_pushstring(L, setlocale(cat[op], l)); in os_setlocale()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpythonrun.c279 saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in Py_InitializeEx()
280 setlocale(LC_CTYPE, ""); in Py_InitializeEx()
298 setlocale(LC_CTYPE, saved_locale); in Py_InitializeEx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpythonrun.c291 saved_locale = strdup(setlocale(LC_CTYPE, NULL)); in Py_InitializeEx()
292 setlocale(LC_CTYPE, ""); in Py_InitializeEx()
310 setlocale(LC_CTYPE, saved_locale); in Py_InitializeEx()