Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/supplement/legacy/
H A Dfutimes.c29 * @tc.desc : All parameters are valid, TV is not 0, and futimes can modify the timestamp of the file.
41 int fd = open("futimes.txt", O_RDWR | O_CREAT, 777); in futimes_0100()
42 ret = futimes(fd, tv); in futimes_0100()
44 remove("futimes.txt"); in futimes_0100()
49 * @tc.desc : All parameters are valid, TV is 0, and futimes can modify the timestamp of the file.
55 int fd = open("futimes.txt", O_RDWR | O_CREAT, 777); in futimes_0200()
56 ret = futimes(fd, 0); in futimes_0200()
58 remove("futimes.txt"); in futimes_0200()
63 * @tc.desc : The fd argument is invalid and the futimes function cannot modify the timestamp of the file.
70 int fd = open("futimes in futimes_0300()
[all...]
/third_party/node/test/parallel/
H A Dtest-fs-utimes.js117 fs.futimes(fd, atime, mtime, common.mustCall((err) => {
118 expect_ok('futimes', fd, err, atime, mtime);
138 // Some systems don't have futimes
186 () => fs.futimes(i, new Date(), new Date(), common.mustNotCall()),
201 // futimes-only error cases
204 () => fs.futimes(-1, new Date(), new Date(), common.mustNotCall()),
H A Dtest-trace-events-fs-async.js120 fs.futimes(fd, 1, 1, () => {
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dtime.h31 int futimes(int, const struct timeval [2]);
65 __REDIR(futimes, __futimes_time64);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dtime.h31 int futimes(int, const struct timeval [2]);
65 __REDIR(futimes, __futimes_time64);
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dtime.h58 int futimes(int, const struct timeval [2]);
92 __REDIR(futimes, __futimes_time64);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dtime.h31 int futimes(int, const struct timeval [2]);
65 __REDIR(futimes, __futimes_time64);
/third_party/musl/include/sys/
H A Dtime.h31 int futimes(int, const struct timeval [2]);
65 __REDIR(futimes, __futimes_time64);
/third_party/node/deps/npm/node_modules/graceful-fs/
H A Dpolyfills.js209 if (constants.hasOwnProperty("O_SYMLINK") && fs.futimes) {
216 fs.futimes(fd, at, mt, function (er) {
243 } else if (fs.futimes) {
/third_party/musl/src/legacy/
H A Dfutimes.c5 int futimes(int fd, const struct timeval tv[2]) in futimes() function
/third_party/musl/compat/time32/
H A Dfutimes_time32.c9 return futimes(fd, !times32 ? 0 : ((struct timeval[2]){ in __futimes_time32()
/third_party/gn/src/gn/
H A Dfunction_write_file_unittest.cc102 ASSERT_EQ(futimes(foo_file.GetPlatformFile(), times), 0); in TEST_F()
/third_party/musl/libc-test/src/common/
H A Dtest.h60 #define __futimes_time64 futimes
/third_party/node/lib/internal/fs/
H A Dpromises.js196 return fsCall(futimes, this, atime, mtime);
951 async function futimes(handle, atime, mtime) {
954 return binding.futimes(handle.fd, atime, mtime, kUsePromises);
/third_party/node/lib/
H A Dfs.js2146 function futimes(fd, atime, mtime, callback) { function
2154 binding.futimes(fd, atime, mtime, req);
2171 binding.futimes(fd, atime, mtime, undefined, ctx);
3105 futimes,
/third_party/elfutils/debuginfod/
H A Ddebuginfod-client.c1709 (void) futimes (fd, tvs); /* best effort */ in debuginfod_query_server()
H A Ddebuginfod.cxx1630 (void) futimes (fd, tvs); in extract_section()
1943 (void) futimes (fd, tvs); /* best effort */ in handle_buildid_r_match()
/third_party/rust/crates/libc/src/unix/bsd/
H A Dmod.rs718 pub fn futimes(fd: ::c_int, times: *const ::timeval) -> ::c_int; in futimes() functions
/third_party/node/src/
H A Dnode_file.cc2527 if (req_wrap_async != nullptr) { // futimes(fd, atime, mtime, req) in FUTimes()
2531 } else { // futimes(fd, atime, mtime, undefined, ctx) in FUTimes()
2534 FS_SYNC_TRACE_BEGIN(futimes); in FUTimes()
2537 FS_SYNC_TRACE_END(futimes); in FUTimes()
2729 SetMethod(context, target, "futimes", FUTimes); in Initialize()
/third_party/libuv/src/unix/
H A Dfs.c288 return futimes(req->file, tv); in uv__fs_futime()
/third_party/node/deps/uv/src/unix/
H A Dfs.c269 return futimes(req->file, tv); in uv__fs_futime()
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs4067 pub fn futimes(fd: ::c_int, times: *const ::timeval) -> ::c_int; in futimes() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs3801 pub fn futimes( in futimes() functions
/third_party/python/Modules/
H A Dposixmodule.c5352 "neither futimens nor futimes are supported" in utime_fd()
5362 return futimes(fd, time); in utime_fd()
/third_party/sqlite/src/
H A Dsqlite3.c[all...]

Completed in 201 milliseconds