/external/python/cpython2/Lib/ |
D | _strptime.py | 126 date_time = [None, None, None] 127 date_time[0] = time.strftime("%c", time_tuple).lower() 128 date_time[1] = time.strftime("%x", time_tuple).lower() 129 date_time[2] = time.strftime("%X", time_tuple).lower() 141 current_format = date_time[offset] 157 date_time[offset] = current_format.replace('11', U_W) 158 self.LC_date_time = date_time[0] 159 self.LC_date = date_time[1] 160 self.LC_time = date_time[2]
|
D | imaplib.py | 320 def append(self, mailbox, flags, date_time, message): argument 335 if date_time: 336 date_time = Time2Internaldate(date_time) 338 date_time = None 340 return self._simple_command(name, mailbox, flags, date_time) 1403 def Time2Internaldate(date_time): argument 1415 if isinstance(date_time, (int, long, float)): 1416 tt = time.localtime(date_time) 1417 elif isinstance(date_time, (tuple, time.struct_time)): 1418 tt = date_time [all …]
|
D | zipfile.py | 287 def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)): argument 302 self.date_time = date_time # year, month, day, hour, min, sec 304 if date_time[0] < 1980: 331 dt = self.date_time 854 x.date_time = ( (d>>9)+1980, (d>>5)&0xF, d&0x1F, 888 date = "%d-%02d-%02d %02d:%02d:%02d" % zinfo.date_time[:6] 1126 date_time = mtime[0:6] 1135 zinfo = ZipInfo(arcname, date_time) 1214 date_time=time.localtime(time.time())[:6]) 1273 dt = zinfo.date_time
|
D | tarfile.py | 2586 m.date_time = time.gmtime(m.mtime)[:6] 2610 tinfo.mtime = calendar.timegm(zinfo.date_time)
|
/external/python/cpython3/Lib/ |
D | imaplib.py | 394 def append(self, mailbox, flags, date_time, message): argument 409 if date_time: 410 date_time = Time2Internaldate(date_time) 412 date_time = None 417 return self._simple_command(name, mailbox, flags, date_time) 1505 def Time2Internaldate(date_time): argument 1517 if isinstance(date_time, (int, float)): 1518 dt = datetime.fromtimestamp(date_time, 1520 elif isinstance(date_time, tuple): 1522 gmtoff = date_time.tm_gmtoff [all …]
|
D | _strptime.py | 116 date_time = [None, None, None] 117 date_time[0] = time.strftime("%c", time_tuple).lower() 118 date_time[1] = time.strftime("%x", time_tuple).lower() 119 date_time[2] = time.strftime("%X", time_tuple).lower() 131 current_format = date_time[offset] 147 date_time[offset] = current_format.replace('11', U_W) 148 self.LC_date_time = date_time[0] 149 self.LC_date = date_time[1] 150 self.LC_time = date_time[2]
|
D | zipfile.py | 343 def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)): argument 358 self.date_time = date_time # year, month, day, hour, min, sec 360 if date_time[0] < 1980: 410 dt = self.date_time 504 date_time = mtime[0:6] 505 if not strict_timestamps and date_time[0] < 1980: 506 date_time = (1980, 1, 1, 0, 0, 0) 507 elif not strict_timestamps and date_time[0] > 2107: 508 date_time = (2107, 12, 31, 23, 59, 59) 517 zinfo = cls(arcname, date_time) [all …]
|
/external/python/setuptools/pkg_resources/tests/ |
D | test_pkg_resources.py | 59 zip_info.date_time = cls.ref_time.timetuple() 63 zip_info.date_time = cls.ref_time.timetuple() 67 zip_info.date_time = cls.ref_time.timetuple() 71 zip_info.date_time = cls.ref_time.timetuple()
|
/external/autotest/tko/ |
D | frontend.py | 120 def convert_None_to_datetime(date_time): argument 121 if not date_time: 124 return date_time
|
/external/piex/src/ |
D | piex_types.h | 95 std::string date_time; member
|
D | tiff_parser.cc | 201 &preview_image_data->date_time); in FillPreviewImageData()
|
/external/zlib/google/ |
D | zip_unittest.cc | 247 void TestTimeStamp(const char* date_time, ValidYearType valid_year) { in TestTimeStamp() argument 248 SCOPED_TRACE(std::string("TestTimeStamp(") + date_time + ")"); in TestTimeStamp() 263 ASSERT_TRUE(base::Time::FromString(date_time, &test_mtime)); in TestTimeStamp()
|
/external/python/cpython2/Doc/library/ |
D | imaplib.rst | 106 .. function:: Time2Internaldate(date_time) 108 Convert *date_time* to an IMAP4 ``INTERNALDATE`` representation. The 110 +HHMM"`` (including double-quotes). The *date_time* argument can be a 162 .. method:: IMAP4.append(mailbox, flags, date_time, message)
|
D | zipfile.rst | 52 .. class:: ZipInfo([filename[, date_time]]) 59 *date_time* should be a tuple containing six fields which describe the time 399 .. attribute:: ZipInfo.date_time
|
/external/ImageMagick/MagickCore/ |
D | nt-base.c | 368 date_time; in gettimeofday() local 371 date_time.LowPart=file_time.dwLowDateTime; in gettimeofday() 372 date_time.HighPart=file_time.dwHighDateTime; in gettimeofday() 373 time=date_time.QuadPart; in gettimeofday()
|
/external/oss-fuzz/projects/monero/ |
D | Dockerfile | 65 …&& ./b2 --build-type=minimal link=static runtime-link=static --with-chrono --with-date_time --with…
|
/external/python/cpython3/Doc/library/ |
D | imaplib.rst | 155 .. function:: Time2Internaldate(date_time) 157 Convert *date_time* to an IMAP4 ``INTERNALDATE`` representation. 159 +HHMM"`` (including double-quotes). The *date_time* argument can 213 .. method:: IMAP4.append(mailbox, flags, date_time, message)
|
D | zipfile.rst | 70 .. class:: ZipInfo(filename='NoName', date_time=(1980,1,1,0,0,0)) 77 *date_time* should be a tuple containing six fields which describe the time 667 .. attribute:: ZipInfo.date_time
|
/external/libchrome/build/android/gyp/util/ |
D | build_utils.py | 307 zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=HERMETIC_TIMESTAMP)
|
/external/python/setuptools/pkg_resources/ |
D | __init__.py | 1650 date_time = zip_stat.date_time + (0, 0, -1) 1652 timestamp = time.mktime(date_time)
|
/external/python/cpython3/Lib/test/ |
D | test_zipfile.py | 608 self.assertEqual(zinfo.date_time, (1980, 1, 1, 0, 0, 0)) 640 self.assertEqual(zinfo.date_time, (2107, 12, 31, 23, 59, 59)) 1930 self.assertEqual(zi.date_time, (1980, 1, 1, 0, 0, 0))
|
/external/python/cpython2/Misc/ |
D | HISTORY | 2587 - logging.handlers.SMTPHandler.date_time has been removed;
|
/external/python/cpython3/Misc/ |
D | HISTORY | 19971 - logging.handlers.SMTPHandler.date_time has been removed;
|