Home
last modified time | relevance | path

Searched refs:st_mtime (Results 1 - 25 of 208) sorted by relevance

123456789

/third_party/ltp/testcases/kernel/syscalls/utime/
H A Dutime01.c42 TST_EXP_EQ_LI(stat_buf.st_mtime, utbuf.modtime); in run()
51 if (stat_buf.st_mtime < pre_time || stat_buf.st_mtime > post_time) in run()
53 "pre_time: %ld, post_time: %ld, st_mtime: %ld", in run()
54 pre_time, post_time, stat_buf.st_mtime); in run()
H A Dutime03.c67 statbuf.st_mtime != utbuf.modtime) { in run()
84 if (statbuf.st_mtime < mintime || statbuf.st_mtime > maxtime) in run()
86 "mintime: %ld, maxtime: %ld, st_mtime: %ld", in run()
87 mintime, maxtime, statbuf.st_mtime); in run()
H A Dutime02.c59 TST_EXP_EQ_LI(stat_buf.st_mtime, utbuf.modtime); in run()
68 if (stat_buf.st_mtime < pre_time || stat_buf.st_mtime > post_time) in run()
70 "pre_time: %ld, post_time: %ld, st_mtime: %ld", in run()
71 pre_time, post_time, stat_buf.st_mtime); in run()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dutimes.c45 t_mold = buf1.st_mtime; in utimes_0100()
52 t_new = buf2.st_mtime; in utimes_0100()
82 if (st.st_atime != tv[0].tv_sec && st.st_mtime != tv[1].tv_sec) { in utimes_0200()
108 t_mold = buf1.st_mtime; in utimes_time64_0100()
115 t_new = buf2.st_mtime; in utimes_time64_0100()
/third_party/musl/libc-test/src/functional/
H A Dstat.c25 TEST(st.st_mtime<=t, "%jd > %jd\n", (intmax_t)st.st_mtime, (intmax_t)t); in main()
34 TEST(st.st_mtime<=t, "%jd > %jd\n", (intmax_t)st.st_mtime, (intmax_t)t); in main()
/third_party/musl/libc-test/src/functionalext/supplement/legacy/
H A Dlutimes.c38 tv[1].tv_sec = s.st_mtime; in lutimes_0100()
80 tv[1].tv_sec = s.st_mtime; in lutimes_time64_0100()
H A Dfutimes.c39 tv[1].tv_sec = s.st_mtime; in futimes_0100()
87 tv[1].tv_sec = s.st_mtime; in futimes_time64_0100()
/third_party/rust/crates/libc/src/fuchsia/
H A Daarch64.rs23 pub st_mtime: ::time_t,
45 pub st_mtime: ::time_t,
H A Dx86_64.rs22 pub st_mtime: ::time_t,
43 pub st_mtime: ::time_t,
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dls.c169 if (dta->st.st_mtime > dtb->st.st_mtime) ret = -1; in compare()
170 else if (dta->st.st_mtime < dtb->st.st_mtime) ret = 1; in compare()
219 if (flags & FLAG_u) new->st.st_mtime = new->st.st_atime; in filter()
220 if (flags & FLAG_c) new->st.st_mtime = new->st.st_ctime; in filter()
483 tm = localtime(&(st->st_mtime)); in listfiles()
/third_party/toybox/toys/posix/
H A Dls.c170 if (dta->st.st_mtime > dtb->st.st_mtime) ret = -1; in compare()
171 else if (dta->st.st_mtime < dtb->st.st_mtime) ret = 1; in compare()
227 if (flags & FLAG_u) new->st.st_mtime = new->st.st_atime; in filter()
228 if (flags & FLAG_c) new->st.st_mtime = new->st.st_ctime; in filter()
495 tm = localtime(&(st->st_mtime)); in listfiles()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dutime_sup.c75 t_mold = buf1.st_mtime; in utime_0200()
80 t_mnew = buf2.st_mtime; in utime_0200()
/third_party/ninja/src/
H A Ddisk_interface.cc235 if (st.st_mtime == 0)
238 return (int64_t)st.st_mtime * 1000000000LL + st.st_mtime_n;
242 #elif defined(st_mtime) // A macro, so we're likely on modern POSIX.
245 return (int64_t)st.st_mtime * 1000000000LL + st.st_mtimensec;
/third_party/ltp/testcases/kernel/syscalls/utimensat/
H A Dutimensat01.c216 } else if (sb.st_atime || sb.st_mtime) { in reset_time()
218 sb.st_atime, sb.st_mtime); in reset_time()
281 } else if (!!sb.st_mtime != mtime_change) { in run()
284 sb.st_mtime ? "did" : "didn't"); in run()
/third_party/rust/crates/rustix/tests/fs/
H A Dy2038.rs50 TryInto::<u64>::try_into(stat.st_mtime).unwrap() as u64, in test_y2038_with_utimensat()
77 TryInto::<u64>::try_into(stat.st_mtime).unwrap() as u64, in test_y2038_with_utimensat()
148 assert_eq!(TryInto::<u64>::try_into(stat.st_mtime).unwrap(), m_sec); in test_y2038_with_futimens()
173 TryInto::<u64>::try_into(stat.st_mtime).unwrap() as u64, in test_y2038_with_futimens()
/third_party/ffmpeg/libavformat/
H A Dos_support.h76 int64_t st_mtime; /* time of last modification */ member
227 buf->st_mtime = crtstat->st_mtime; in copy_stat()
/third_party/icu/icu4c/source/tools/toolutil/
H A Dfiletools.cpp116 modtime1 = stbuf1.st_mtime; in whichFileModTimeIsLater()
117 modtime2 = stbuf2.st_mtime; in whichFileModTimeIsLater()
/third_party/libwebsockets/lib/misc/lwsac/
H A Dcached-file.c166 if (old && s.st_mtime == info->s.st_mtime) { in lwsac_cached_file()
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dfiletools.cpp116 modtime1 = stbuf1.st_mtime; in whichFileModTimeIsLater()
117 modtime2 = stbuf2.st_mtime; in whichFileModTimeIsLater()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D14-1.c9 * The st_ctime and st_mtime fields of a file that is mapped with
82 mtime1 = stat_buff.st_mtime; in main()
104 mtime2 = stat_buff.st_mtime; in main()
110 "st_ctime and st_mtime were not updated properly\n"); in main()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dfutimesat.c53 tv[1].tv_sec = st1.st_mtime + 1; in futimesat_0100()
66 if (st2.st_mtime != tv[1].tv_sec) { in futimesat_0100()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Dfiletools.cpp116 modtime1 = stbuf1.st_mtime; in whichFileModTimeIsLater()
117 modtime2 = stbuf2.st_mtime; in whichFileModTimeIsLater()
/third_party/python/Lib/
H A Dlinecache.py76 if size != stat.st_size or mtime != stat.st_mtime:
142 size, mtime = stat.st_size, stat.st_mtime
/third_party/mesa3d/src/util/
H A Ddisk_cache.h109 if (!st.st_mtime) { in disk_cache_get_function_timestamp()
115 *timestamp = st.st_mtime; in disk_cache_get_function_timestamp()
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips64/
H A Dmod.rs30 pub st_mtime: ::time_t,
53 pub st_mtime: ::time_t,

Completed in 9 milliseconds

123456789