| /external/fonttools/Lib/fontTools/misc/ |
| D | timeTools.py | 17 def asctime(t=None): function 22 >>> asctime(time.gmtime(0)) 26 Locale information is not used by asctime(). 28 This is meant to normalise the output of the built-in time.asctime() across 44 return asctime(time.gmtime(max(0, value + epoch_diff)))
|
| /external/fonttools/Tests/misc/ |
| D | timeTools_test.py | 1 from fontTools.misc.timeTools import asctime, timestampNow, timestampToString, timestampFromString,… 9 assert isinstance(asctime(), str) 10 assert asctime(time.gmtime(0)) == 'Thu Jan 1 00:00:00 1970'
|
| /external/python/cpython2/Lib/test/ |
| D | test_time.py | 29 == 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)
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/ |
| D | 1-1.c | 8 The asctime() function shall convert the broken-down time in the structure pointed to by timeptr in… 50 real = asctime(&time_ptr); in main() 62 perror("asctime did not return the correct value\n"); in main()
|
| D | coverage.txt | 1 This file defines the coverage for the asctime() function testing.
|
| /external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
| D | 8-1-buildonly.c | 9 char *asctime(const struct tm *); 20 dummyvar = asctime; in dummyfcn()
|
| /external/pigweed/pw_console/py/pw_console/ |
| D | log_store.py | 131 timestamp_prefix = colors.black_on_white('%(asctime)s') + ' ' 185 and 'asctime' in format_without_message 189 asctime=record.asctime, levelname=record.levelname
|
| /external/libcxx/test/libcxx/utilities/time/date.time/ |
| D | asctime.thread-unsafe.fail.cpp | 15 // asctime is not thread-safe. in main() 17 std::asctime(&t); in main()
|
| /external/autotest/client/common_lib/ |
| D | logging_config.py | 62 FILE_FORMAT = ('%(asctime)s.%(msecs)03d %(levelname)-5.5s|%(module)18.18s:' 65 '%(asctime)s.%(msecs)03d %(levelname)-5.5s|%(module)18.18s:' 71 CONSOLE_FORMAT = '%(asctime)s %(levelname)-5.5s| %(message)s'
|
| /external/libcxx/include/ |
| D | ctime | 38 char* asctime(const tm* timeptr); 70 using ::asctime;
|
| /external/cronet/buildtools/third_party/libc++/trunk/include/ |
| D | ctime | 37 char* asctime(const tm* timeptr); 76 using ::asctime _LIBCPP_USING_IF_EXISTS;
|
| /external/python/cpython3/Lib/test/ |
| D | test_time.py | 149 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) 592 return time.asctime((y,) + (0,) * 8).split()[-1]
|
| D | test_logging.py | 653 f = logging.Formatter('%(asctime)s: %(levelname)s: %(message)s') 1673 "format": "%(asctime)s [%(process)d] [%(levelname)s] %(message)s", 2818 "format": "%(asctime)s (%(name)s) %(levelname)s: %(message)s", 3356 …config['formatters']['mySimpleFormatter']['format'] = "${asctime} (${name}) ${levelname}: ${messag… 3778 f = logging.Formatter('%(asctime)s') 3780 f = logging.Formatter('%(asctime)-15s') 3782 f = logging.Formatter('%(asctime)#15s') 3794 f = logging.Formatter('{asctime}', style='{') 3796 f = logging.Formatter('{asctime!s:15}', style='{') 3798 f = logging.Formatter('{asctime:15}', style='{') [all …]
|
| /external/angle/third_party/vulkan-deps/spirv-tools/src/utils/ |
| D | generate_changelog.py | 55 FORMAT = '%(asctime)s %(message)s' 56 logging.basicConfig(format="[%(asctime)s][%(levelname)-8s] %(message)s", datefmt="%H:%M:%S")
|
| D | update_build_version.py | 137 FORMAT = '%(asctime)s %(message)s' 138 logging.basicConfig(format="[%(asctime)s][%(levelname)-8s] %(message)s", datefmt="%H:%M:%S")
|
| /external/pigweed/pw_console/py/pw_console/widgets/ |
| D | table.py | 176 # asctime or levelname if they are not included in the formatter 178 if name == 'time' and hasattr(log.record, 'asctime'): 179 time_text = log.record.asctime
|
| /external/python/cpython2/Modules/ |
| D | timemodule.c | 234 " accepted by asctime(), mktime() and strftime(). May be considered as a\n" 392 * asctime(). Return 1 if all values are valid, otherwise set an exception 398 /* Checks added to make sure strftime() and asctime() does not crash Python by in checktm() 637 * http://pubs.opengroup.org/onlinepubs/009695399/functions/asctime.html */ in _asctime() 668 if (!PyArg_UnpackTuple(args, "asctime", 0, 1, &tup)) in time_asctime() 681 "asctime([tuple]) -> string\n\ 722 This is equivalent to asctime(localtime(seconds)). When the time tuple is\n\ 885 {"asctime", time_asctime, METH_VARARGS, asctime_doc}, 939 asctime() -- convert time tuple to string\n\
|
| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
| D | HttpDateTest.java | 54 // ANSI C's asctime(): should use GMT, not platform default. in parseStandardFormats() 85 // ANSI C's asctime() format in parseNonStandardStrings()
|
| /external/python/cpython3/Doc/library/ |
| D | pty.rst | 115 script.write(('Script started on %s\n' % time.asctime()).encode()) 119 script.write(('Script done on %s\n' % time.asctime()).encode())
|
| /external/python/cpython2/Demo/pdist/ |
| D | cvslib.py | 337 return time.asctime(time.gmtime(t)) 342 at = time.asctime(t) 350 print time.asctime(gu)
|
| /external/cronet/third_party/icu/source/tools/tzcode/ |
| D | asctime.c | 9 ** whereas the output of asctime is supposed to be constant. 129 asctime(register const struct tm *timeptr) in asctime() function
|
| /external/icu/icu4c/source/tools/tzcode/ |
| D | asctime.c | 9 ** whereas the output of asctime is supposed to be constant. 129 asctime(register const struct tm *timeptr) in asctime() function
|
| /external/musl/src/time/ |
| D | asctime.c | 3 char *asctime(const struct tm *tm) in asctime() function
|
| D | ctime.c | 7 return asctime(tm); in ctime()
|
| /external/python/cpython2/Doc/howto/ |
| D | logging-cookbook.rst | 38 formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') 175 formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') 215 format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s', 591 … format='%(asctime)-15s %(name)-5s %(levelname)-8s IP: %(ip)-15s User: %(user)-8s %(message)s') 717 'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s' 929 'format': '%(asctime)s %(levelname)s %(name)s %(message)s' 972 'format': '%(asctime)s %(levelname)s %(name)s %(message)s' 1149 f = OneLineExceptionFormatter('%(asctime)s|%(levelname)s|%(message)s|', 1399 'format': '%(asctime)s %(message)s', 1402 'format': '%(asctime)s %(message)s', [all …]
|