/external/python/cpython3/Lib/test/ |
test_zipimport.py | 30 def make_pyc(co, mtime, size): 32 if type(mtime) is type(0.0): 34 if mtime < 0x7fffffff: 35 mtime = int(mtime) 37 mtime = int(-0x100000000 + int(mtime)) 39 struct.pack("<ii", int(mtime), size & 0xFFFFFFFF) + data) 92 for name, (mtime, data) in files.items(): 111 for name, (mtime, data) in files.items() [all...] |
test_gzip.py | 298 mtime = 123456789 299 with gzip.GzipFile(self.filename, 'w', mtime = mtime) as fWrite: 302 self.assertTrue(hasattr(fRead, 'mtime')) 303 self.assertIsNone(fRead.mtime) 306 self.assertEqual(fRead.mtime, mtime) 309 mtime = 123456789 311 with gzip.GzipFile(self.filename, 'w', mtime = mtime) as fWrite [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
zipimport.c | 946 /* Lenient date/time comparison function. The precision of the mtime
947 in the archive is lower than the mtime stored in a .pyc: we
965 unmarshal_code(char *pathname, PyObject *data, time_t mtime)
985 if (mtime != 0 && !eq_mtime(get_long((unsigned char *)buf + 4),
986 mtime)) {
988 PySys_WriteStderr("# %s has bad mtime\n",
1089 time_t mtime = 0; local 1163 time_t mtime = 0; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
zipimport.c | 918 /* Lenient date/time comparison function. The precision of the mtime
919 in the archive is lower than the mtime stored in a .pyc: we
937 unmarshal_code(char *pathname, PyObject *data, time_t mtime)
957 if (mtime != 0 && !eq_mtime(get_long((unsigned char *)buf + 4),
958 mtime)) {
960 PySys_WriteStderr("# %s has bad mtime\n",
1061 time_t mtime = 0; local 1135 time_t mtime = 0; local [all...] |
/external/python/cpython2/Modules/ |
zipimport.c | 1038 /* Lenient date/time comparison function. The precision of the mtime 1039 in the archive is lower than the mtime stored in a .pyc: we 1057 unmarshal_code(const char *pathname, PyObject *data, time_t mtime) 1078 if (mtime != 0 && !eq_mtime(get_uint32(buf + 4), mtime)) { 1080 PySys_WriteStderr("# %s has bad mtime\n", 1183 time_t mtime = 0; local 1257 time_t mtime = 0; local [all...] |
/external/python/cpython3/Lib/ |
gzip.py | 124 compresslevel=9, fileobj=None, mtime=None): 152 The mtime argument is an optional numeric timestamp to be written 187 self._write_mtime = mtime 205 def mtime(self): member in class:GzipFile 238 mtime = self._write_mtime 239 if mtime is None: 240 mtime = time.time() 241 write32u(self.fileobj, int(mtime))
|
/prebuilts/go/darwin-x86/src/cmd/pack/ |
pack.go | 31 name mtime uid gid mode size 206 mtime int64 219 time.Unix(e.mtime, 0).Format(timeFormat), 250 entry.mtime = get(12, 10, 64) 361 // mtime, uid, gid are all zero so repeated builds produce identical output. 362 mtime := int64(0) 365 ar.startFile(info.Name(), mtime, uid, gid, info.Mode(), info.Size()) 377 func (ar *Archive) startFile(name string, mtime int64, uid, gid int, mode os.FileMode, size int64) { 378 n, err := fmt.Fprintf(ar.fd, entryHeader, exactly16Bytes(name), mtime, uid, gid, mode, size)
|
/prebuilts/go/linux-x86/src/cmd/pack/ |
pack.go | 31 name mtime uid gid mode size 206 mtime int64 219 time.Unix(e.mtime, 0).Format(timeFormat), 250 entry.mtime = get(12, 10, 64) 361 // mtime, uid, gid are all zero so repeated builds produce identical output. 362 mtime := int64(0) 365 ar.startFile(info.Name(), mtime, uid, gid, info.Mode(), info.Size()) 377 func (ar *Archive) startFile(name string, mtime int64, uid, gid int, mode os.FileMode, size int64) { 378 n, err := fmt.Fprintf(ar.fd, entryHeader, exactly16Bytes(name), mtime, uid, gid, mode, size)
|
/external/squashfs-tools/squashfs-tools/ |
squashfs_swap.h | 78 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_base_inode_header);\ 87 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_ipc_inode_header);\ 97 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_lipc_inode_header);\ 108 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_dev_inode_header);\ 119 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_ldev_inode_header);\ 131 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_symlink_inode_header);\ 142 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_reg_inode_header);\ 155 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_lreg_inode_header);\ 171 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_dir_inode_header);\ 185 SWAP_FUNC##S(32, s, d, mtime, struct squashfs_ldir_inode_header); [all...] |
unsquash-1.c | 126 i.time = inode->mtime; 141 i.time = inode->mtime; 231 dir->mtime = (*i)->time;
|
/external/python/cpython3/Modules/ |
zipimport.c | 1404 time_t mtime; local 1482 time_t mtime = 0; local [all...] |
/external/elfutils/libdw/ |
dwarf_getsrclines.c | 165 .mtime = 0, 392 get_uleb128 (new_file->info.mtime, linep, lineendp); 536 Dwarf_Word mtime; local 539 get_uleb128 (mtime, linep, lineendp); 566 new_file->info.mtime = mtime;
|
/external/fio/ |
eta.c | 300 static void calc_rate(int unified_rw_rep, unsigned long mtime, 310 if (mtime) 311 this_rate = ((1000 * diff) / mtime) / 1024; /* KiB/s */ 325 static void calc_iops(int unified_rw_rep, unsigned long mtime, 335 if (mtime) 336 this_iops = (diff * 1000) / mtime;
|
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipOutputStream.java | 433 if (e.mtime != null) { 459 if (e.mtime != null) 460 writeInt(fileTimeToUnixTime(e.mtime)); 535 // cen info-zip extended timestamp only outputs mtime 538 if (e.mtime != null) { 539 elen += 4; // + mtime(4) 579 if (e.mtime != null) { 580 writeShort(5); // flag + mtime 582 writeInt(fileTimeToUnixTime(e.mtime));
|
/external/toybox/toys/pending/ |
crontab.c | 266 time_t mtime = 0; local 286 if (!stat(tname, &sb)) mtime = sb.st_mtime; 313 if (!stat(tname, &sb) && (mtime == sb.st_mtime)) {
|
/external/v8/tools/dev/ |
v8gen.py | 271 mtime = os.path.getmtime(gn_args_path) + 1 273 os.utime(gn_args_path, (mtime, mtime))
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
FileUtils.java | 73 public long mtime; field in class:FileUtils.FileStatus
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
xxci.py | 31 for mtime, file in list: args.append(file)
|
/external/libmojo/third_party/jinja2/ |
loaders.py | 58 mtime = getmtime(path) 61 return source, path, lambda: mtime == getmtime(path) 171 mtime = path.getmtime(filename) 174 return path.getmtime(filename) == mtime 230 mtime = path.getmtime(filename) 233 return path.getmtime(filename) == mtime
|
/external/python/cpython2/Tools/scripts/ |
xxci.py | 31 for mtime, file in list: args.append(file)
|
/external/squashfs-tools/kernel-2.4/fs/squashfs/ |
squashfs2_0.c | 223 i->i_mtime = inodep->mtime; 224 i->i_atime = inodep->mtime; 225 i->i_ctime = inodep->mtime; 271 i->i_mtime = inodep->mtime; 272 i->i_atime = inodep->mtime; 273 i->i_ctime = inodep->mtime; 311 i->i_mtime = inodep->mtime; 312 i->i_atime = inodep->mtime; 313 i->i_ctime = inodep->mtime;
|
/external/valgrind/include/ |
pub_tool_libcfile.h | 68 ULong mtime; member in struct:vg_stat
|
/toolchain/binutils/binutils-2.27/gold/ |
incremental-dump.cc | 130 Timespec mtime = input_file.get_mtime(); local 132 static_cast<unsigned long long>(mtime.seconds), 133 mtime.nanoseconds, 134 ctime(&mtime.seconds));
|
incremental.h | 101 Timespec mtime) 103 arg_serial_(arg_serial), mtime_(mtime), is_in_system_directory_(false), 308 Timespec mtime) 309 : Incremental_input_entry(filename_key, arg_serial, mtime), 354 unsigned int arg_serial, Timespec mtime) 355 : Incremental_input_entry(filename_key, arg_serial, mtime), obj_(obj), 458 unsigned int arg_serial, Timespec mtime) 459 : Incremental_input_entry(filename_key, arg_serial, mtime), 497 unsigned int arg_serial, Timespec mtime) 498 : Incremental_input_entry(filename_key, arg_serial, mtime), members_() [all...] |
/system/core/adb/ |
file_sync_client.cpp | 344 st->st_mtime = msg.stat_v2.mtime; 376 unsigned mtime, 406 req_done->path_length = mtime; 420 unsigned mtime) { 471 msg.data.size = mtime; 677 static bool sync_send(SyncConnection& sc, const char* lpath, const char* rpath, unsigned mtime, 684 // For links, we cannot update the atime/mtime. 685 if ((S_ISREG(mode & st.st_mode) && st.st_mtime == static_cast<time_t>(mtime)) || 686 (S_ISLNK(mode & st.st_mode) && st.st_mtime >= static_cast<time_t>(mtime))) { 703 if (!sc.SendSmallFile(path_and_mode.c_str(), lpath, rpath, mtime, buf, data_length)) [all...] |