/freebsd/crypto/openssl/test/ |
H A D | asn1_time_test.c | 113 ASN1_TIME atime; in test_table() local 118 atime.data = (unsigned char*)td->data; in test_table() 119 atime.length = strlen((char*)atime.data); in test_table() 120 atime.type = td->type; in test_table() 121 atime.flags = 0; in test_table() 123 if (!TEST_int_eq(ASN1_TIME_check(&atime), td->check_result)) { in test_table() 124 TEST_info("ASN1_TIME_check(%s) unexpected result", atime.data); in test_table() 130 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, td->t), 0)) { in test_table() 131 TEST_info("ASN1_TIME_cmp_time_t(%s vs %ld) compare failed", atime.data, (long)td->t); in test_table() 135 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &atime, &atime))) { in test_table() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/atime/ |
H A D | atime_common.kshlib | 31 . $STF_SUITE/tests/functional/atime/atime.cfg 90 zfs inherit atime $TESTPOOL 91 zfs inherit atime $TESTPOOL/$TESTFS 92 zfs inherit atime $TESTPOOL/$TESTCLONE
|
H A D | atime_002_neg.ksh | 32 . $STF_SUITE/tests/functional/atime/atime_common.kshlib 65 log_must zfs set atime=off $dst
|
H A D | root_atime_off.ksh | 33 . $STF_SUITE/tests/functional/atime/atime_common.kshlib 68 log_must zfs set atime=off $(dirname $dst)
|
H A D | atime_001_pos.ksh | 32 . $STF_SUITE/tests/functional/atime/atime_common.kshlib 65 log_must zfs set atime=on $dst
|
H A D | atime_003_pos.ksh | 28 . $STF_SUITE/tests/functional/atime/atime_common.kshlib 63 log_must zfs set atime=on $dst
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_get/ |
H A D | zfs_get_003_pos.ksh | 58 log_must $ZFS mount -o update,atime $TESTPOOL/$TESTFS 64 log_must $ZFS set atime=on $TESTPOOL/$TESTFS 67 value1=$($ZFS get -H atime $TESTPOOL/$TESTFS | $AWK '{print $3}') 69 $GREP ^atime | $AWK '{print $2}')
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/ |
H A D | zfs_get_003_pos.ksh | 49 log_must zfs mount -o remount,atime $TESTPOOL/$TESTFS 55 log_must zfs set atime=on $TESTPOOL/$TESTFS 58 read -r _ _ value1 _ < <(zfs get -H atime $TESTPOOL/$TESTFS) 59 read -r _ value2 < <(zfs get -H all $TESTPOOL/$TESTFS | cut -f2,3 | grep ^atime)
|
/freebsd/tests/sys/cddl/zfs/tests/atime/ |
H A D | atime_test.sh | 37 . $(atf_get_srcdir)/atime.cfg 47 . $(atf_get_srcdir)/atime.cfg 63 . $(atf_get_srcdir)/atime.cfg 73 . $(atf_get_srcdir)/atime.cfg
|
H A D | atime_002_neg.ksh | 28 . $STF_SUITE/tests/atime/atime_common.kshlib 75 log_must $ZFS set atime=off $dst
|
H A D | atime_001_pos.ksh | 28 . $STF_SUITE/tests/atime/atime_common.kshlib 75 log_must $ZFS set atime=on $dst
|
H A D | Makefile | 4 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/atime 7 ${PACKAGE}FILES+= atime.cfg
|
/freebsd/contrib/pjdfstest/tests/utimensat/ |
H A D | 05.t | 34 expect $DATE1 lstat ${n0} atime 36 expect $DATE3 lstat ${n2} atime 40 expect $DATE5 lstat ${n0} atime 46 test_check "$DATE5" -ne `"$fstest" lstat ${n2} atime`
|
/freebsd/usr.bin/write/ |
H A D | write.c | 71 time_t atime; in main() local 146 if (term_chk(devfd, mytty, &msgsok, &atime, 1)) in main() 162 if (term_chk(devfd, argv[1], &msgsok, &atime, 1)) in main() 217 time_t bestatime, atime; in search_utmp() local 228 if (term_chk(devfd, u->ut_line, &msgsok, &atime, 0)) in search_utmp() 237 if (atime > bestatime) { in search_utmp() 238 bestatime = atime; in search_utmp()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite_mtime.ksh | 70 atime=$(stat -c %X $TESTDIR/clone/file) 74 atime=$(stat -f "%a" $TESTDIR/clone/file) 78 atime=$(ls -E% all $TESTDIR/clone/file | awk '/atime/ {print $4}') 83 [[ $o_atime = $atime ]] || log_fail "atime changed: $o_atime $atime"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
H A D | history_002_pos.ksh | 77 atime on atime off 105 atime on atime off 133 atime on atime off
|
/freebsd/contrib/pjdfstest/tests/mknod/ |
H A D | 11.t | 66 atime=`${fstest} stat ${n0} atime` 67 test_check $time -lt $atime
|
H A D | 00.t | 61 atime=`${fstest} stat ${n0} atime` 62 test_check $time -lt $atime
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
H A D | zfs_allow_012_neg.ksh | 60 recordsize mountpoint checksum compression canmount atime \ 66 recordsize mountpoint checksum compression canmount atime \ 72 recordsize mountpoint checksum compression canmount atime \
|
H A D | zfs_allow_010_pos.ksh | 77 atime true false \ 114 atime true false \ 146 atime true false \
|
/freebsd/crypto/openssh/ |
H A D | sftp-common.c | 62 a->atime = 0; in attrib_clear() 80 a->atime = st->st_atime; in stat_to_attrib() 99 st->st_atime = a->atime; in attrib_to_stat() 127 if ((r = sshbuf_get_u32(b, &a->atime)) != 0 || in decode_attrib() 177 if ((r = sshbuf_put_u32(b, a->atime)) != 0 || in encode_attrib()
|
/freebsd/contrib/pjdfstest/tests/mkdir/ |
H A D | 00.t | 61 atime=`${fstest} stat ${n0} atime` 62 test_check $time -lt $atime
|
/freebsd/contrib/pjdfstest/tests/mkfifo/ |
H A D | 00.t | 61 atime=`${fstest} stat ${n0} atime` 62 test_check $time -lt $atime
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_subr.h | 139 struct timespec *atime, int attr, struct smb_cred *scred); 141 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred); 144 struct timespec *atime, struct smb_cred *scred); 146 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred);
|
/freebsd/bin/pax/ |
H A D | tables.c | 937 set_ftime(pt->name, pt->mtime, pt->atime, 1); in atdir_end() 948 add_atdir(char *fname, dev_t dev, ino_t ino, time_t mtime, time_t atime) in add_atdir() argument 986 pt->atime = atime; in add_atdir() 1010 get_atdir(dev_t dev, ino_t ino, time_t *mtime, time_t *atime) in get_atdir() argument 1047 *atime = pt->atime; in get_atdir() 1140 dblk.atime = psb->st_atime; in add_dir() 1193 set_ftime(name, dblk.mtime, dblk.atime, 0); in proc_dir()
|