Home
last modified time | relevance | path

Searched refs:am_pm (Results 1 – 10 of 10) 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/cldr/tools/java/org/unicode/cldr/posix/
DPOSIX_LCTime.java26 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.py110 am_pm = []
113 am_pm.append(time.strftime("%p", time_tuple).lower())
114 self.am_pm = am_pm
131 (self.a_month[3], '%b'), (self.am_pm[1], '%p'),
218 'p': self.__seqToRE(self.locale_time.am_pm, 'p'),
411 if ampm in ('', locale_time.am_pm[0]):
417 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/python/cpython3/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.cpp4663 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/epid-sdk/ext/argtable3/
Dargtable3.c1118 static const char *am_pm[2] = { variable
1369 if (arg_strcasecmp(am_pm[0], bp) == 0) { in arg_strptime()
1373 bp += strlen(am_pm[0]); in arg_strptime()
1377 else if (arg_strcasecmp(am_pm[1], bp) == 0) { in arg_strptime()
1382 bp += strlen(am_pm[1]); in arg_strptime()