Home
last modified time | relevance | path

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

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DBaseSettings.java114 protected final Locale _locale; field in BaseSettings
158 _locale = locale; in BaseSettings()
187 _locale, in copy()
205 _typeResolverBuilder, _dateFormat, _handlerInstantiator, _locale, in withClassIntrospector()
214 _typeResolverBuilder, _dateFormat, _handlerInstantiator, _locale, in withAnnotationIntrospector()
241 _typeResolverBuilder, _dateFormat, _handlerInstantiator, _locale, in withPropertyNamingStrategy()
250 _typeResolverBuilder, _dateFormat, _handlerInstantiator, _locale, in withTypeFactory()
259 typer, _dateFormat, _handlerInstantiator, _locale, in withTypeResolverBuilder()
273 _typeResolverBuilder, df, _handlerInstantiator, _locale, in withDateFormat()
282 _typeResolverBuilder, _dateFormat, hi, _locale, in withHandlerInstantiator()
[all …]
/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.py129 import _locale
131 _locale = None variable
Dlocale.py47 from _locale import *
550 import _locale
551 code, encoding = _locale._getdefaultlocale()
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DJsonFormat.java443 private final Locale _locale; field in JsonFormat.Value
491 _locale = l; in Value()
506 _locale = l; in Value()
590 Locale l = overrides._locale; in withOverrides()
592 l = _locale; in withOverrides()
644 return new Value(p, _shape, _locale, _timezoneStr, _timezone, in withPattern()
655 return new Value(_pattern, s, _locale, _timezoneStr, _timezone, in withShape()
671 return new Value(_pattern, _shape, _locale, null, tz, in withTimeZone()
682 return new Value(_pattern, _shape, _locale, _timezoneStr, _timezone, in withLenient()
692 new Value(_pattern, _shape, _locale, _timezoneStr, _timezone, in withFeature()
[all …]
/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]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DStdDateFormat.java130 protected final Locale _locale; field in StdDateFormat
168 _locale = DEFAULT_LOCALE; in StdDateFormat()
174 _locale = loc; in StdDateFormat()
187 _locale = loc; in StdDateFormat()
207 return new StdDateFormat(tz, _locale, _lenient, _tzSerializedWithColon); in withTimeZone()
217 if (loc.equals(_locale)) { in withLocale()
234 return new StdDateFormat(_timezone, _locale, b, _tzSerializedWithColon); in withLenient()
254 return new StdDateFormat(_timezone, _locale, _lenient, b); in withColonInTimeZone()
261 return new StdDateFormat(_timezone, _locale, _lenient, _tzSerializedWithColon); in clone()
437 _format(tz, _locale, date, toAppendTo); in format()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DBeanPropertyMap.java90 private final Locale _locale; field in BeanPropertyMap
102 _locale = locale; in BeanPropertyMap()
126 _locale = src._locale; in BeanPropertyMap()
149 _locale = src._locale; in BeanPropertyMap()
189 _locale = base._locale; in BeanPropertyMap()
369 return new BeanPropertyMap(_caseInsensitive, newProps, _aliasDefs, _locale); in renameAll()
418 return new BeanPropertyMap(_caseInsensitive, newProps, _aliasDefs, _locale); in withoutProperties()
534 return _caseInsensitive ? prop.getName().toLowerCase(_locale) : prop.getName(); in getPropertyName()
565 key = key.toLowerCase(_locale); in find()
DPropertyBasedCreator.java238 protected final Locale _locale; field in PropertyBasedCreator.CaseInsensitiveMap
247 _locale = l; in CaseInsensitiveMap()
257 return super.get(((String) key0).toLowerCase(_locale)); in get()
262 key = key.toLowerCase(_locale); in put()
/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/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)
Dtest_locale.py499 import _locale
504 if hasattr(_locale, '_getdefaultlocale'):
505 orig_getlocale = _locale._getdefaultlocale
506 del _locale._getdefaultlocale
529 _locale._getdefaultlocale = orig_getlocale
/external/python/cpython3/Tools/i18n/
Dmakelocalealias.py11 _locale = locale variable
83 alias = _locale._replace_encoding(alias, alias_encoding)
/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:

12