Home
last modified time | relevance | path

Searched refs:am_pm (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/
D_strptime.py111 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/openssh/openbsd-compat/
Dstrptime.c275 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/icu/icu4c/source/test/cintltst/
Dccaltst.h92 … int32_t hour, int32_t min, int32_t sec, int32_t am_pm);
Dccaltst.c1470 … int32_t hour, int32_t min, int32_t sec, int32_t am_pm) in verify2() argument
1482 ucal_get(c, UCAL_AM_PM, &status) == am_pm ){ in verify2()
1503 year, month + 1, day, hour, min, sec, (am_pm==0) ? "AM": "PM"); in verify2()
/external/python/cpython2/Lib/test/
Dtest_strptime.py65 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/libcxx/src/
Dlocale.cpp4651 static string am_pm[24]; in init_am_pm() local
4652 am_pm[0] = "AM"; in init_am_pm()
4653 am_pm[1] = "PM"; in init_am_pm()
4654 return am_pm; in init_am_pm()
4661 static wstring am_pm[24]; in init_wam_pm() local
4662 am_pm[0] = L"AM"; in init_wam_pm()
4663 am_pm[1] = L"PM"; in init_wam_pm()
4664 return am_pm; in init_wam_pm()
4671 static const string* am_pm = init_am_pm(); in __am_pm() local
4672 return am_pm; in __am_pm()
[all …]