/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 | 39 strftime_output = time.strftime(directive, self.time_tuple).lower() 65 strftime_output = time.strftime("%p", self.time_tuple).lower() 75 timezone = time.strftime("%Z", self.time_tuple).lower() 90 strftime_output = time.strftime("%c", magic_date) 91 self.assertEqual(time.strftime(self.LT_ins.LC_date_time, magic_date), 93 strftime_output = time.strftime("%x", magic_date) 94 self.assertEqual(time.strftime(self.LT_ins.LC_date, magic_date), 96 strftime_output = time.strftime("%X", magic_date) 97 self.assertEqual(time.strftime(self.LT_ins.LC_time, magic_date), 161 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")
|
/external/python/asn1crypto/tests/ |
D | test_util.py | 132 self.assertEqual('0000-01-01', util.extended_date(0, 1, 1).strftime('%Y-%m-%d')) 133 … self.assertEqual('Sat Saturday Jan January', util.extended_date(0, 1, 1).strftime('%a %A %b %B')) 134 …self.assertEqual('Tue Tuesday Feb February 29', util.extended_date(0, 2, 29).strftime('%a %A %b %B… 136 self.assertEqual('01/01/00 00:00:00', util.extended_date(0, 1, 1).strftime('%c')) 138 self.assertEqual('Sat Jan 1 00:00:00 0000', util.extended_date(0, 1, 1).strftime('%c')) 139 self.assertEqual('01/01/00', util.extended_date(0, 1, 1).strftime('%x')) 177 …self.assertEqual('0000-01-01 00:00:00', util.extended_datetime(0, 1, 1).strftime('%Y-%m-%d %H:%M:%… 178 …self.assertEqual('Sat Saturday Jan January', util.extended_datetime(0, 1, 1).strftime('%a %A %b %B… 179 …self.assertEqual('Tue Tuesday Feb February 29', util.extended_datetime(0, 2, 29).strftime('%a %A %… 181 self.assertEqual('01/01/00 00:00:00', util.extended_datetime(0, 1, 1).strftime('%c')) [all …]
|
/external/bcc/tools/ |
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 | tcpstates.py | 24 from time import strftime, time 319 print("%s," % strftime("%H:%M:%S"), end="") 321 print("%-8s " % strftime("%H:%M:%S"), end="") 344 print("%s," % strftime("%H:%M:%S"), end="") 346 print("%-8s " % strftime("%H:%M:%S"), end="")
|
D | bashreadline.py | 16 from time import strftime 59 print("%-9s %-6d %s" % (strftime("%H:%M:%S"), event.pid,
|
D | mdflush.py | 16 from time import strftime 74 print("%-8s %-6d %-16s %s" % (strftime("%H:%M:%S"), event.pid,
|
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,
|
/external/python/asn1crypto/asn1crypto/ |
D | util.py | 367 def strftime(self, format): member in extended_date 381 y2k = self._y2k.strftime(format) 382 y4k = self._y2k.replace(year=4000).strftime(format) 394 return self.strftime('0000-%m-%d') 429 return self.strftime('%Y-%m-%d') 633 def strftime(self, format): member in extended_datetime 646 y2k = self._y2k.strftime(format) 647 y4k = self._y2k.replace(year=4000).strftime(format)
|
/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/llvm-project/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/llvm-project/llvm/utils/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/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()
|