Home
last modified time | relevance | path

Searched refs:st_atime (Results 1 - 25 of 147) sorted by relevance

123456

/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount03.c117 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 Dy2038.rs59 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 Dutimensat.rs48 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 Dutime01.c41 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 Dutime03.c66 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 Dutime02.c58 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 Dutime04.c50 TST_EXP_EQ_LI(stat_buf.st_atime, NEW_ACCESS_TIME); in run()
/third_party/musl/libc-test/src/functional/
H A Dstat.c26 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 D13-1.c9 * 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 Dutimes.c46 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 Dlutimes.c36 tv[0].tv_sec = s.st_atime; in lutimes_0100()
78 tv[0].tv_sec = s.st_atime; in lutimes_time64_0100()
H A Dfutimes.c37 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 Daarch64.rs21 pub st_atime: ::time_t,
43 pub st_atime: ::time_t,
H A Dx86_64.rs20 pub st_atime: ::time_t,
41 pub st_atime: ::time_t,
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dutime_sup.c76 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 Dutimensat01.c216 } 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 Dos_support.h75 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 Dsymlink01.c1452 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 Dopen12.c160 if (old_stat.st_atime == new_stat.st_atime) in test_noatime()
/third_party/ltp/testcases/kernel/syscalls/openat/
H A Dopenat02.c28 * (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 Dmod.rs28 pub st_atime: ::time_t,
51 pub st_atime: ::time_t,
/third_party/rust/crates/libc/src/unix/newlib/
H A Dgeneric.rs17 pub st_atime: ::time_t,
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/
H A Db64.rs13 pub st_atime: ::time_t,
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/
H A Db64.rs13 pub st_atime: ::time_t,
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/
H A Db64.rs13 pub st_atime: ::time_t,

Completed in 9 milliseconds

123456