/third_party/musl/libc-test/src/functionalext/time/ |
H A D | strptime_ext.c | 53 strptime(buffer, "%c", &tmTime); in strptime_0100() 90 strptime(buffer, "%c %Z%z", &tmTime); in strptime_0200() 112 strptime(buffer, "%F", &tmTime); in strptime_0300() 130 strptime(buffer, "%g", &tmTime); in strptime_0400() 147 strptime(buffer, " %k", &tmTime); in strptime_0500() 164 strptime(buffer, " %l", &tmTime); in strptime_0600() 189 strptime(buffer, "%s", &tmTime); in strptime_0700() 207 strptime(buffer, "%u", &tmTime); in strptime_0800() 224 strptime(buffer, "%v", &tmTime); in strptime_0900() 242 char *result = strptime(buffe in strptime_1000() [all...] |
/third_party/musl/porting/liteos_a/kernel/src/time/ |
H A D | strptime.c | 9 char *strptime(const char *restrict s, const char *restrict f, struct tm *restrict tm) in strptime() function 45 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 59 s = strptime(s, "%m/%d/%y", tm); in strptime() 110 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 114 s = strptime(s, "%H:%M", tm); in strptime() 123 s = strptime(s, "%H:%M:%S", tm); in strptime() 139 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 143 s = strptime(s, nl_langinfo(T_FMT), tm); in strptime()
|
/third_party/musl/porting/liteos_m/kernel/src/time/ |
H A D | strptime.c | 9 char *strptime(const char *restrict s, const char *restrict f, struct tm *restrict tm) in strptime() function 45 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 59 s = strptime(s, "%m/%d/%y", tm); in strptime() 110 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 114 s = strptime(s, "%H:%M", tm); in strptime() 123 s = strptime(s, "%H:%M:%S", tm); in strptime() 139 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 143 s = strptime(s, nl_langinfo(T_FMT), tm); in strptime()
|
/third_party/musl/porting/uniproton/kernel/src/time/ |
H A D | strptime.c | 9 char *strptime(const char *restrict s, const char *restrict f, struct tm *restrict tm) in strptime() function 45 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 59 s = strptime(s, "%m/%d/%y", tm); in strptime() 110 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 114 s = strptime(s, "%H:%M", tm); in strptime() 123 s = strptime(s, "%H:%M:%S", tm); in strptime() 139 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 143 s = strptime(s, nl_langinfo(T_FMT), tm); in strptime()
|
/third_party/musl/porting/linux/user/src/time/ |
H A D | strptime.c | 131 char *strptime(const char *restrict s, const char *restrict f, struct tm *restrict tm) in strptime() function 173 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 191 s = strptime(s, "%m/%d/%y", tm); in strptime() 197 s = strptime(s, "%Y-%m-%d", tm); in strptime() 265 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 271 s = strptime(s, "%H:%M", tm); in strptime() 297 s = strptime(s, "%H:%M:%S", tm); in strptime() 331 if (!(s = strptime(s, "%e-%b-%Y", tm))) { in strptime() 352 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 358 s = strptime( in strptime() [all...] |
/third_party/musl/src/time/ |
H A D | strptime.c | 92 char *strptime(const char *restrict s, const char *restrict f, struct tm *restrict tm) in strptime() function 128 s = strptime(s, nl_langinfo(D_T_FMT), tm); in strptime() 142 s = strptime(s, "%m/%d/%y", tm); in strptime() 146 s = strptime(s, "%Y-%m-%d", tm); in strptime() 214 s = strptime(s, nl_langinfo(T_FMT_AMPM), tm); in strptime() 218 s = strptime(s, "%H:%M", tm); in strptime() 242 s = strptime(s, "%H:%M:%S", tm); in strptime() 275 if (!(s = strptime(s, "%e-%b-%Y", tm))) { in strptime() 296 s = strptime(s, nl_langinfo(D_FMT), tm); in strptime() 300 s = strptime( in strptime() [all...] |
H A D | getdate.c | 33 p = strptime(s, fmt, &tmbuf); in getdate()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
H A D | time_test.cpp | 166 * @tc.desc: Verify the behavior of strftime and strptime functions in handling time zone information and converting 189 char* p = strptime("1697414400x", "%s", &tm); in HWTEST_F() 489 * @tc.desc: Verify the correct behavior of the strptime and strftime functions in parsing and formatting time strings. 502 strptime("09:57", "%R", &tim); in HWTEST_F() 507 strptime("09:58:55", "%T", &tim); in HWTEST_F() 514 * @tc.desc: Ensure that the "strptime" function correctly parses dates in the "%F" format and produces the expected 522 char* result = strptime("2023-10-20", "%F", &tim); in HWTEST_F() 531 * @tc.desc: Ensure that the 'strptime' function correctly parses the timestamp in the '% s' format and generates 554 char* p = strptime("1697414400x", "%s", &tm); in HWTEST_F() 569 * @tc.desc: Ensure that the "strptime" functio [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | strptime.c | 21 ret = strptime(s, format, &tm); in checkStrptime() 45 ret = strptime(s, "%z", &tm); in checkStrptimeTz()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
H A D | 27-1-buildonly.c | 10 char *strptime(const char *, const char *, struct tm *); 21 dummyvar = strptime; in dummyfcn()
|
/third_party/icu/tools/release/c/os-mapping/ |
H A D | testTimezone.c | 34 strptime("2006-06-01 12:00", "%Y-%m-%d %H:%M", &summerTimeTM); in main()
|
/third_party/python/Lib/test/ |
H A D | test_time.py | 269 # Should be able to go round-trip from strftime to strptime without 278 time.strptime(strf_output, format) 284 # Make sure only strings are accepted as arguments to strptime. 285 self.assertRaises(TypeError, time.strptime, b'2009', "%Y") 286 self.assertRaises(TypeError, time.strptime, '2009', b'%Y') 291 time.strptime('', '%D') 295 time.strptime('19', '%Y %') 747 t = time.strptime("UTC", "%Z") 749 t = time.strptime("+0500", "%z")
|
H A D | test_strptime.py | 1 """PyUnit testing against strptime""" 89 # issue since strptime still parses it correctly. The problem is 206 """Tests for _strptime.strptime.""" 239 # 4. ISO year is specified alone (e.g. time.strptime('2015', '%G')) 447 "strptime does not handle ALL-CAPS names properly") 449 "strptime does not handle lowercase names properly") 451 "strptime does not handle capword names properly") 458 "Default values for strptime() are incorrect;" 471 time.strptime("Feb 29", "%b %d") 475 time.strptime("Fe [all...] |
/third_party/toybox/toys/posix/ |
H A D | sort.c | 203 xx = strptime(x,"%b",&thyme); in compare_values() 205 yy = strptime(y,"%b",&thyme); in compare_values()
|
H A D | date.c | 131 char *s = strptime(TT.d, TT.D+(*TT.D=='+'), &tm); in date_main()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | time.h | 121 char *strptime (const char *__restrict, const char *__restrict, struct tm *__restrict);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | time.h | 120 char *strptime (const char *__restrict, const char *__restrict, struct tm *__restrict);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | time.h | 121 char *strptime (const char *__restrict, const char *__restrict, struct tm *__restrict);
|
/third_party/musl/libc-test/src/api/ |
H A D | time.c | 78 {char*(*p)(const char*restrict,const char*restrict,struct tm*restrict) = strptime;} in f()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | date.c | 128 char *s = strptime(TT.d, TT.D+(*TT.D=='+'), &tm); in date_main()
|
/third_party/mesa3d/include/android_stub/log/ |
H A D | log_time.h | 151 char* strptime(const char* s, const char* format);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | time.h | 136 char *strptime (const char *__restrict, const char *__restrict, struct tm *__restrict);
|
/third_party/musl/include/ |
H A D | time.h | 123 char *strptime (const char *__restrict, const char *__restrict, struct tm *__restrict);
|
/third_party/node/deps/v8/tools/release/ |
H A D | list_deprecated.py | 163 options.before = datetime.strptime(options.before, '%Y-%m-%d')
|
/third_party/toybox/lib/ |
H A D | portability.h | 94 // see http://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html 96 char *strptime(const char *buf, const char *format, struct tm *tm);
|