/third_party/ltp/testcases/kernel/syscalls/mount/ |
H A D | mount03.c | 117 atime = st.st_atime; in test_file_dir_noatime() 123 dir_atime = dir_st.st_atime; in test_file_dir_noatime() 136 if (st.st_atime > atime) in test_file_dir_noatime() 137 tst_res(TPASS, "st.st_atime(%ld) > atime(%ld)", in test_file_dir_noatime() 138 st.st_atime, atime); in test_file_dir_noatime() 140 tst_res(TFAIL, "st.st_atime(%ld) < atime(%ld)", in test_file_dir_noatime() 141 st.st_atime, atime); in test_file_dir_noatime() 143 TST_EXP_EQ_LI(st.st_atime, atime); in test_file_dir_noatime() 147 if (dir_st.st_atime > dir_atime) in test_file_dir_noatime() 148 tst_res(TPASS, "dir_st.st_atime( in test_file_dir_noatime() [all...] |
/third_party/rust/crates/rustix/tests/fs/ |
H A D | y2038.rs | 59 assert!(TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 >= a_sec); in test_y2038_with_utimensat() 63 TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 > a_sec in test_y2038_with_utimensat() 68 TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 > a_sec in test_y2038_with_utimensat() 86 assert!(TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 >= a_sec); in test_y2038_with_utimensat() 90 TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 > a_sec in test_y2038_with_utimensat() 95 TryInto::<u64>::try_into(stat.st_atime).unwrap() as u64 > a_sec in test_y2038_with_utimensat() 155 assert!(TryInto::<u64>::try_into(stat.st_atime).unwrap() >= a_sec); in test_y2038_with_futimens() 159 TryInto::<u64>::try_into(stat.st_atime).unwrap() > a_sec in test_y2038_with_futimens() 164 TryInto::<u64>::try_into(stat.st_atime).unwrap() > a_sec in test_y2038_with_futimens() 182 assert!(TryInto::<u64>::try_into(stat.st_atime) in test_y2038_with_futimens() [all...] |
H A D | utimensat.rs | 48 assert!(times.last_access.tv_sec as u64 >= after.st_atime as u64); in test_utimensat() 51 times.last_access.tv_sec as u64 > after.st_atime as u64 in test_utimensat() 56 times.last_access.tv_sec as u64 > after.st_atime as u64 in test_utimensat()
|
/third_party/ltp/testcases/kernel/syscalls/utime/ |
H A D | utime01.c | 41 TST_EXP_EQ_LI(stat_buf.st_atime, utbuf.actime); in run() 56 if (stat_buf.st_atime < pre_time || stat_buf.st_atime > post_time) in run() 58 "pre_time: %ld, post_time: %ld, st_atime: %ld", in run() 59 pre_time, post_time, stat_buf.st_atime); in run()
|
H A D | utime03.c | 66 if (statbuf.st_atime != utbuf.actime || in run() 79 if (statbuf.st_atime < mintime || statbuf.st_atime > maxtime) in run() 81 "mintime: %ld, maxtime: %ld, st_atime: %ld", in run() 82 mintime, maxtime, statbuf.st_atime); in run()
|
H A D | utime02.c | 58 TST_EXP_EQ_LI(stat_buf.st_atime, utbuf.actime); in run() 73 if (stat_buf.st_atime < pre_time || stat_buf.st_atime > post_time) in run() 75 "pre_time: %ld, post_time: %ld, st_atime: %ld", in run() 76 pre_time, post_time, stat_buf.st_atime); in run()
|
H A D | utime04.c | 50 TST_EXP_EQ_LI(stat_buf.st_atime, NEW_ACCESS_TIME); in run()
|
/third_party/musl/libc-test/src/functional/ |
H A D | stat.c | 26 TEST(st.st_atime<=t, "%jd > %jd\n", (intmax_t)st.st_atime, (intmax_t)t); in main() 35 TEST(st.st_atime<=t, "%jd > %jd\n", (intmax_t)st.st_atime, (intmax_t)t); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 13-1.c | 9 * The st_atime field of the mapped file may be marked for update 12 * shall cause the file st_atime field to be marked for update if 18 * 2. Compare whether st_atime has been updated. 78 atime1 = stat_buff.st_atime; in main() 96 atime2 = stat_buff2.st_atime; in main() 119 atime3 = stat_buff.st_atime; in main() 129 printf("Test FAILED: st_atime was not updated properly\n"); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | utimes.c | 46 t_aold = buf1.st_atime; in utimes_0100() 82 if (st.st_atime != tv[0].tv_sec && st.st_mtime != tv[1].tv_sec) { in utimes_0200() 109 t_aold = buf1.st_atime; in utimes_time64_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/legacy/ |
H A D | lutimes.c | 36 tv[0].tv_sec = s.st_atime; in lutimes_0100() 78 tv[0].tv_sec = s.st_atime; in lutimes_time64_0100()
|
H A D | futimes.c | 37 tv[0].tv_sec = s.st_atime; in futimes_0100() 85 tv[0].tv_sec = s.st_atime; in futimes_time64_0100()
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | aarch64.rs | 21 pub st_atime: ::time_t, 43 pub st_atime: ::time_t,
|
H A D | x86_64.rs | 20 pub st_atime: ::time_t, 41 pub st_atime: ::time_t,
|
/third_party/musl/libc-test/src/functionalext/supplement/time/ |
H A D | utime_sup.c | 76 t_aold = buf1.st_atime; in utime_0200() 81 t_anew = buf2.st_atime; in utime_0200()
|
/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() 277 if (!!sb.st_atime != atime_change) { in run() 280 sb.st_atime ? "did" : "didn't"); in run()
|
/third_party/ffmpeg/libavformat/ |
H A D | os_support.h | 75 int64_t st_atime; /* time of last access */ member 226 buf->st_atime = crtstat->st_atime; in copy_stat()
|
/third_party/ltp/testcases/kernel/syscalls/symlink/ |
H A D | symlink01.c | 1452 else if (statter.st_atime != asymlink.st_atime) in do_stat() 1455 statter.st_atime, asymlink.st_atime); in do_stat() 1460 statter.st_atime, asymlink.st_atime); in do_stat() 1465 statter.st_atime, asymlink.st_atime); in do_stat() 1673 utimes.actime = asymlink.st_atime + a_time_value; in do_utime() 1692 temp = statter.st_atime in do_utime() [all...] |
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open12.c | 160 if (old_stat.st_atime == new_stat.st_atime) in test_noatime()
|
/third_party/ltp/testcases/kernel/syscalls/openat/ |
H A D | openat02.c | 28 * (st_atime in the inode) when the file is read, when 'flags' 245 if (file_stat.st_atime == file_newstat.st_atime) in testfunc_noatime()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips64/ |
H A D | mod.rs | 28 pub st_atime: ::time_t, 51 pub st_atime: ::time_t,
|
/third_party/rust/crates/libc/src/unix/newlib/ |
H A D | generic.rs | 17 pub st_atime: ::time_t,
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
H A D | b64.rs | 13 pub st_atime: ::time_t,
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
H A D | b64.rs | 13 pub st_atime: ::time_t,
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/ |
H A D | b64.rs | 13 pub st_atime: ::time_t,
|