/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | linecache.py | 56 size, mtime, lines, fullname = cache[filename] 57 if mtime is None: 64 if size != stat.st_size or mtime != stat.st_mtime: 133 size, mtime = stat.st_size, stat.st_mtime 134 cache[filename] = size, mtime, lines, fullname
|
D | dircache.py | 28 mtime = os.stat(path).st_mtime 29 if mtime != cached_mtime: 32 cache[path] = mtime, list
|
D | gzip.py | 46 compresslevel=9, fileobj=None, mtime=None): argument 124 self.mtime = mtime 165 mtime = self.mtime 166 if mtime is None: 167 mtime = time.time() 168 write32u(self.fileobj, long(mtime)) 186 self.mtime = read32(self.fileobj)
|
D | compileall.py | 87 mtime = int(os.stat(fullname).st_mtime) 88 expect = struct.pack('<4sl', imp.get_magic(), mtime)
|
D | tarfile.py | 927 self.mtime = 0 # modification time 967 "mtime": self.mtime, 1208 obj.mtime = nti(buf[136:148]) 1891 tarinfo.mtime = statres.st_mtime 1929 % time.localtime(tarinfo.mtime)[:6], 2302 os.utime(targetpath, (tarinfo.mtime, tarinfo.mtime)) 2549 m.date_time = time.gmtime(m.mtime)[:6] 2573 tinfo.mtime = calendar.timegm(zinfo.date_time)
|
D | robotparser.py | 32 def mtime(self): member in RobotFileParser
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | linecache.py | 60 size, mtime, lines, fullname = cache[filename] 61 if mtime is None: 68 if size != stat.st_size or mtime != stat.st_mtime: 137 size, mtime = stat.st_size, stat.st_mtime 138 cache[filename] = size, mtime, lines, fullname
|
D | compileall.py | 87 mtime = int(os.stat(fullname).st_mtime) 88 expect = struct.pack('<4sl', imp.get_magic(), mtime)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | checkpyc.py | 53 mtime = get_long(mtime_str) 54 if mtime == 0 or mtime == -1: 56 elif mtime <> st[ST_MTIME]:
|
D | treesync.py | 131 sft = mtime(sf) 132 mft = mtime(mf) 165 def mtime(f): function
|
D | xxci.py | 31 for mtime, file in list: args.append(file)
|
D | README | 15 copytime.py Copy one file's atime and mtime to another
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_gzip.py | 190 mtime = 123456789 191 with gzip.GzipFile(self.filename, 'w', mtime = mtime) as fWrite: 197 self.assertEqual(fRead.mtime, mtime) 200 mtime = 123456789 202 with gzip.GzipFile(self.filename, 'w', mtime = mtime) as fWrite: 218 self.assertEqual(mtimeBytes, struct.pack('<i', mtime)) # little-endian
|
D | test_zipimport.py | 28 def make_pyc(co, mtime): argument 30 if type(mtime) is type(0.0): 32 if mtime < 0x7fffffff: 33 mtime = int(mtime) 35 mtime = int(-0x100000000L + long(mtime)) 36 pyc = imp.get_magic() + struct.pack("<i", int(mtime)) + data 72 for name, (mtime, data) in files.items(): 73 zinfo = ZipInfo(name, time.localtime(mtime)) 210 for name, (mtime, data) in files.items(): 211 zinfo = ZipInfo(name, time.localtime(mtime)) [all …]
|
D | test_compileall.py | 30 mtime = int(os.stat(self.source_path).st_mtime) 31 compare = struct.pack('<4sl', imp.get_magic(), mtime)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | FSProxy.py | 157 def mtime(self, name): member in FSProxyLocal 164 mtime = time.localtime(os.stat(name)[ST_MTIME]) 165 return size, mtime 170 mtime = time.localtime(os.stat(name)[ST_MTIME]) 171 return sum, size, mtime 191 return self._list(self.mtime, list) 217 return self.dict(self.mtime, list)
|
D | cmptree.py | 74 rmtime = remote.mtime(name) 75 lmtime = local.mtime(name)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | zipimport.c | 937 unmarshal_code(char *pathname, PyObject *data, time_t mtime) in unmarshal_code() argument 957 if (mtime != 0 && !eq_mtime(get_long((unsigned char *)buf + 4), in unmarshal_code() 958 mtime)) { in unmarshal_code() 1061 time_t mtime = 0; in get_mtime_of_source() local 1073 mtime = parse_dostime(time, date); in get_mtime_of_source() 1076 return mtime; in get_mtime_of_source() 1083 time_t mtime, PyObject *toc_entry) in get_code_from_data() argument 1099 code = unmarshal_code(modpath, data, mtime); in get_code_from_data() 1135 time_t mtime = 0; in get_module_code() local 1140 mtime = get_mtime_of_source(self, path); in get_module_code() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | zipimport.c | 965 unmarshal_code(char *pathname, PyObject *data, time_t mtime) in unmarshal_code() argument 985 if (mtime != 0 && !eq_mtime(get_long((unsigned char *)buf + 4), in unmarshal_code() 986 mtime)) { in unmarshal_code() 1089 time_t mtime = 0; in get_mtime_of_source() local 1101 mtime = parse_dostime(time, date); in get_mtime_of_source() 1104 return mtime; in get_mtime_of_source() 1111 time_t mtime, PyObject *toc_entry) in get_code_from_data() argument 1127 code = unmarshal_code(modpath, data, mtime); in get_code_from_data() 1163 time_t mtime = 0; in get_module_code() local 1168 mtime = get_mtime_of_source(self, path); in get_module_code() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/ |
D | faqwiz.py | 253 mtime = self.getmtime() 254 if mtime >= now - DT_VERY_RECENT: 256 elif mtime >= now - DT_RECENT: 493 mtime = mtime = entry.getmtime() 494 if mtime > latest: 495 latest = mtime 564 mtime = entry.getmtime() 565 if mtime >= cutoff: 566 list.append((mtime, file)) 580 self.format_all(map(lambda (mtime, file): file, list), headers=0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/ |
D | minigzip.py | 30 mtime = statval[8] 31 write32(output, mtime)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/ |
D | FileHook.py | 120 mtime = self.zip.getinfo(arcname).date_time 125 intime = time.mktime(mtime + (0, 0, 0))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | import.c | 769 check_compiled_module(char *pathname, time_t mtime, char *cpathname) in check_compiled_module() argument 786 if (pyc_mtime != mtime) { in check_compiled_module() 911 write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, time_t mtime) in write_compiled_module() argument 947 assert(mtime <= 0xFFFFFFFF); in write_compiled_module() 948 PyMarshal_WriteLongToFile((long)mtime, fp, Py_MARSHAL_VERSION); in write_compiled_module() 1044 time_t mtime; in load_source_module() local 1054 mtime = win32_mtime(fp, pathname); in load_source_module() 1055 if (mtime == (time_t)-1 && PyErr_Occurred()) in load_source_module() 1058 mtime = st.st_mtime; in load_source_module() 1060 if (sizeof mtime > 4) { in load_source_module() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/ |
D | import.c | 737 check_compiled_module(char *pathname, time_t mtime, char *cpathname) in check_compiled_module() argument 754 if (pyc_mtime != mtime) { in check_compiled_module() 882 time_t mtime = srcstat->st_mtime; in write_compiled_module() local 910 assert(mtime < LONG_MAX); in write_compiled_module() 911 PyMarshal_WriteLongToFile((long)mtime, fp, Py_MARSHAL_VERSION); in write_compiled_module()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | import.c | 737 check_compiled_module(char *pathname, time_t mtime, char *cpathname) in check_compiled_module() argument 754 if (pyc_mtime != mtime) { in check_compiled_module() 882 time_t mtime = srcstat->st_mtime; in write_compiled_module() local 910 assert(mtime < LONG_MAX); in write_compiled_module() 911 PyMarshal_WriteLongToFile((long)mtime, fp, Py_MARSHAL_VERSION); in write_compiled_module()
|