Home
last modified time | relevance | path

Searched refs:LC_TIME (Results 1 – 25 of 60) sorted by relevance

123

/external/rust/crates/chrono/src/format/
Dlocales.rs4 locale_match!(locale => LC_TIME::ABMON) in short_months()
8 locale_match!(locale => LC_TIME::MON) in long_months()
12 locale_match!(locale => LC_TIME::ABDAY) in short_weekdays()
16 locale_match!(locale => LC_TIME::DAY) in long_weekdays()
20 locale_match!(locale => LC_TIME::AM_PM) in am_pm()
24 locale_match!(locale => LC_TIME::D_FMT) in d_fmt()
28 locale_match!(locale => LC_TIME::D_T_FMT) in d_t_fmt()
32 locale_match!(locale => LC_TIME::T_FMT) in t_fmt()
/external/fonttools/Tests/misc/
DtimeTools_test.py28 l = locale.getlocale(locale.LC_TIME)
30 locale.setlocale(locale.LC_TIME, 'de_DE.utf8')
37 locale.setlocale(locale.LC_TIME, l)
/external/libcups/cups/
Dlangprintf.c258 #ifdef LC_TIME in _cupsSetLocale()
276 #ifdef LC_TIME in _cupsSetLocale()
277 if ((lc_time = setlocale(LC_TIME, NULL)) == NULL) in _cupsSetLocale()
291 setlocale(LC_TIME, new_lc_time); in _cupsSetLocale()
/external/python/cpython2/Lib/test/
Dtest_strftime.py63 from locale import setlocale, LC_TIME
64 saved_locale = setlocale(LC_TIME)
65 setlocale(LC_TIME, 'C')
66 self.addCleanup(setlocale, LC_TIME, saved_locale)
Dtest_strptime.py17 self.assertEqual(_strptime._getlang(), locale.getlocale(locale.LC_TIME))
556 locale_info = locale.getlocale(locale.LC_TIME)
558 locale.setlocale(locale.LC_TIME, ('en_US', 'UTF8'))
567 locale.setlocale(locale.LC_TIME, ('de_DE', 'UTF8'))
581 locale.setlocale(locale.LC_TIME, locale_info)
Dtest_calendar.py548 oldlocale = locale.getlocale(locale.LC_TIME)
550 locale.setlocale(locale.LC_TIME, (lang, enc))
552 locale.setlocale(locale.LC_TIME, oldlocale)
/external/libcxx/test/std/depr/depr.c.headers/
Dlocale_h.pass.cpp35 #ifndef LC_TIME
36 #error LC_TIME not defined
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dlocale_h.pass.cpp38 #ifndef LC_TIME
39 #error LC_TIME not defined
/external/llvm-project/libcxx/test/std/localization/c.locales/
Dclocale.pass.cpp38 #ifndef LC_TIME
39 #error LC_TIME not defined
/external/libcxx/test/std/localization/c.locales/
Dclocale.pass.cpp37 #ifndef LC_TIME
38 #error LC_TIME not defined
/external/python/cpython3/Lib/test/
Dtest_strftime.py61 from locale import setlocale, LC_TIME
62 saved_locale = setlocale(LC_TIME)
63 setlocale(LC_TIME, 'C')
64 self.addCleanup(setlocale, LC_TIME, saved_locale)
Dtest_strptime.py18 self.assertEqual(_strptime._getlang(), locale.getlocale(locale.LC_TIME))
674 locale_info = locale.getlocale(locale.LC_TIME)
676 locale.setlocale(locale.LC_TIME, ('en_US', 'UTF8'))
685 locale.setlocale(locale.LC_TIME, ('de_DE', 'UTF8'))
699 locale.setlocale(locale.LC_TIME, locale_info)
/external/python/cpython2/Modules/_ctypes/libffi/
Dmdate-sh74 LC_TIME=C
75 export LC_TIME
/external/libcxx/include/support/xlocale/
D__nop_locale_mgmt.h40 #define LC_TIME_MASK (1 << LC_TIME)
/external/llvm-project/libcxx/include/support/xlocale/
D__nop_locale_mgmt.h39 #define LC_TIME_MASK (1 << LC_TIME)
/external/e2fsprogs/lib/ss/
Dmk_cmds.sh.in12 LC_TELEPHONE LC_TIME
/external/libcxx/include/
Dclocale24 LC_TIME
/external/llvm-project/libcxx/include/
Dclocale23 LC_TIME
/external/e2fsprogs/lib/et/
Dcompile_et.sh.in21 LC_TELEPHONE LC_TIME
/external/libcups/filter/
Dcommon.c49 #ifdef LC_TIME in SetCommonOptions()
50 setlocale(LC_TIME, ""); in SetCommonOptions()
/external/python/cpython2/Lib/
Dcalendar.py494 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)
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/functional/
Dcpuhotplug05.sh8 export LC_TIME="POSIX"
/external/e2fsprogs/tests/
Dtest_config5 …ATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME PAGER
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/
D2-1.c30 setlocale(LC_TIME, ""); in main()
/external/libcups/cgi-bin/
Dtemplate.c192 #ifdef LC_TIME in cgiSetServerVersion()
193 setlocale(LC_TIME, ""); in cgiSetServerVersion()

123