Home
last modified time | relevance | path

Searched refs:_locale (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython3/Lib/
D_bootlocale.py8 import _locale
14 return _locale._getdefaultlocale()[1]
17 _locale.CODESET
37 result = _locale.nl_langinfo(_locale.CODESET)
Dcalendar.py10 import locale as _locale namespace
551 self.oldlocale = _locale.getlocale(_locale.LC_TIME)
552 _locale.setlocale(_locale.LC_TIME, self.locale)
555 _locale.setlocale(_locale.LC_TIME, self.oldlocale)
569 locale = _locale.getdefaultlocale()
599 locale = _locale.getdefaultlocale()
Dre.py127 import _locale
129 _locale = None variable
Dlocale.py47 from _locale import *
544 import _locale
545 code, encoding = _locale._getdefaultlocale()
D_pydecimal.py6167 import locale as _locale namespace
6236 _localeconv = _locale.localeconv()
6296 elif grouping[-1] == _locale.CHAR_MAX:
/external/python/cpython2/Lib/
Dre.py108 import _locale
110 _locale = None variable
238 if loc is None or loc == _locale.setlocale(_locale.LC_CTYPE):
256 if not _locale:
258 loc = _locale.setlocale(_locale.LC_CTYPE)
Dcalendar.py10 import locale as _locale namespace
494 self.oldlocale = _locale.getlocale(_locale.LC_TIME)
495 _locale.setlocale(_locale.LC_TIME, self.locale)
496 return _locale.getlocale(_locale.LC_TIME)[1]
499 _locale.setlocale(_locale.LC_TIME, self.oldlocale)
513 locale = _locale.getdefaultlocale()
547 locale = _locale.getdefaultlocale()
Dlocale.py45 from _locale import *
521 import _locale
522 code, encoding = _locale._getdefaultlocale()
597 import _locale
598 return _locale._getdefaultlocale()[1]
Ddecimal.py5972 import locale as _locale namespace
6042 _localeconv = _locale.localeconv()
6114 elif grouping[-1] == _locale.CHAR_MAX:
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTZDBTimeZoneNames.java55 private ULocale _locale; field in TZDBTimeZoneNames
59 _locale = loc; in TZDBTimeZoneNames()
397 String region = _locale.getCountry(); in getTargetRegion()
399 ULocale tmp = ULocale.addLikelySubtags(_locale); in getTargetRegion()
DTimeZoneGenericNames.java109 private final ULocale _locale; field in TimeZoneGenericNames
138 _locale = locale; in TimeZoneGenericNames()
149 _tznames = TimeZoneNames.getInstance(_locale); in init()
451 ICUData.ICU_ZONE_BASE_NAME, _locale); in formatPattern()
476 locNames = LocaleDisplayNames.getInstance(_locale); in getLocaleDisplayNames()
518 _region = _locale.getCountry(); in getTargetRegion()
520 ULocale tmp = ULocale.addLikelySubtags(_locale); in getTargetRegion()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTZDBTimeZoneNames.java57 private ULocale _locale; field in TZDBTimeZoneNames
61 _locale = loc; in TZDBTimeZoneNames()
399 String region = _locale.getCountry(); in getTargetRegion()
401 ULocale tmp = ULocale.addLikelySubtags(_locale); in getTargetRegion()
DTimeZoneGenericNames.java113 private final ULocale _locale; field in TimeZoneGenericNames
142 _locale = locale; in TimeZoneGenericNames()
153 _tznames = TimeZoneNames.getInstance(_locale); in init()
455 ICUData.ICU_ZONE_BASE_NAME, _locale); in formatPattern()
480 locNames = LocaleDisplayNames.getInstance(_locale); in getLocaleDisplayNames()
522 _region = _locale.getCountry(); in getTargetRegion()
524 ULocale tmp = ULocale.addLikelySubtags(_locale); in getTargetRegion()
/external/python/cpython2/Lib/test/
Dtest__locale.py2 from _locale import (setlocale, LC_NUMERIC, localeconv, Error)
4 from _locale import (RADIXCHAR, THOUSEP, nl_langinfo)
/external/python/cpython3/Tools/i18n/
Dmakelocalealias.py11 _locale = locale variable
80 alias = _locale._replace_encoding(alias, alias_encoding)
/external/python/cpython3/Lib/test/
Dtest__locale.py1 from _locale import (setlocale, LC_ALL, LC_CTYPE, LC_NUMERIC, localeconv, Error)
3 from _locale import (RADIXCHAR, THOUSEP, nl_langinfo)
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java295 private ULocale _locale; field in TimeZoneFormat
383 _locale = locale; in TimeZoneFormat()
495 _gnames = TimeZoneGenericNames.getInstance(_locale); in getTimeZoneGenericNames()
512 _tzdbNames = new TZDBTimeZoneNames(_locale); in getTZDBTimeZoneNames()
533 _gnames = new TimeZoneGenericNames(_locale, _tznames); in setTimeZoneNames()
1781 _region = _locale.getCountry();
1783 ULocale tmp = ULocale.addLikelySubtags(_locale);
3102 fields.put("_locale", _locale);
3122 _locale = (ULocale)fields.get("_locale", null);
3123 if (_locale == null) {
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java331 private ULocale _locale; field in TimeZoneFormat
420 _locale = locale; in TimeZoneFormat()
535 _gnames = TimeZoneGenericNames.getInstance(_locale); in getTimeZoneGenericNames()
552 _tzdbNames = new TZDBTimeZoneNames(_locale); in getTZDBTimeZoneNames()
574 _gnames = new TimeZoneGenericNames(_locale, _tznames); in setTimeZoneNames()
1851 _region = _locale.getCountry();
1853 ULocale tmp = ULocale.addLikelySubtags(_locale);
3172 fields.put("_locale", _locale);
3192 _locale = (ULocale)fields.get("_locale", null);
3193 if (_locale == null) {
[all …]
/external/python/cpython2/Doc/library/
Dlocale.rst16 .. index:: module: _locale
18 The :mod:`locale` module is implemented on top of the :mod:`_locale` module,
544 this to happen, it should remove the :mod:`_locale` extension module (which does
546 and make sure that the :mod:`_locale` module is not accessible as a shared
550 .. _locale-gettext:
/external/python/cpython2/RISCOS/
DMakefile82 @.^.Lib._locale/pyd\
304 @.^.Lib._locale/pyd: @.^.Modules.o._localemodule s.linktab
305 $(MAKEDLK) -d @.^.Lib._locale/pyd -s s.linktab -o @.^.Modules.o._localemodule -e init_locale
/external/python/cpython3/Doc/library/
Dlocale.rst19 .. index:: module: _locale
21 The :mod:`locale` module is implemented on top of the :mod:`_locale` module,
558 this to happen, it should remove the :mod:`_locale` extension module (which does
560 and make sure that the :mod:`_locale` module is not accessible as a shared
564 .. _locale-gettext:
/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp228 CollatorInfo::CollatorInfo(const Locale& _locale, Collator* _collator, Hashtable* _displayNames) in CollatorInfo() argument
229 : locale(_locale) in CollatorInfo()
/external/icu/icu4c/source/common/
Dserv.cpp284 DNCache(const Locale& _locale) in DNCache() argument
285 : cache(), locale(_locale) in DNCache()
/external/python/cpython3/Modules/
DSetup.dist126 _locale _localemodule.c # -lintl
/external/python/cpython2/Modules/
DSetup.dist192 #_locale _localemodule.c # -lintl

12