/external/python/cpython2/Lib/ |
D | _strptime.py | 111 am_pm = [] 114 am_pm.append(time.strftime("%p", time_tuple).lower()) 115 self.am_pm = am_pm 132 (self.a_month[3], '%b'), (self.am_pm[1], '%p'), 215 'p': self.__seqToRE(self.locale_time.am_pm, 'p'), 380 if ampm in ('', locale_time.am_pm[0]): 386 elif ampm == locale_time.am_pm[1]:
|
/external/cldr/tools/java/org/unicode/cldr/posix/ |
D | POSIX_LCTime.java | 26 String am_pm[]; field in POSIX_LCTime 39 am_pm = new String[2]; in POSIX_LCTime() 137 am_pm[0] = POSIXUtilities.POSIXCharName(doc.getWinningValue(SearchLocation)); in POSIX_LCTime() 142 am_pm[1] = POSIXUtilities.POSIXCharName(doc.getWinningValue(SearchLocation)); in POSIX_LCTime() 252 out.println("am_pm \"" + am_pm[0] + "\";\"" + am_pm[1] + "\""); in write()
|
/external/python/cpython3/Lib/ |
D | _strptime.py | 101 am_pm = [] 104 am_pm.append(time.strftime("%p", time_tuple).lower()) 105 self.am_pm = am_pm 122 (self.a_month[3], '%b'), (self.am_pm[1], '%p'), 209 'p': self.__seqToRE(self.locale_time.am_pm, 'p'), 402 if ampm in ('', locale_time.am_pm[0]): 408 elif ampm == locale_time.am_pm[1]:
|
/external/openssh/openbsd-compat/ |
D | strptime.c | 275 len = strlen(_ctloc(am_pm[0])); in _strptime() 276 if (strncasecmp(_ctloc(am_pm[0]), bp, len) == 0) { in _strptime() 286 len = strlen(_ctloc(am_pm[1])); in _strptime() 287 if (strncasecmp(_ctloc(am_pm[1]), bp, len) == 0) { in _strptime()
|
/external/rust/crates/chrono/src/format/ |
D | mod.rs | 413 let (short_months, long_months, short_weekdays, long_weekdays, am_pm, am_pm_lowercase) = { in format_inner() 415 let am_pm = locales::am_pm(locale); in format_inner() localVariable 421 am_pm, in format_inner() 422 &[am_pm[0].to_lowercase(), am_pm[1].to_lowercase()], in format_inner() 426 let (short_months, long_months, short_weekdays, long_weekdays, am_pm, am_pm_lowercase) = { in format_inner() 579 result.push_str(if t.hour12().0 { am_pm[1] } else { am_pm[0] }); in format_inner()
|
D | locales.rs | 19 pub(crate) fn am_pm(locale: Locale) -> &'static [&'static str] { in am_pm() function
|
/external/mtools/ |
D | mdir.c | 106 char am_pm; in print_time() local 110 am_pm = (hour >= 12) ? 'p' : 'a'; in print_time() 116 am_pm = ' '; in print_time() 118 printf("%2d:%02d%c", hour, DOS_MINUTE(dir), am_pm); in print_time()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.h | 92 … int32_t hour, int32_t min, int32_t sec, int32_t am_pm);
|
D | ccaltst.c | 1499 … int32_t hour, int32_t min, int32_t sec, int32_t am_pm) in verify2() argument 1511 ucal_get(c, UCAL_AM_PM, &status) == am_pm ){ in verify2() 1532 year, month + 1, day, hour, min, sec, (am_pm==0) ? "AM": "PM"); in verify2()
|
/external/python/cpython2/Lib/test/ |
D | test_strptime.py | 65 self.assertIn(strftime_output, self.LT_ins.am_pm, 69 self.assertEqual(self.LT_ins.am_pm[position], strftime_output, 99 LT.am_pm = ('', '')
|
/external/python/cpython3/Lib/test/ |
D | test_strptime.py | 66 self.assertIn(strftime_output, self.LT_ins.am_pm, 70 self.assertEqual(self.LT_ins.am_pm[position], strftime_output, 100 LT.am_pm = ('', '')
|
/external/libcxx/src/ |
D | locale.cpp | 4663 static string am_pm[2]; in init_am_pm() local 4664 am_pm[0] = "AM"; in init_am_pm() 4665 am_pm[1] = "PM"; in init_am_pm() 4666 return am_pm; in init_am_pm() 4673 static wstring am_pm[2]; in init_wam_pm() local 4674 am_pm[0] = L"AM"; in init_wam_pm() 4675 am_pm[1] = L"PM"; in init_wam_pm() 4676 return am_pm; in init_wam_pm() 4683 static const string* am_pm = init_am_pm(); in __am_pm() local 4684 return am_pm; in __am_pm() [all …]
|
/external/llvm-project/libcxx/src/ |
D | locale.cpp | 4840 static string am_pm[2]; in init_am_pm() local 4841 am_pm[0] = "AM"; in init_am_pm() 4842 am_pm[1] = "PM"; in init_am_pm() 4843 return am_pm; in init_am_pm() 4850 static wstring am_pm[2]; in init_wam_pm() local 4851 am_pm[0] = L"AM"; in init_wam_pm() 4852 am_pm[1] = L"PM"; in init_wam_pm() 4853 return am_pm; in init_wam_pm() 4860 static const string* am_pm = init_am_pm(); in __am_pm() local 4861 return am_pm; in __am_pm() [all …]
|