Searched refs:strftime (Results 1 - 25 of 28) sorted by relevance

12

/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/format/
H A Dext-3.c2 Test for strftime formats.
17 strftime (s, m, "%5C%-C%_C%0C", tp);
19 strftime (s, m, "%-5C%_5C%05C%-5d%_5d%05d%-5e%_5e%05e%-5G%_5G%05G", tp);
20 strftime (s, m, "%-5H%_5H%05H%-5I%_5I%05I%-5j%_5j%05j%-5m%_5m%05m", tp);
21 strftime (s, m, "%-5M%_5M%05M%-5S%_5S%05S%-5u%_5u%05u%-5U%_5U%05U", tp);
22 strftime (s, m, "%-5V%_5V%05V%-5w%_5w%05w%-5W%_5W%05W%-5Y%_5Y%05Y", tp);
24 strftime (s, m, "%-5k%_5k%05k%-5l%_5l%05l%-20s%_20s%020s", tp);
26 strftime (s, m, "%-5g%_5g%05g%-5y%_5y%05y", tp); /* { dg-warning "only last 2" "2-digit year" } */
28 strftime (s, m, "%5a", tp); /* { dg-warning "width" "bad %a" } */
29 strftime (
[all...]
H A Dc99-strftime-1.c1 /* Test for strftime formats. Formats using C99 features. */
13 strftime (s, m, "%a%A%b%B%C%d%e%F%G%h%H%I%j%m%M%p%R%S%t%T%u%U%V%w%W%X%Y%z%Z%%", tp);
14 strftime (s, m, "%EC%EX%EY%Od%Oe%OH%OI%Om%OM%OS%Ou%OU%OV%Ow%OW", tp);
16 strftime (s, m, "%D", tp); /* { dg-warning "only last 2" "2-digit year" } */
17 strftime (s, m, "%g", tp); /* { dg-warning "only last 2" "2-digit year" } */
18 strftime (s, m, "%y", tp); /* { dg-warning "only last 2" "2-digit year" } */
19 strftime (s, m, "%Oy", tp); /* { dg-warning "only last 2" "2-digit year" } */
21 strftime (s, m, "%c", tp); /* { dg-warning "some locales" "2-digit year" } */
22 strftime (s, m, "%Ec", tp); /* { dg-warning "some locales" "2-digit year" } */
23 strftime (
[all...]
H A Dc90-strftime-2.c1 /* Test for strftime formats. Rejection of formats using C99 features in
12 strftime (s, m, "%C", tp); /* { dg-warning "C" "%C not in C90" } */
13 strftime (s, m, "%D", tp); /* { dg-warning "C" "%D not in C90" } */
15 strftime (s, m, "%e", tp); /* { dg-warning "C" "%e not in C90" } */
16 strftime (s, m, "%F", tp); /* { dg-warning "C" "%F not in C90" } */
17 strftime (s, m, "%g", tp); /* { dg-warning "C" "%g not in C90" } */
19 strftime (s, m, "%G", tp); /* { dg-warning "C" "%G not in C90" } */
20 strftime (s, m, "%h", tp); /* { dg-warning "C" "%h not in C90" } */
21 strftime (s, m, "%n", tp); /* { dg-warning "C" "%n not in C90" } */
22 strftime (
[all...]
H A Dc99-strftime-2.c1 /* Test for strftime formats. Rejection of extensions in pedantic mode. */
12 strftime (s, m, "%P", tp); /* { dg-warning "C" "strftime %P" } */
14 strftime (s, m, "%k", tp); /* { dg-warning "C" "strftime %k" } */
16 strftime (s, m, "%l", tp); /* { dg-warning "C" "strftime %l" } */
18 strftime (s, m, "%s", tp); /* { dg-warning "C" "strftime %s" } */
19 /* Extensions using %O already tested in c99-strftime
[all...]
H A Dms_c90-strftime-2.c1 /* Test for strftime formats. Rejection of formats using C99 features in
13 strftime (s, m, "%C", tp); /* { dg-warning "format" "%C is unsupported" } */
14 strftime (s, m, "%D", tp); /* { dg-warning "format" "%D is unsupported" } */
15 strftime (s, m, "%e", tp); /* { dg-warning "format" "%e is unsupported" } */
16 strftime (s, m, "%F", tp); /* { dg-warning "format" "%F is unsupported" } */
17 strftime (s, m, "%g", tp); /* { dg-warning "format" "%g is unsupported" } */
18 strftime (s, m, "%G", tp); /* { dg-warning "format" "%G is unsupported" } */
19 strftime (s, m, "%h", tp); /* { dg-warning "format" "%h is unsupported" } */
20 strftime (s, m, "%n", tp); /* { dg-warning "format" "%n is unsupported" } */
21 strftime (
[all...]
H A Dc90-strftime-1.c1 /* Test for strftime formats. Formats using C90 features. */
13 strftime (s, m, "%a%A%b%B%d%H%I%j%m%M%p%S%U%w%W%X%Y%Z%%", tp);
15 strftime (s, m, "%y", tp); /* { dg-warning "only last 2" "2-digit year" } */
17 strftime (s, m, "%c", tp); /* { dg-warning "some locales" "2-digit year" } */
18 strftime (s, m, "%x", tp); /* { dg-warning "some locales" "2-digit year" } */
H A Dms_c90-strftime-1.c1 /* Test for strftime formats. Formats using C90 features. */
14 strftime (s, m, "%a%A%b%B%d%H%I%j%m%M%p%S%U%w%W%X%Y%Z%%", tp);
16 strftime (s, m, "%y", tp); /* { dg-warning "only last 2" "2-digit year" } */
18 strftime (s, m, "%c", tp); /* { dg-warning "some locales" "2-digit year" } */
19 strftime (s, m, "%x", tp); /* { dg-warning "some locales" "2-digit year" } */
H A Dms_c99-strftime-1.c1 /* Test for strftime formats. Formats using C99 features. */
14 strftime (s, m, "%a%A%b%B%d%H%I%j%m%M%p%S%U%w%W%X%Y%z%Z%%", tp);
16 strftime (s, m, "%y", tp); /* { dg-warning "only last 2" "2-digit year" } */
18 strftime (s, m, "%c", tp); /* { dg-warning "some locales" "2-digit year" } */
19 strftime (s, m, "%x", tp); /* { dg-warning "some locales" "2-digit year" } */
H A Dms_c99-strftime-2.c1 /* Test for strftime formats. Rejection of extensions in pedantic mode. */
13 strftime (s, m, "%P", tp); /* { dg-warning "unknown" "strftime %P" } */
15 strftime (s, m, "%k", tp); /* { dg-warning "unknown" "strftime %k" } */
17 strftime (s, m, "%l", tp); /* { dg-warning "unknown" "strftime %l" } */
19 strftime (s, m, "%s", tp); /* { dg-warning "unknown" "strftime %s" } */
H A Dno-y2k-1.c11 strftime (s, m, "%y%c%x", tp);
H A Dms_no-y2k-1.c12 strftime (s, m, "%y%c%x", tp);
H A Dms_nonlit-3.c1 /* Test for warnings for non-string-literal formats. Test for strftime formats. */
12 strftime (s, m, fmt, tp); /* { dg-warning "format string" "non-literal" } */
H A Dnonlit-3.c1 /* Test for warnings for non-string-literal formats. Test for strftime formats. */
11 strftime (s, m, fmt, tp); /* { dg-warning "format string" "non-literal" } */
H A Dformat.h21 #define gnu_attr_strftime strftime
115 extern size_t strftime (char *restrict, size_t, const char *restrict,
189 #undef strftime macro
190 #define strftime strftime_gnu macro
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dattrib40.C3 int strftime(char *, int, const char *, const struct tm *)
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dgen-attrs-40.C4 int strftime(char *, int, const char *, const struct tm *)
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/headers/ctime/
H A Dfunctions_std.cc28 using std::strftime;
/haiku-buildtools/gcc/libstdc++-v3/include/c_compatibility/
H A Dtime.h44 #undef strftime macro
58 using std::strftime;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/time_put/put/char/
H A D17038.cc55 VERIFY( strftime(time_buffer, 128, "%c", &time1) );
/haiku-buildtools/gcc/gcc/ada/doc/share/
H A Dconf.py35 return u'2008-%s, Free Software Foundation' % time.strftime('%Y')
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dpr59717.c275 strftime (s, sz, "", tm); /* { dg-warning "incompatible implicit" } */
/haiku-buildtools/gcc/gcc/cp/
H A Dcfns.h232 "strftime",
/haiku-buildtools/gcc/libstdc++-v3/config/locale/generic/
H A Dtime_members.cc51 const size_t __len = strftime(__s, __maxlen, __format, __tm);
/haiku-buildtools/gcc/libcilkrts/runtime/
H A Dsysdep-unix.c657 strftime(buf, 256, "%a %b %d %H:%M:%S %Y", localtime(&t));
/haiku-buildtools/gcc/libstdc++-v3/config/locale/gnu/
H A Dtime_members.cc54 const size_t __len = strftime(__s, __maxlen, __format, __tm);

Completed in 87 milliseconds

12