/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/ |
D | 1-1.c | 30 strftime(text, sizeof(text), nl_langinfo(D_T_FMT), local_t); in main() 35 result = strftime(text, sizeof(text), "%a", local_t); in main() 44 result = strftime(text, sizeof(text), "%A", local_t); in main() 53 result = strftime(text, sizeof(text), "%b", local_t); in main() 62 result = strftime(text, sizeof(text), "%B", local_t); in main() 82 result = strftime(text, sizeof(text), "%C", local_t); in main() 91 result = strftime(text, sizeof(text), "%d", local_t); in main() 112 result = strftime(text, sizeof(text), "%e", local_t); in main() 121 result = strftime(text, sizeof(text), "%F", local_t); in main() 130 result = strftime(text, sizeof(text), "%H", local_t); in main() [all …]
|
D | 2-1.c | 31 strftime(text, sizeof(text), nl_langinfo(D_T_FMT), local_t); in main() 47 result = strftime(text, sizeof(text), "%EC", local_t); in main() 67 result = strftime(text, sizeof(text), "%EX", local_t); in main() 87 result = strftime(text, sizeof(text), "%EY", local_t); in main() 96 result = strftime(text, sizeof(text), "%Od", local_t); in main() 105 result = strftime(text, sizeof(text), "%Oe", local_t); in main() 114 result = strftime(text, sizeof(text), "%OH", local_t); in main() 123 result = strftime(text, sizeof(text), "%OI", local_t); in main() 132 result = strftime(text, sizeof(text), "%Om", local_t); in main() 141 result = strftime(text, sizeof(text), "%OM", local_t); in main() [all …]
|
D | coverage.txt | 5 conformance/interfaces/strftime/1-1: build: FAILED: Compiler output: 7 conformance/interfaces/strftime/1-1.c: In function `main': 8 conformance/interfaces/strftime/1-1.c:67: warning: `%c' yields only last 2 digits of year in some l… 9 conformance/interfaces/strftime/1-1.c:95: warning: `%D' yields only last 2 digits of year 10 conformance/interfaces/strftime/1-1.c:132: warning: `%g' yields only last 2 digits of year 11 conformance/interfaces/strftime/1-1.c:312: warning: `%x' yields only last 2 digits of year in some … 12 conformance/interfaces/strftime/1-1.c:330: warning: `%y' yields only last 2 digits of year
|
/external/python/cpython2/Lib/test/ |
D | test_time.py | 43 time.strftime(format, tt) 52 time.strftime('%f') 112 self._bounds_checking(lambda tup: time.strftime('', tup)) 119 self.assertRaises(ValueError, time.strftime, '', 122 self.assertRaises(ValueError, time.strftime, '', 124 self.assertRaises(ValueError, time.strftime, '', 127 self.assertRaises(ValueError, time.strftime, '', 129 self.assertRaises(ValueError, time.strftime, '', 132 self.assertRaises(ValueError, time.strftime, '', 134 self.assertRaises(ValueError, time.strftime, '', [all …]
|
D | test_strptime.py | 38 strftime_output = time.strftime(directive, self.time_tuple).lower() 64 strftime_output = time.strftime("%p", self.time_tuple).lower() 74 timezone = time.strftime("%Z", self.time_tuple).lower() 89 strftime_output = time.strftime("%c", magic_date) 90 self.assertEqual(time.strftime(self.LT_ins.LC_date_time, magic_date), 92 strftime_output = time.strftime("%x", magic_date) 93 self.assertEqual(time.strftime(self.LT_ins.LC_date, magic_date), 95 strftime_output = time.strftime("%X", magic_date) 96 self.assertEqual(time.strftime(self.LT_ins.LC_time, magic_date), 159 found = compiled.match(time.strftime("%" + directive)) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_strptime.py | 38 strftime_output = time.strftime(directive, self.time_tuple).lower() 64 strftime_output = time.strftime("%p", self.time_tuple).lower() 74 timezone = time.strftime("%Z", self.time_tuple).lower() 89 strftime_output = time.strftime("%c", magic_date) 90 self.assertEqual(time.strftime(self.LT_ins.LC_date_time, magic_date), 92 strftime_output = time.strftime("%x", magic_date) 93 self.assertEqual(time.strftime(self.LT_ins.LC_date, magic_date), 95 strftime_output = time.strftime("%X", magic_date) 96 self.assertEqual(time.strftime(self.LT_ins.LC_time, magic_date), 159 found = compiled.match(time.strftime("%" + directive)) [all …]
|
D | test_strftime.py | 119 result = time.strftime(e[0], now) 161 result = time.strftime(e[0], now) 193 time.strftime("%y", t) 195 self.assertEqual(time.strftime("%y", t), "99") 199 time.strftime("%y", (1900, 1, 1, 0, 0, 0, 0, 0, 0)), "00") 203 time.strftime("%y", (2013, 1, 1, 0, 0, 0, 0, 0, 0)), "13")
|
D | test_time.py | 166 time.strftime(format, tt) 170 self.assertRaises(TypeError, time.strftime, b'%S', tt) 172 self.assertRaises(ValueError, time.strftime, '%S\0', tt) 232 self._bounds_checking(lambda tup: time.strftime('', tup)) 243 time.strftime(x * y + z) 254 result = time.strftime("%Y %m %d %H %M %S %w %j", (2000,)+(0,)*8) 265 strf_output = time.strftime(format, tt) 451 tzname = time.strftime('%Z', tt) 457 self.assertEqual(time.strftime('%Z', tt), tzname) 589 time.strftime("%B", (2009,2,1,0,0,0,0,0,0)) [all …]
|
/external/bcc/tools/ |
D | tcpstates.py | 23 from time import strftime 268 print("%s," % strftime("%H:%M:%S"), end="") 270 print("%-8s " % strftime("%H:%M:%S"), end="") 291 print("%s," % strftime("%H:%M:%S"), end="") 293 print("%-8s " % strftime("%H:%M:%S"), end="")
|
D | tcplife.py | 31 from time import strftime 446 print("%s," % strftime("%H:%M:%S"), end="") 448 print("%-8s " % strftime("%H:%M:%S"), end="") 468 print("%s," % strftime("%H:%M:%S"), end="") 470 print("%-8s " % strftime("%H:%M:%S"), end="")
|
D | pidpersec.py | 18 from time import sleep, strftime 53 print("%s: PIDs/sec: %d" % (strftime("%H:%M:%S"),
|
D | tcpdrop.py | 23 from time import strftime 185 strftime("%H:%M:%S"), event.pid, event.ip, 197 strftime("%H:%M:%S"), event.pid, event.ip,
|
D | mdflush.py | 16 from time import strftime 74 print("%-8s %-6d %-16s %s" % (strftime("%H:%M:%S"), event.pid,
|
D | bashreadline.py | 16 from time import strftime 59 print("%-9s %-6d %s" % (strftime("%H:%M:%S"), event.pid,
|
/external/libcxx/utils/google-benchmark/src/ |
D | timers.cc | 193 std::strftime(storage, sizeof(storage), "%x %X", ::localtime(&now)); in DateTimeString() 197 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString() 201 written = std::strftime(storage, sizeof(storage), "%x %X", ::gmtime(&now)); in DateTimeString() 205 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString()
|
/external/google-benchmark/src/ |
D | timers.cc | 193 std::strftime(storage, sizeof(storage), "%x %X", ::localtime(&now)); in DateTimeString() 197 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString() 201 written = std::strftime(storage, sizeof(storage), "%x %X", ::gmtime(&now)); in DateTimeString() 205 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString()
|
/external/bcc/tools/old/ |
D | bashreadline.py | 15 from time import strftime 43 print("%-9s %-6d %s" % (strftime("%H:%M:%S"), pid, msg))
|
D | gethostlatency.py | 19 from time import strftime 76 print("%-9s %-6d %-12.12s %6.2f %s" % (strftime("%H:%M:%S"), pid, task,
|
D | oomkill.py | 18 from time import strftime 70 ", %d pages, loadavg: %s") % (strftime("%H:%M:%S"), event.fpid,
|
/external/curl/docs/libcurl/ |
D | mksymbolsmanpage.pl | 27 my $date = strftime "%b %e, %Y", localtime; 28 my $year = strftime "%Y", localtime;
|
/external/googletest/googletest/scripts/ |
D | gen_gtest_pred_impl.py | 74 'today' : time.strftime('%m/%d/%Y'), 75 'year' : time.strftime('%Y'), 330 'today' : time.strftime('%m/%d/%Y'), 331 'year' : time.strftime('%Y'),
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | gen_gtest_pred_impl.py | 74 'today' : time.strftime('%m/%d/%Y'), 75 'year' : time.strftime('%Y'), 330 'today' : time.strftime('%m/%d/%Y'), 331 'year' : time.strftime('%Y'),
|
/external/strace/tests-mx32/ |
D | print_time.c | 45 if (!p || !strftime(buf, sizeof(buf), "%FT%T", p)) in print_time_t_ex() 56 if (strftime(buf, sizeof(buf), "%z", p)) in print_time_t_ex()
|
/external/strace/tests/ |
D | print_time.c | 45 if (!p || !strftime(buf, sizeof(buf), "%FT%T", p)) in print_time_t_ex() 56 if (strftime(buf, sizeof(buf), "%z", p)) in print_time_t_ex()
|
/external/strace/tests-m32/ |
D | print_time.c | 45 if (!p || !strftime(buf, sizeof(buf), "%FT%T", p)) in print_time_t_ex() 56 if (strftime(buf, sizeof(buf), "%z", p)) in print_time_t_ex()
|