Home
last modified time | relevance | path

Searched refs:mtime (Results 1 - 25 of 139) sorted by relevance

123456

/third_party/node/test/parallel/
H A Dtest-fs-utimes.js40 // Ensure mtime has been written to disk
48 function check_mtime(resource, mtime, statSync) {
49 mtime = fs._toUnixTimestamp(mtime);
51 const real_mtime = fs._toUnixTimestamp(stats.mtime);
52 return mtime - real_mtime;
62 function expect_ok(syscall, resource, err, atime, mtime, statSync) {
63 const mtime_diff = check_mtime(resource, mtime, statSync);
82 [asPath, stats.mtime],
94 // Support easy setting same or different atime / mtime value
[all...]
/third_party/ninja/src/
H A Ddeps_log.h61 /// output path mtime (lower 4 bytes), output path mtime (upper 4 bytes),
63 /// (The mtime is compared against the on-disk output path mtime
74 bool RecordDeps(Node* node, TimeStamp mtime, const std::vector<Node*>& nodes);
75 bool RecordDeps(Node* node, TimeStamp mtime, int node_count, Node** nodes);
80 Deps(int64_t mtime, int node_count) in Deps()
81 : mtime(mtime), node_count(node_count), nodes(new Node*[node_count]) {} in Deps()
83 TimeStamp mtime; member
[all...]
H A Ddeps_log.cc60 bool DepsLog::RecordDeps(Node* node, TimeStamp mtime, in RecordDeps() argument
62 return RecordDeps(node, mtime, nodes.size(), in RecordDeps()
66 bool DepsLog::RecordDeps(Node* node, TimeStamp mtime, in RecordDeps() argument
89 deps->mtime != mtime || in RecordDeps()
122 uint32_t mtime_part = static_cast<uint32_t>(mtime & 0xffffffff); in RecordDeps()
125 mtime_part = static_cast<uint32_t>((mtime >> 32) & 0xffffffff); in RecordDeps()
137 Deps* deps = new Deps(mtime, node_count); in RecordDeps()
209 TimeStamp mtime; in Load() local
210 mtime in Load()
[all...]
H A Dbuild_log.cc119 int start_time, int end_time, TimeStamp mtime) in LogEntry()
121 start_time(start_time), end_time(end_time), mtime(mtime) in LogEntry()
145 TimeStamp mtime) { in RecordCommand()
162 log_entry->mtime = mtime; in RecordCommand()
313 TimeStamp mtime = 0; in Load() local
329 mtime = strtoll(start, NULL, 10); in Load()
353 entry->mtime = mtime; in Load()
118 LogEntry(const string& output, uint64_t command_hash, int start_time, int end_time, TimeStamp mtime) LogEntry() argument
144 RecordCommand(Edge* edge, int start_time, int end_time, TimeStamp mtime) RecordCommand() argument
469 const TimeStamp mtime = disk_interface.Stat(i->second->output, err); Restat() local
[all...]
H A Dgraph.cc43 void Node::UpdatePhonyMtime(TimeStamp mtime) { in UpdatePhonyMtime() argument
45 mtime_ = std::max(mtime_, mtime); in UpdatePhonyMtime()
183 // Otherwise consider mtime. in RecomputeNodeDirty()
188 if (!most_recent_input || (*i)->mtime() > most_recent_input->mtime()) { in RecomputeNodeDirty()
290 // Update the mtime with the newest input. Dependents can thus call mtime() in RecomputeOutputDirty()
291 // on the fake node and get the latest mtime of the dependencies in RecomputeOutputDirty()
293 output->UpdatePhonyMtime(most_recent_input->mtime()); in RecomputeOutputDirty()
312 // output file's actual mtime an in RecomputeOutputDirty()
[all...]
H A Dbuild_log.h52 TimeStamp mtime = 0);
63 TimeStamp mtime; member
71 mtime == o.mtime; in operator ==()
76 int start_time, int end_time, TimeStamp mtime);
H A Dmanifest_parser_perftest.cc47 TimeStamp mtime = disk_interface.Stat(dir + "/build.ninja", err); in WriteFakeManifests() local
48 if (mtime != 0) // 0 means that the file doesn't exist yet. in WriteFakeManifests()
49 return mtime != -1; in WriteFakeManifests()
H A Dbuild_log_test.cc194 ASSERT_EQ(456, e->mtime); in TEST_F()
220 ASSERT_EQ(456, e->mtime); in TEST_F()
227 ASSERT_EQ(789, e->mtime); in TEST_F()
263 ASSERT_EQ(3, e->mtime); in TEST_F()
271 ASSERT_EQ(3, e->mtime); // unchanged, since the filter doesn't match in TEST_F()
276 ASSERT_EQ(4, e->mtime); in TEST_F()
304 ASSERT_EQ(789, e->mtime); in TEST_F()
H A Ddisk_interface.cc71 uint64_t mtime = ((uint64_t)filetime.dwHighDateTime << 32) | in TimeStampFromFileTime() local
74 return (TimeStamp)mtime - 12622770400LL * (1000000000LL / 100); in TimeStampFromFileTime()
145 TimeStamp mtime = Stat(dir, &err); in MakeDirs() local
146 if (mtime < 0) { in MakeDirs()
150 if (mtime > 0) in MakeDirs()
232 // Some users (Flatpak) set mtime to 0, this should be harmless
H A Ddeps_log_test.cc62 ASSERT_EQ(1, log_deps->mtime); in TEST_F()
86 ASSERT_EQ(2, log_deps->mtime); in TEST_F()
262 ASSERT_EQ(1, deps->mtime); in TEST_F()
269 ASSERT_EQ(1, deps->mtime); in TEST_F()
279 ASSERT_EQ(1, deps->mtime); in TEST_F()
286 ASSERT_EQ(1, deps->mtime); in TEST_F()
316 ASSERT_EQ(1, deps->mtime); in TEST_F()
323 ASSERT_EQ(1, deps->mtime); in TEST_F()
/third_party/elfutils/libdw/
H A Ddwarf_filesrc.c38 dwarf_filesrc (Dwarf_Files *file, size_t idx, Dwarf_Word *mtime, in dwarf_filesrc() argument
44 if (mtime != NULL) in dwarf_filesrc()
45 *mtime = file->info[idx].mtime; in dwarf_filesrc()
H A Ddwarf_linesrc.c38 dwarf_linesrc (Dwarf_Line *line, Dwarf_Word *mtime, Dwarf_Word *length) in dwarf_linesrc() argument
49 if (mtime != NULL) in dwarf_linesrc()
50 *mtime = line->files->info[line->file].mtime; in dwarf_linesrc()
/third_party/elfutils/libdwfl/
H A Ddwfl_lineinfo.c38 Dwarf_Word *mtime, Dwarf_Word *length) in dwfl_lineinfo()
60 if (mtime != NULL) in dwfl_lineinfo()
61 *mtime = file->mtime; in dwfl_lineinfo()
37 dwfl_lineinfo(Dwfl_Line *line, Dwarf_Addr *addr, int *linep, int *colp, Dwarf_Word *mtime, Dwarf_Word *length) dwfl_lineinfo() argument
/third_party/python/Lib/
H A Dlinecache.py17 # or a tuple (size, mtime, lines, fullname) once loaded.
68 size, mtime, lines, fullname = entry
69 if mtime is None:
76 if size != stat.st_size or mtime != stat.st_mtime:
142 size, mtime = stat.st_size, stat.st_mtime
143 cache[filename] = size, mtime, lines, fullname
H A Dgzip.py135 compresslevel=_COMPRESS_LEVEL_BEST, fileobj=None, mtime=None):
163 The mtime argument is an optional numeric timestamp to be written
206 self._write_mtime = mtime
224 def mtime(self): member in GzipFile
257 mtime = self._write_mtime
258 if mtime is None:
259 mtime = time.time()
260 write32u(self.fileobj, int(mtime))
421 Returns last mtime if header was present or None otherwise.
556 mtime
[all...]
/third_party/typescript/tests/baselines/reference/
H A DAPISample_watcher.js23 watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr: { mtime: Date }, prev: { mtime: Date }) => void): void;
68 if (+curr.mtime <= +prev.mtime) {
162 if (+curr.mtime <= +prev.mtime) {
/third_party/python/Lib/test/
H A Dtest_gzip.py307 mtime = 123456789
308 with gzip.GzipFile(self.filename, 'w', mtime = mtime) as fWrite:
311 self.assertTrue(hasattr(fRead, 'mtime'))
312 self.assertIsNone(fRead.mtime)
315 self.assertEqual(fRead.mtime, mtime)
318 mtime = 123456789
320 with gzip.GzipFile(self.filename, 'w', mtime = mtime) a
[all...]
/third_party/elfutils/tests/
H A Ddwfllines.c68 Dwarf_Word mtime; in main() local
71 &mtime, &length); in main()
140 assert (mtime == dw_mtime); in main()
148 i, addr, src, lineno, colno, mtime, length, in main()
/third_party/python/Tools/scripts/
H A Dpathfix.py150 mtime = None
155 mtime = statbuf.st_mtime
178 if atime and mtime:
180 os.utime(filename, (atime, mtime))
/third_party/rust/crates/nix/src/sys/
H A Dstat.rs363 mtime: &TimeVal, in utimes()
365 let times: [libc::timeval; 2] = [*atime.as_ref(), *mtime.as_ref()]; in utimes()
395 mtime: &TimeVal, in lutimes()
397 let times: [libc::timeval; 2] = [*atime.as_ref(), *mtime.as_ref()]; in lutimes()
411 pub fn futimens(fd: RawFd, atime: &TimeSpec, mtime: &TimeSpec) -> Result<()> { in futimens()
412 let times: [libc::timespec; 2] = [*atime.as_ref(), *mtime.as_ref()]; in futimens()
448 mtime: &TimeSpec, in utimensat()
455 let times: [libc::timespec; 2] = [*atime.as_ref(), *mtime.as_ref()]; in utimensat()
/third_party/node/test/pummel/
H A Dtest-watch-file.js37 // Make sure there is at least one watch event that shows a changed mtime.
38 if (curr.mtime <= prev.mtime) {
/third_party/nghttp2/src/
H A DHttpServer.h94 FileEntry(std::string path, int64_t length, int64_t mtime, int fd, in FileEntry()
100 mtime(mtime), in FileEntry()
111 int64_t mtime; member
/third_party/toybox/toys/posix/
H A Dtar.c20 USE_TAR(NEWTOY(tar, "&(restrict)(full-time)(no-recursion)(numeric-owner)(no-same-permissions)(overwrite)(exclude)*(mode):(mtime):(group):(owner):(to-command):o(no-same-owner)p(same-permissions)k(keep-old)c(create)|h(dereference)x(extract)|t(list)|v(verbose)J(xz)j(bzip2)z(gzip)S(sparse)O(to-stdout)m(touch)X(exclude-from)*T(files-from)*C(directory):f(file):a[!txc][!jzJa]", TOYFLAG_USR|TOYFLAG_BIN))
33 o Ignore owner h Follow symlinks m Ignore mtime
38 --mode MODE Adjust modes --mtime TIME Override timestamps
52 char *to_command, *owner, *group, *mtime, *mode;
76 time_t mtime;
82 char name[100], mode[8], uid[8], gid[8],size[12], mtime[12], chksum[8], member
126 ITOO(tmp.mtime, 0); in write_longname()
224 if (TT.mtime) st->st_mtime = TT.mtt; in add_to_tar()
232 ITOO(hdr.mtime, st->st_mtime); in add_to_tar()
526 // Apply mtime in extract_to_disk()
[all...]
/third_party/node/lib/internal/fs/
H A Dpromises.js195 utimes(atime, mtime) {
196 return fsCall(futimes, this, atime, mtime);
943 async function utimes(path, atime, mtime) {
947 toUnixTimestamp(mtime),
951 async function futimes(handle, atime, mtime) {
953 mtime = toUnixTimestamp(mtime, 'mtime');
954 return binding.futimes(handle.fd, atime, mtime, kUsePromises);
957 async function lutimes(path, atime, mtime) {
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dwcsftime_l.c55 struct tm mtime = { in wcsftime_l_0200() local
64 size_t result = wcsftime_l(buff, sizeof buff, L"%A %c", &mtime, newlocale_); in wcsftime_l_0200()

Completed in 12 milliseconds

123456