Home
last modified time | relevance | path

Searched refs:asctime (Results 1 – 25 of 73) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest_time.py29 == time.asctime(time.localtime(self.t)))
189 time.asctime(time.gmtime(self.t))
190 self.assertRaises(TypeError, time.asctime, 0)
191 self.assertRaises(TypeError, time.asctime, ())
194 asc = time.asctime((TIME_MAXYEAR, 6, 1) + (0,) * 6)
196 self.assertRaises(OverflowError, time.asctime,
198 self.assertRaises(TypeError, time.asctime, 0)
199 self.assertRaises(TypeError, time.asctime, ())
200 self.assertRaises(TypeError, time.asctime, (0,) * 10)
Dtest_strftime.py139 ('%c', fixasctime(time.asctime(now)), 'near-asctime() format'),
/external/fonttools/Tests/misc/
DtimeTools_test.py3 from fontTools.misc.timeTools import asctime, timestampNow, epoch_diff
10 assert isinstance(asctime(), basestring)
11 assert asctime(time.gmtime(0)) == 'Thu Jan 1 00:00:00 1970'
/external/fonttools/Lib/fontTools/misc/
DtimeTools.py18 def asctime(t=None): function
45 return asctime(time.gmtime(max(0, value + epoch_diff)))
/external/ltp/testcases/kernel/fs/lftest/
Dlftest.c59 asctime(localtime(&time1))); in main()
86 asctime(localtime(&time2))); in main()
/external/libcxx/include/
Dctime38 char* asctime(const tm* timeptr);
70 using ::asctime;
/external/python/cpython3/Lib/test/
Dtest_time.py150 time.asctime(time.localtime(self.t)))
288 time.asctime(time.gmtime(self.t))
292 asc = time.asctime((bigyear, 6, 1) + (0,) * 6)
294 self.assertRaises(OverflowError, time.asctime,
296 self.assertRaises(OverflowError, time.asctime,
298 self.assertRaises(TypeError, time.asctime, 0)
299 self.assertRaises(TypeError, time.asctime, ())
300 self.assertRaises(TypeError, time.asctime, (0,) * 10)
303 self._bounds_checking(time.asctime)
596 return time.asctime((y,) + (0,) * 8).split()[-1]
/external/libcxx/test/libcxx/utilities/time/date.time/
Dasctime.thread-unsafe.fail.cpp17 std::asctime(&t); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D8-1-buildonly.c20 dummyvar = asctime; in dummyfcn()
/external/python/cpython2/Demo/pdist/
Dcvslib.py337 return time.asctime(time.gmtime(t))
342 at = time.asctime(t)
350 print time.asctime(gu)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/
Dcoverage.txt1 This file defines the coverage for the asctime() function testing.
D1-1.c50 real = asctime(&time_ptr); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/localtime/
D1-1.c27 printf("date: %s", (asctime(localtime((&current_time))))); in main()
/external/python/cpython3/Doc/library/
Dpty.rst88 script.write(('Script started on %s\n' % time.asctime()).encode())
92 script.write(('Script done on %s\n' % time.asctime()).encode())
/external/autotest/client/profilers/powertop/
Dpowertop.py28 output.write(time.asctime() + '\n')
/external/autotest/client/profilers/catprofile/
Dcatprofile.py36 output.write(time.asctime() + '\n')
/external/autotest/tko/
Dsave_query.cgi16 tm = time.asctime()
/external/libcxx/test/std/depr/depr.c.headers/
Dtime_h.pass.cpp33 static_assert((std::is_same<decltype(asctime(&tmv)), char*>::value), ""); in main()
/external/icu/icu4c/source/tools/tzcode/
Dasctime.c129 asctime(register const struct tm *timeptr) in asctime() function
/external/python/cpython2/Doc/tools/extensions/
Dpyspecific.py151 from time import asctime
195 f.write(('# Autogenerated by Sphinx on %s\n' % asctime()).encode('utf-8'))
/external/libcxx/test/std/utilities/time/date.time/
Dctime.pass.cpp58 static_assert((std::is_same<decltype(std::asctime(&tm)), char*>::value), ""); in main()
/external/libcxx/test/std/language.support/support.runtime/
Dctime.pass.cpp52 static_assert((std::is_same<decltype(std::asctime(&tm)), char*>::value), ""); in main()
/external/google-fruit/examples/server/
Dserver.cpp79 string result = asctime(localTime); in getTime()
/external/autotest/site_utils/rpm_control_system/
Drpm_config.ini6 logging_format: %%(asctime)s - %%(levelname)s - %%(message)s
/external/autotest/server/cros/chaos_lib/
Dchaos_log_analyzer.py118 print "Attempt started at: " + time.asctime(timestamp)

123