/third_party/ltp/testcases/kernel/syscalls/utime/ |
H A D | utime01.c | 42 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 D | utime03.c | 67 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 D | utime02.c | 59 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 D | utimes.c | 45 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 D | stat.c | 25 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 D | lutimes.c | 38 tv[1].tv_sec = s.st_mtime; in lutimes_0100() 80 tv[1].tv_sec = s.st_mtime; in lutimes_time64_0100()
|
H A D | futimes.c | 39 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 D | aarch64.rs | 23 pub st_mtime: ::time_t, 45 pub st_mtime: ::time_t,
|
H A D | x86_64.rs | 22 pub st_mtime: ::time_t, 43 pub st_mtime: ::time_t,
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | ls.c | 169 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 D | ls.c | 170 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 D | utime_sup.c | 75 t_mold = buf1.st_mtime; in utime_0200() 80 t_mnew = buf2.st_mtime; in utime_0200()
|
/third_party/ninja/src/ |
H A D | disk_interface.cc | 235 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 D | utimensat01.c | 216 } 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 D | y2038.rs | 50 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 D | os_support.h | 76 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 D | filetools.cpp | 116 modtime1 = stbuf1.st_mtime; in whichFileModTimeIsLater() 117 modtime2 = stbuf2.st_mtime; in whichFileModTimeIsLater()
|
/third_party/libwebsockets/lib/misc/lwsac/ |
H A D | cached-file.c | 166 if (old && s.st_mtime == info->s.st_mtime) { in lwsac_cached_file()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | filetools.cpp | 116 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 D | 14-1.c | 9 * 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 D | futimesat.c | 53 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 D | filetools.cpp | 116 modtime1 = stbuf1.st_mtime; in whichFileModTimeIsLater() 117 modtime2 = stbuf2.st_mtime; in whichFileModTimeIsLater()
|
/third_party/python/Lib/ |
H A D | linecache.py | 76 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 D | disk_cache.h | 109 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 D | mod.rs | 30 pub st_mtime: ::time_t, 53 pub st_mtime: ::time_t,
|