Home
last modified time | relevance | path

Searched refs:strptime (Results 1 – 25 of 70) sorted by relevance

123

/glibc-2.36/time/
Dtst-strptime3.c18 if (strptime ("2007", "%Y", &tm) == NULL in do_test()
19 || strptime ("12", "%d", &tm) == NULL in do_test()
20 || strptime ("Feb", "%b", &tm) == NULL in do_test()
21 || strptime ("13", "%M", &tm) == NULL in do_test()
22 || strptime ("21", "%S", &tm) == NULL in do_test()
23 || strptime ("16", "%H", &tm) == NULL) in do_test()
37 if (strptime ("8", "%d", &tm) == NULL) in do_test()
DMakefile37 getdate strptime strptime_l \
45 tests := test_time clocktest tst-posixtz tst-strptime tst_wcsftime \
48 tst-strptime3 bug-getdate1 tst-strptime-whitespace tst-ftime \
84 $(objpfx)tst-strptime.out: $(gen-locales)
Dstrptime.c30 strptime (const char *buf, const char *format, struct tm *tm) in strptime() function
34 libc_hidden_def (strptime)
Dtst-strptime.c104 char *ret = strptime (tm_tests[i].input, tm_tests[i].format, &tm); in test_tm()
165 char *ret = strptime (day_tests[i].input, day_tests[i].format, &tm); in do_test()
Dtst-strptime-whitespace.c31 char *r = strptime (in, "%A%d %b%Y", &t); in do_test()
DVersions37 setitimer; settimeofday; stime; strftime; strptime;
Dtst-strptime2.c123 p = strptime (buf, "%s %z", &tm); in compare()
Dgetdate.c196 result = strptime (string, line, tp); in __getdate_r()
Dtst-strftime3.c510 rvp = strptime (d->printed, d->format, &tm2); in do_test()
Dtime.h107 extern char *strptime (const char *__restrict __s,
Dstrptime_l.c181 # define strptime __strptime_l macro
1252 strptime (const char *buf, const char *format, struct tm *tm LOCALE_PARAM) in strptime() function
/glibc-2.36/conform/data/
Dtime.h-data107 function {char*} strptime (const char*, const char*, struct tm*)
/glibc-2.36/include/
Dtime.h25 libc_hidden_proto (strptime)
/glibc-2.36/manual/
Dtime.texi1875 extended by the addition of two functions: @code{strptime} and
1891 which is defined and implemented in terms of calls to @code{strptime}.
1893 @deftypefun {char *} strptime (const char *@var{s}, const char *@var{fmt}, struct tm *@var{tp})
1896 @c strptime @mtsenv @mtslocale @ascuheap @asulock @aculock @acsmem @acsfd
1921 The @code{strptime} function parses the input string @var{s} according
1941 @code{strptime} since differences like case of the input do not matter.
2182 the @code{%C} format. The @code{strptime} function does regard input
2228 The @code{strptime} function processes the input string from right to
2239 occurs, i.e., @code{strptime} fails to match all of the format string,
2256 Before calling the @code{strptime} function for a new input string, you
[all …]
/glibc-2.36/
DSHARED-FILES128 time/strptime.c
DNEWS1814 [24394] time: strptime %Ey mis-parses final year of era
2596 In a call to strptime, "%B", "%b", "%h", "%OB", "%Ob", and "%Oh"
4327 [16141] time: strptime %z offset restriction
4364 [17886] time: strptime should be able to parse "Z" as a timezone with %z
4365 [17887] time: strptime should be able to parse "+01:00" style timezones
6967 * Ulrich Drepper provided an implementation of the `strptime' function
/glibc-2.36/ChangeLog.old/
DChangeLog.9226 * time/strptime.c (strptime_internal, case 's'): Initialize secs
1499 * time/strptime.c (get_number): Ignore trailing whitespace.
1531 * time/Makefile (tests): Add tst-strptime.
1532 * time/tst-strptime.c: New file.
1533 * time/strptime.c: Correct bugs in weekday and yearday computation.
1537 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
1867 * time/strptime.c: Fix unterminated comment in last change.
1920 * time/strptime.c (strptime_internal): Make use of `%C' format
3182 * time/strptime.c (HERE_D_FMT): Fix typo.
5347 (e.g., from strptime).
DChangeLog.10758 * time/strptime.c (strptime_internal): Fix pointer dereference.
2181 * time/tst-strptime.c (test_tm): Add tests for all fields of
2715 * time/strptime.c: Likewise.
2719 * time/strptime.c (strptime_internal): Merged Yoshiyama's
2724 * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2726 * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
3804 * time/strptime.c (day_of_the_week): Make sure result is never
5886 * time/strptime.c: Undo last change.
5963 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
7493 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
[all …]
DChangeLog.localedata4774 (tst-strptime-ENV): Likewise.
6264 * tst-strptime.c: Remove, we do not support vi_VN.TCVN5712-1
6267 (tests): Remove tst-strptime.
7126 * tst-strptime.c (do_test): Add test of %EY.
7130 * tst-strptime.c (do_test): Add test for parsing era year
7430 * tst-strptime.c (do_test): Use %tu in fmt string for ptrdiff_t value.
7441 * Makefile: Add rules to build and run tst-strptime.
7442 * tst-strptime.c: New file.
DChangeLog.13585 * time/tst-strptime.c (test_tm): Likewise.
586 * time/tst-strptime.c (main): Likewise.
2028 * time/strptime.c (ISSPACE): New #define. Use isspace or
2065 * time/strptime.c (strptime_internal): Remove spurious const.
2084 * time/strptime.c: Likewise.
2102 * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD):
2400 * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strptime_l
4599 * time/strptime.c: Likewise.
8628 * time/strptime.c (_nl_C_LC_TIME): Likewise.
8712 * time/strptime.c [_LIBC] (__mon_yday): Remove declaration.
[all …]
DChangeLog.12201 * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get
208 * time/tst-strptime.c: Add tests in different locales.
209 * time/Makefile (tst-strptime-ENV): Define.
218 * time/strptime.c (strptime_internal): Add handling of year +
220 * time/tst-strptime.c: Add test case for %U and %W handling.
1009 tm_zone before calling strptime.
9381 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
DChangeLog.7590 * time/strptime.c [%Y]: Treat all years, not only those which fit
646 * time/strptime.c (strptime_internal): Fix bug: %Oy forgot to
648 on 32-bit time_t hosts, as strptime returns an int tm_year, not a
673 * time/strptime.c (strptime_internal): In %y format, regard years
1611 * time/strptime.c (strptime_internal): Likewise.
8689 * time/strptime.c (strptime_internal, case 'Y'): Restrict year
9905 * time/strptime.c (strptime_internal): Fix %I format specifier
10302 * time/strptime.c: Interpret year number 00-59 as 2000--2059.
12079 * time/strptime.c (recursive): Return rp to caller.
12093 * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
/glibc-2.36/scripts/
Dbuild-many-glibcs.py1084 old_time = datetime.datetime.strptime(old_time_str,
/glibc-2.36/sysdeps/unix/sysv/linux/or1k/
Dlibc.abilist1868 GLIBC_2.35 strptime F
/glibc-2.36/sysdeps/unix/sysv/linux/loongarch/lp64/
Dlibc.abilist1891 GLIBC_2.36 strptime F

123