/external/python/pyasn1/pyasn1/compat/ |
D | dateandtime.py | 16 def strptime(text, dateFormat): function 17 return datetime(*(time.strptime(text, dateFormat)[0:6])) 21 def strptime(text, dateFormat): function 22 return datetime.strptime(text, dateFormat)
|
/external/autotest/client/common_lib/ |
D | time_utils.py | 45 return datetime.datetime.strptime(time_string, TIME_FMT) 47 return datetime.datetime.strptime(time_string, TIME_FMT_MICRO) 63 return time.mktime(time.strptime(date_string, TIME_FMT))
|
/external/autotest/client/cros/video/ |
D | collect_golden_images.py | 70 tmp = datetime.datetime.strptime(args.start, time_format) 91 tmp = datetime.datetime.strptime(args.stop, time_format)
|
/external/autotest/server/site_tests/platform_SuspendResumeTiming/ |
D | platform_SuspendResumeTiming.py | 54 return datetime.datetime.strptime(out_log[1:12], "%m%d/%H%M%S") 68 return datetime.datetime.strptime(out_log[1:12], "%m%d/%H%M%S")
|
/external/autotest/utils/ |
D | site_check_dut_usage.py | 159 return (datetime.datetime.strptime(start_time, _DATE_FORMAT).date(), 160 datetime.datetime.strptime(end_time, _DATE_FORMAT).date(),
|
/external/python/cpython2/Lib/test/ |
D | test_strptime.py | 381 time.strptime("Feb 29", "%b %d") 385 time.strptime("Feb 29", "%b %d"), 386 time.strptime("Mar 1", "%b %d")) 393 eq(time.strptime('12 PM', '%I %p')[3], 12) 394 eq(time.strptime('12 AM', '%I %p')[3], 0)
|
/external/scapy/scapy/layers/tls/ |
D | cert.py | 586 self.notBefore = time.strptime(notBefore, "%y%m%d%H%M%S") 596 self.notAfter = time.strptime(notAfter, "%y%m%d%H%M%S") 671 now = time.strptime(now, '%m/%d/%y') 673 now = time.strptime(now, '%b %d %H:%M:%S %Y %Z') 777 self.lastUpdate = time.strptime(lastUpdate, "%y%m%d%H%M%S") 790 self.nextUpdate = time.strptime(nextUpdate, "%y%m%d%H%M%S") 808 revocationDate = time.strptime(date, "%y%m%d%H%M%S")
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
D | 27-1-buildonly.c | 21 dummyvar = strptime; in dummyfcn()
|
/external/e2fsprogs/debugfs/ |
D | util.c | 247 tmp = strptime(arg, "%Y%m%d%H%M%S", &ts); in string_to_time() 249 tmp = strptime(arg, "%Y%m%d%H%M", &ts); in string_to_time() 251 tmp = strptime(arg, "%Y%m%d", &ts); in string_to_time()
|
/external/autotest/server/site_tests/firmware_EventLog/ |
D | firmware_EventLog.py | 39 timestamp = time.strptime(time_string, self._TIME_FORMAT) 55 return time.strptime(time_string, self._TIME_FORMAT)
|
/external/python/cpython3/Lib/test/ |
D | test_time.py | 267 time.strptime(strf_output, format) 274 self.assertRaises(TypeError, time.strptime, b'2009', "%Y") 275 self.assertRaises(TypeError, time.strptime, '2009', b'%Y') 280 time.strptime('', '%D') 284 time.strptime('19', '%Y %') 726 t = time.strptime("UTC", "%Z") 728 t = time.strptime("+0500", "%z")
|
D | test_strptime.py | 459 time.strptime("Feb 29", "%b %d") 463 time.strptime("Feb 29", "%b %d"), 464 time.strptime("Mar 1", "%b %d")) 471 eq(time.strptime('12 PM', '%I %p')[3], 12) 472 eq(time.strptime('12 AM', '%I %p')[3], 0)
|
/external/python/cpython2/Doc/library/ |
D | time.rst | 80 :func:`strptime`, and accepted by :func:`asctime`, :func:`mktime` and 82 values of :func:`gmtime`, :func:`localtime`, and :func:`strptime` also offer 336 When used with the :func:`strptime` function, the ``%p`` directive only affects 344 When used with the :func:`strptime` function, ``%U`` and ``%W`` are only used in 365 .. function:: strptime(string[, format]) 380 >>> time.strptime("30 Nov 00", "%d %b %y") # doctest: +NORMALIZE_WHITESPACE 391 directives than those listed. But ``strptime()`` is independent of any platform 399 :func:`localtime`, and :func:`strptime`. It is an object with a :term:`named 562 of many format specifiers in :func:`strftime` and :func:`strptime`.
|
D | datetime.rst | 557 :ref:`strftime-strptime-behavior`. 564 See section :ref:`strftime-strptime-behavior`. 729 .. classmethod:: datetime.strptime(date_string, format) 732 *format*. This is equivalent to ``datetime(*(time.strptime(date_string, 734 can't be parsed by :func:`time.strptime` or if it returns a value which isn't a 736 :ref:`strftime-strptime-behavior`. 1057 :ref:`strftime-strptime-behavior`. 1064 See section :ref:`strftime-strptime-behavior`. 1082 >>> # Using datetime.strptime() 1083 >>> dt = datetime.strptime("21/11/06 16:30", "%d/%m/%y %H:%M") [all …]
|
/external/fonttools/Lib/fontTools/misc/ |
D | timeTools.py | 48 return calendar.timegm(time.strptime(value)) - epoch_diff
|
/external/autotest/contrib/ |
D | log_distiller.py | 46 log_time = datetime.datetime.strptime(time_str, time_format) 47 now = datetime.datetime.strptime(time.strftime(time_format), time_format)
|
/external/autotest/server/cros/dynamic_suite/ |
D | job_status.py | 281 datetime.datetime.strptime( 288 datetime.datetime.strptime(
|
/external/python/cpython3/Doc/library/ |
D | datetime.rst | 626 :ref:`strftime-strptime-behavior`. 635 :ref:`strftime-strptime-behavior`. 855 .. classmethod:: datetime.strptime(date_string, format) 858 *format*. This is equivalent to ``datetime(*(time.strptime(date_string, 860 can't be parsed by :func:`time.strptime` or if it returns a value which isn't a 862 :ref:`strftime-strptime-behavior`. 1288 :ref:`strftime-strptime-behavior`. 1297 :ref:`strftime-strptime-behavior`. 1315 >>> # Using datetime.strptime() 1316 >>> dt = datetime.strptime("21/11/06 16:30", "%d/%m/%y %H:%M") [all …]
|
D | time.rst | 52 represented internally as seconds since the epoch. Function :func:`strptime` 86 :func:`strptime`, and accepted by :func:`asctime`, :func:`mktime` and 88 :func:`gmtime`, :func:`localtime`, and :func:`strptime` also offer attribute 468 When used with the :func:`strptime` function, the ``%p`` directive only affects 477 When used with the :func:`strptime` function, ``%U`` and ``%W`` are only used in 501 .. function:: strptime(string[, format]) 518 >>> time.strptime("30 Nov 00", "%d %b %y") # doctest: +NORMALIZE_WHITESPACE 529 directives than those listed. But ``strptime()`` is independent of any platform 537 :func:`localtime`, and :func:`strptime`. It is an object with a :term:`named 873 of many format specifiers in :func:`strftime` and :func:`strptime`.
|
/external/chromium-trace/catapult/common/lab/ |
D | commits.py | 68 commit_time = datetime.datetime.strptime(
|
/external/toybox/toys/posix/ |
D | sort.c | 203 xx = strptime(x,"%b",&thyme); in compare_values() 205 yy = strptime(y,"%b",&thyme); in compare_values()
|
D | date.c | 131 char *s = strptime(TT.d, TT.D+(*TT.D=='+'), &tm); in date_main()
|
/external/toybox/lib/ |
D | portability.h | 88 char *strptime(const char *buf, const char *format, struct tm *tm);
|
/external/python/apitools/apitools/base/protorpclite/ |
D | util.py | 267 decoded_datetime = datetime.datetime.strptime(time_string, format_string)
|
/external/openssh/openbsd-compat/ |
D | Makefile.in | 19 …0.o md5.o sigact.o strcasestr.o strlcat.o strlcpy.o strmode.o strnlen.o strptime.o strsep.o strton…
|