/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
26-1-buildonly.c | 9 size_t strftime(char *, size_t, const char *, const struct tm *); 21 dummyvar = strftime;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/ |
2-1.c | 31 strftime(text, sizeof(text), nl_langinfo(D_T_FMT), local_t); 37 * result = strftime(text, sizeof(text), "%Ec", local_t); 47 result = strftime(text, sizeof(text), "%EC", local_t); 57 * result = strftime(text, sizeof(text) , "%Ex", local_t); 67 result = strftime(text, sizeof(text), "%EX", local_t); 77 * result = strftime(text, sizeof(text), "%Ey", local_t); 87 result = strftime(text, sizeof(text), "%EY", local_t); 96 result = strftime(text, sizeof(text), "%Od", local_t); 105 result = strftime(text, sizeof(text), "%Oe", local_t); 114 result = strftime(text, sizeof(text), "%OH", local_t) [all...] |
1-1.c | 10 * in strftime(). 30 strftime(text, sizeof(text), nl_langinfo(D_T_FMT), local_t); 35 result = strftime(text, sizeof(text), "%a", local_t); 44 result = strftime(text, sizeof(text), "%A", local_t); 53 result = strftime(text, sizeof(text), "%b", local_t); 62 result = strftime(text, sizeof(text), "%B", local_t); 73 * result = strftime(text, sizeof(text), "%c", local_t); 82 result = strftime(text, sizeof(text), "%C", local_t); 91 result = strftime(text, sizeof(text), "%d", local_t); 102 * result = strftime(text, sizeof(text), "%D", local_t) [all...] |
3-1.c | 9 * strftime shall return the number of bytes placed into the array. 26 result = strftime(buf, sizeof(buf), "%A %d %B, %I:%S %p", tm_ptr); 29 printf("strftime gives: %s\n", buf);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_time.py | 37 time.strftime(format, tt)
43 # input to [w]strftime is not kosher.
46 time.strftime('%f')
49 # Make sure that strftime() checks the bounds of the various parts
53 self.assertRaises(ValueError, time.strftime, '',
56 self.assertRaises(ValueError, time.strftime, '',
58 self.assertRaises(ValueError, time.strftime, '',
61 self.assertRaises(ValueError, time.strftime, '',
63 self.assertRaises(ValueError, time.strftime, '',
66 self.assertRaises(ValueError, time.strftime, '',
[all...] |
test_strptime.py | 37 strftime_output = time.strftime(directive, self.time_tuple).lower()
63 strftime_output = time.strftime("%p", self.time_tuple).lower()
73 timezone = time.strftime("%Z", self.time_tuple).lower()
85 # testing these directives for correctness by comparing strftime
88 strftime_output = time.strftime("%c", magic_date)
89 self.assertTrue(strftime_output == time.strftime(self.LT_ins.LC_date_time,
92 strftime_output = time.strftime("%x", magic_date)
93 self.assertTrue(strftime_output == time.strftime(self.LT_ins.LC_date,
96 strftime_output = time.strftime("%X", magic_date)
97 self.assertTrue(strftime_output == time.strftime(self.LT_ins.LC_time, [all...] |
/external/python/cpython2/Lib/test/ |
test_time.py | 37 time.strftime(format, tt) 43 # input to [w]strftime is not kosher. 46 time.strftime('%f') 49 # Make sure that strftime() checks the bounds of the various parts 53 self.assertRaises(ValueError, time.strftime, '', 56 self.assertRaises(ValueError, time.strftime, '', 58 self.assertRaises(ValueError, time.strftime, '', 61 self.assertRaises(ValueError, time.strftime, '', 63 self.assertRaises(ValueError, time.strftime, '', 66 self.assertRaises(ValueError, time.strftime, '', [all...] |
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() 86 # testing these directives for correctness by comparing strftime 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) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_time.py | 37 time.strftime(format, tt) 43 # input to [w]strftime is not kosher. 46 time.strftime('%f') 49 # Make sure that strftime() checks the bounds of the various parts 53 self.assertRaises(ValueError, time.strftime, '', 56 self.assertRaises(ValueError, time.strftime, '', 58 self.assertRaises(ValueError, time.strftime, '', 61 self.assertRaises(ValueError, time.strftime, '', 63 self.assertRaises(ValueError, time.strftime, '', 66 self.assertRaises(ValueError, time.strftime, '', [all...] |
test_strptime.py | 37 strftime_output = time.strftime(directive, self.time_tuple).lower() 63 strftime_output = time.strftime("%p", self.time_tuple).lower() 73 timezone = time.strftime("%Z", self.time_tuple).lower() 85 # testing these directives for correctness by comparing strftime 88 strftime_output = time.strftime("%c", magic_date) 89 self.assertEqual(time.strftime(self.LT_ins.LC_date_time, magic_date), 91 strftime_output = time.strftime("%x", magic_date) 92 self.assertEqual(time.strftime(self.LT_ins.LC_date, magic_date), 94 strftime_output = time.strftime("%X", magic_date) 95 self.assertEqual(time.strftime(self.LT_ins.LC_time, magic_date) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_time.py | 37 time.strftime(format, tt) 43 # input to [w]strftime is not kosher. 46 time.strftime('%f') 49 # Make sure that strftime() checks the bounds of the various parts 53 self.assertRaises(ValueError, time.strftime, '', 56 self.assertRaises(ValueError, time.strftime, '', 58 self.assertRaises(ValueError, time.strftime, '', 61 self.assertRaises(ValueError, time.strftime, '', 63 self.assertRaises(ValueError, time.strftime, '', 66 self.assertRaises(ValueError, time.strftime, '', [all...] |
test_strptime.py | 37 strftime_output = time.strftime(directive, self.time_tuple).lower() 63 strftime_output = time.strftime("%p", self.time_tuple).lower() 73 timezone = time.strftime("%Z", self.time_tuple).lower() 85 # testing these directives for correctness by comparing strftime 88 strftime_output = time.strftime("%c", magic_date) 89 self.assertEqual(time.strftime(self.LT_ins.LC_date_time, magic_date), 91 strftime_output = time.strftime("%x", magic_date) 92 self.assertEqual(time.strftime(self.LT_ins.LC_date, magic_date), 94 strftime_output = time.strftime("%X", magic_date) 95 self.assertEqual(time.strftime(self.LT_ins.LC_time, magic_date) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_time.py | 37 time.strftime(format, tt) 43 # input to [w]strftime is not kosher. 46 time.strftime('%f') 49 # Make sure that strftime() checks the bounds of the various parts 53 self.assertRaises(ValueError, time.strftime, '', 56 self.assertRaises(ValueError, time.strftime, '', 58 self.assertRaises(ValueError, time.strftime, '', 61 self.assertRaises(ValueError, time.strftime, '', 63 self.assertRaises(ValueError, time.strftime, '', 66 self.assertRaises(ValueError, time.strftime, '', [all...] |
test_strptime.py | 37 strftime_output = time.strftime(directive, self.time_tuple).lower() 63 strftime_output = time.strftime("%p", self.time_tuple).lower() 73 timezone = time.strftime("%Z", self.time_tuple).lower() 85 # testing these directives for correctness by comparing strftime 88 strftime_output = time.strftime("%c", magic_date) 89 self.assertEqual(time.strftime(self.LT_ins.LC_date_time, magic_date), 91 strftime_output = time.strftime("%x", magic_date) 92 self.assertEqual(time.strftime(self.LT_ins.LC_date, magic_date), 94 strftime_output = time.strftime("%X", magic_date) 95 self.assertEqual(time.strftime(self.LT_ins.LC_time, magic_date) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_time.py | 37 time.strftime(format, tt) 43 # input to [w]strftime is not kosher. 46 time.strftime('%f') 49 # Make sure that strftime() checks the bounds of the various parts 53 self.assertRaises(ValueError, time.strftime, '', 56 self.assertRaises(ValueError, time.strftime, '', 58 self.assertRaises(ValueError, time.strftime, '', 61 self.assertRaises(ValueError, time.strftime, '', 63 self.assertRaises(ValueError, time.strftime, '', 66 self.assertRaises(ValueError, time.strftime, '', [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
Time.inf | 31 strftime.c
56 GCC:*_*_*_CC_FLAGS = -fno-strict-overflow -fno-builtin-strftime
|
/external/clang/utils/CIndex/ |
completion_logger_server.py | 4 from time import strftime 33 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
|
/external/strace/tests/ |
print_time.c | 45 if (!p || !strftime(buf, sizeof(buf), "%FT%T", p)) 56 if (strftime(buf, sizeof(buf), "%z", p))
|
/external/strace/tests-m32/ |
print_time.c | 45 if (!p || !strftime(buf, sizeof(buf), "%FT%T", p)) 56 if (strftime(buf, sizeof(buf), "%z", p))
|
/external/strace/tests-mx32/ |
print_time.c | 45 if (!p || !strftime(buf, sizeof(buf), "%FT%T", p)) 56 if (strftime(buf, sizeof(buf), "%z", p))
|
/prebuilts/ndk/r16/sources/cxx-stl/system/include/ |
ctime | 58 using ::strftime;
|
/external/ltp/tools/pounder21/src/time_tests/ |
drift-test.py | 64 datestr = time.strftime("%d %b %Y %H:%M:%S", start_time) 76 datestr = time.strftime("%d %b %Y %H:%M:%S", now_time) 84 print time.strftime("%d %b %H:%M:%S",now_time),
|
/external/curl/docs/libcurl/ |
mksymbolsmanpage.pl | 26 use POSIX qw(strftime); 27 my $date = strftime "%b %e, %Y", localtime; 28 my $year = strftime "%Y", localtime;
|
/external/autotest/server/site_tests/enterprise_CFM_SessionStress/ |
enterprise_CFM_SessionStress.py | 26 current_time = datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
|
/external/bsdiff/ |
logging.cc | 22 strftime(timestamp, sizeof(timestamp), "%m-%d %H:%M:%S", std::localtime(&t));
|