Home
last modified time | relevance | path

Searched refs:atime (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/node/test/parallel/
Dtest-fs-utimes.js62 function expect_ok(syscall, resource, err, atime, mtime, statSync) { argument
95 const [pathType, atime, mtime = atime] = value;
101 fs.utimes(pathType(tmpdir.path), atime, mtime, common.mustCall((err) => {
102 expect_ok('utimes', tmpdir.path, err, atime, mtime);
104 fs.lutimes(pathType(lpath), atime, mtime, common.mustCall((err) => {
105 expect_ok('lutimes', lpath, err, atime, mtime, fs.lstatSync);
107 fs.utimes(pathType('foobarbaz'), atime, mtime, common.mustCall((err) => {
117 fs.futimes(fd, atime, mtime, common.mustCall((err) => {
118 expect_ok('futimes', fd, err, atime, mtime);
132 fs.utimesSync(pathType(tmpdir.path), atime, mtime);
[all …]
/third_party/openssl/test/
Dasn1_time_test.c113 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 …]
/third_party/e2fsprogs/tests/f_pre_1970_date_encoding/
Dexpect3 atime: 0x8e475440:00000003
8 atime: 0x11db6940:00000000
13 atime: 0x82a37b40:00000001
18 atime: 0x3e9b9940:00000001
23 atime: 0x8e475440:00000000
28 atime: 0x11db6940:00000000
33 atime: 0x82a37b40:00000001
38 atime: 0x3e9b9940:00000001
43 atime: 0x8e475440:00000003
Dscript17 for xtime in atime ctime mtime crtime; do
89 atime: 0x8e475440:00000003
/third_party/e2fsprogs/tests/d_inline_dump/
Dexpect9 atime: 0x53cec3c8:4a3fd000 -- Tue Jul 22 20:04:24 2014
25 atime: 0x53cec443:bda4d400 -- Tue Jul 22 20:06:27 2014
42 atime: 0x53cec410:ed53dc00 -- Tue Jul 22 20:05:36 2014
58 atime: 0x53cec477:9a5ba000 -- Tue Jul 22 20:07:19 2014
75 atime: 0x53cec665:27eac000 -- Tue Jul 22 20:15:33 2014
90 atime: 0x53cec44d:11fb8400 -- Tue Jul 22 20:06:37 2014
/third_party/e2fsprogs/tests/d_special_files/
Dexpect12 atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
24 atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
49 atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
62 atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
74 atime: 0x50f560e0 -- Tue Jan 15 14:00:00 2013
/third_party/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh90 read res atime mtime < $RESULT_FILE
92 test $atime -ne 0 || test $mtime != 0; then
143 read res atime mtime < $RESULT_FILE
147 echo "RESULT: $res $atime $mtime"
161 if test $atime -eq 0; then
166 if test $atime -ne 0; then
/third_party/node/deps/npm/node_modules/tar/lib/
Dpax.js8 this.atime = obj.atime || null
58 atime: this.atime || null, property
Dwrite-entry.js427 this.atime = this.portable ? null : readEntry.atime
461 atime: this.portable ? null : this.atime, property
467 atime: this.portable ? null : this.atime, property
Dunpack.js415 const atime = entry.atime || new Date()
417 fs.futimes(fd, atime, mtime, er =>
418 er ? fs.utimes(abs, atime, mtime, er2 => done(er2 && er))
461 fs.utimes(entry.absolute, entry.atime || new Date(), entry.mtime, done)
761 const atime = entry.atime || new Date()
764 fs.futimesSync(fd, atime, mtime)
767 fs.utimesSync(entry.absolute, atime, mtime)
803 fs.utimesSync(entry.absolute, entry.atime || new Date(), entry.mtime)
Dread-entry.js61 this.atime = header.atime
Dheader.js35 this.atime = null
93 this.atime = decDate(buf, off + 476, 12)
132 const prefixSize = this.ctime || this.atime ? 130 : 155
156 this.needPax = encDate(buf, off + 476, 12, this.atime) || this.needPax
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D6-1-buildonly.c32 time_t atime = 0, dtime = 0, ctime = 0; in dummyfcn() local
39 t.shm_atime = atime; in dummyfcn()
/third_party/python/Tools/scripts/
Dpathfix.py151 atime = None
156 atime = statbuf.st_atime
178 if atime and mtime:
180 os.utime(filename, (atime, mtime))
/third_party/e2fsprogs/tests/f_badcluster/
Dexpect119 atime: 0x539ff5b2 -- Tue Jun 17 08:00:50 2014
131 atime: 0x539ff5b2 -- Tue Jun 17 08:00:50 2014
143 atime: 0x539ff5b2 -- Tue Jun 17 08:00:50 2014
155 atime: 0x539ff5b2 -- Tue Jun 17 08:00:50 2014
166 atime: 0x539ff5b2 -- Tue Jun 17 08:00:50 2014
178 atime: 0x539ff5b2 -- Tue Jun 17 08:00:50 2014
190 atime: 0x539ff5b2 -- Tue Jun 17 08:00:50 2014
/third_party/node/lib/internal/fs/
Dpromises.js155 utimes(atime, mtime) { argument
156 return fsCall(futimes, this, atime, mtime);
644 async function utimes(path, atime, mtime) { argument
647 toUnixTimestamp(atime),
652 async function futimes(handle, atime, mtime) { argument
653 atime = toUnixTimestamp(atime, 'atime');
655 return binding.futimes(handle.fd, atime, mtime, kUsePromises);
658 async function lutimes(path, atime, mtime) { argument
661 toUnixTimestamp(atime),
/third_party/libuv/test/
Dtest-fs.c58 double atime; member
807 double atime, in check_utime() argument
833 ASSERT_DOUBLE_EQ(atime, (long) atime); in check_utime()
834 ASSERT_DOUBLE_EQ(mtime, (long) atime); in check_utime()
836 if (atime > 0 || (long) atime == atime) in check_utime()
837 ASSERT_EQ(s->st_atim.tv_sec, (long) atime); in check_utime()
840 ASSERT_GE(s->st_atim.tv_sec, (long) atime - 1); in check_utime()
842 ASSERT_LE(s->st_atim.tv_sec, (long) atime); in check_utime()
859 ASSERT_DOUBLE_EQ(st_atim, atime); in check_utime()
875 check_utime(c->path, c->atime, c->mtime, /* test_lutime */ 0); in utime_cb()
[all …]
/third_party/libuv/src/unix/
Dfs.c253 ts[0] = uv__fs_to_timespec(req->atime); in uv__fs_futime()
264 tv[0] = uv__fs_to_timeval(req->atime); in uv__fs_futime()
277 atr.att_atime = req->atime; in uv__fs_futime()
1145 ts[0] = uv__fs_to_timespec(req->atime); in uv__fs_utime()
1155 tv[0] = uv__fs_to_timeval(req->atime); in uv__fs_utime()
1161 buf.actime = req->atime; in uv__fs_utime()
1170 atr.att_atime = req->atime; in uv__fs_utime()
1186 ts[0] = uv__fs_to_timespec(req->atime); in uv__fs_lutime()
1195 tv[0] = uv__fs_to_timeval(req->atime); in uv__fs_lutime()
1904 double atime, in uv_fs_futime() argument
[all …]
/third_party/ltp/testcases/kernel/syscalls/mount/
Dmount03.c132 time_t atime; in test_rwflag() local
311 atime = file_stat.st_atime; in test_rwflag()
328 if (file_stat.st_atime != atime) { in test_rwflag()
/third_party/ntfs-3g/src/
Dntfs-3g_common.c305 ctx->atime = ATIME_DISABLED; in parse_mount_options()
308 ctx->atime = ATIME_ENABLED; in parse_mount_options()
311 ctx->atime = ATIME_RELATIVE; in parse_mount_options()
558 if (ctx->atime == ATIME_RELATIVE && ntfs_strappend(&ret, "relatime,")) in parse_mount_options()
560 else if (ctx->atime == ATIME_ENABLED && ntfs_strappend(&ret, "atime,")) in parse_mount_options()
562 else if (ctx->atime == ATIME_DISABLED && ntfs_strappend(&ret, "noatime,")) in parse_mount_options()
/third_party/node/lib/
Dfs.js1387 function utimes(path, atime, mtime, callback) { argument
1394 toUnixTimestamp(atime),
1399 function utimesSync(path, atime, mtime) { argument
1403 toUnixTimestamp(atime), toUnixTimestamp(mtime),
1408 function futimes(fd, atime, mtime, callback) { argument
1410 atime = toUnixTimestamp(atime, 'atime');
1416 binding.futimes(fd, atime, mtime, req);
1419 function futimesSync(fd, atime, mtime) { argument
1421 atime = toUnixTimestamp(atime, 'atime');
1424 binding.futimes(fd, atime, mtime, undefined, ctx);
[all …]
/third_party/e2fsprogs/tests/f_convert_bmap_sparse/
Dexpect.19 atime: 0x59247d36 -- Tue May 23 18:19:34 2017
/third_party/e2fsprogs/tests/f_convert_bmap/
Dexpect.19 atime: 0x5457f87a:61ba0598 -- Mon Nov 3 21:49:46 2014
/third_party/e2fsprogs/tests/f_convert_bmap_and_extent/
Dexpect.19 atime: 0x5457f87a:61ba0598 -- Mon Nov 3 21:49:46 2014
/third_party/ntfs-3g/include/fuse-lite/
Dfuse_kernel.h82 __u64 atime; member
251 __u64 atime; member

1234