Lines Matching refs:atime
64 double atime; member
813 double atime, in check_utime() argument
839 ASSERT_DOUBLE_EQ(atime, (long) atime); in check_utime()
840 ASSERT_DOUBLE_EQ(mtime, (long) atime); in check_utime()
842 if (atime > 0 || (long) atime == atime) in check_utime()
843 ASSERT_EQ(s->st_atim.tv_sec, (long) atime); in check_utime()
846 ASSERT_GE(s->st_atim.tv_sec, (long) atime - 1); in check_utime()
848 ASSERT_LE(s->st_atim.tv_sec, (long) atime); in check_utime()
865 ASSERT_DOUBLE_EQ(st_atim, atime); in check_utime()
881 check_utime(c->path, c->atime, c->mtime, /* test_lutime */ 0); in utime_cb()
896 check_utime(c->path, c->atime, c->mtime, /* test_lutime */ 0); in futime_cb()
910 check_utime(c->path, c->atime, c->mtime, /* test_lutime */ 1); in lutime_cb()
2669 double atime; in TEST_IMPL() local
2685 atime = mtime = 400497753.25; /* 1982-09-10 11:22:33.25 */ in TEST_IMPL()
2687 r = uv_fs_utime(NULL, &req, path, atime, mtime, NULL); in TEST_IMPL()
2692 check_utime(path, atime, mtime, /* test_lutime */ 0); in TEST_IMPL()
2694 atime = mtime = 1291404900.25; /* 2010-12-03 20:35:00.25 - mees <3 */ in TEST_IMPL()
2696 checkme.atime = atime; in TEST_IMPL()
2701 r = uv_fs_utime(loop, &utime_req, path, atime, mtime, utime_cb); in TEST_IMPL()
2716 double atime; in TEST_IMPL() local
2731 atime = mtime = -14245440.25; /* 1969-07-20T02:56:00.25Z */ in TEST_IMPL()
2733 r = uv_fs_utime(NULL, &req, path, atime, mtime, NULL); in TEST_IMPL()
2747 check_utime(path, atime, mtime, /* test_lutime */ 0); in TEST_IMPL()
2790 double atime; in TEST_IMPL() local
2810 atime = mtime = 400497753.25; /* 1982-09-10 11:22:33.25 */ in TEST_IMPL()
2818 r = uv_fs_futime(NULL, &req, file, atime, mtime, NULL); in TEST_IMPL()
2828 check_utime(path, atime, mtime, /* test_lutime */ 0); in TEST_IMPL()
2830 atime = mtime = 1291404900; /* 2010-12-03 20:35:00 - mees <3 */ in TEST_IMPL()
2832 checkme.atime = atime; in TEST_IMPL()
2838 r = uv_fs_futime(loop, &futime_req, file, atime, mtime, futime_cb); in TEST_IMPL()
2855 double atime; in TEST_IMPL() local
2889 atime = mtime = 400497753.25; /* 1982-09-10 11:22:33.25 */ in TEST_IMPL()
2891 checkme.atime = atime; in TEST_IMPL()
2896 r = uv_fs_lutime(NULL, &req, symlink_path, atime, mtime, NULL); in TEST_IMPL()
2907 atime = mtime = 1291404900; /* 2010-12-03 20:35:00 */ in TEST_IMPL()
2909 checkme.atime = atime; in TEST_IMPL()
2913 r = uv_fs_lutime(loop, &req, symlink_path, atime, mtime, lutime_cb); in TEST_IMPL()