Home
last modified time | relevance | path

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

1234

/third_party/libinput/src/
H A Dutil-ratelimit.c59 uint64_t utime; in ratelimit_test() local
65 utime = s2us(ts.tv_sec) + ns2us(ts.tv_nsec); in ratelimit_test()
67 if (r->begin <= 0 || r->begin + r->interval < utime) { in ratelimit_test()
69 r->begin = utime; in ratelimit_test()
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/
H A Dsyscalls.rs224 utime: *const Timespec,
235 utime,
243 futex_old(uaddr, op, flags, val, utime, uaddr2, val3)
255 utime,
267 utime: *const Timespec, in futex_old()
272 tv_sec: (*utime).tv_sec.try_into().map_err(|_| io::Errno::INVAL)?, in futex_old()
273 tv_nsec: (*utime).tv_nsec.try_into().map_err(|_| io::Errno::INVAL)?, in futex_old()
/third_party/ltp/testcases/kernel/syscalls/utime/
H A Dutime01.c11 * Verify that the system call utime() successfully changes the last
16 #include <utime.h>
38 TST_EXP_PASS_SILENT(utime(TEMP_FILE, &utbuf)); in run()
45 TST_EXP_PASS(utime(TEMP_FILE, NULL), "utime(%s, NULL)", TEMP_FILE); in run()
52 tst_res(TFAIL, "utime() did not set expected mtime, " in run()
57 tst_res(TFAIL, "utime() did not set expected atime, " in run()
H A Dutime03.c11 * Verify that the system call utime() successfully sets the modification
22 #include <utime.h>
63 TST_EXP_PASS_SILENT(utime(TEMP_FILE, &utbuf)); in run()
74 TST_EXP_PASS(utime(TEMP_FILE, NULL)); in run()
80 tst_res(TFAIL, "utime() did not set expected atime, " in run()
85 tst_res(TFAIL, "utime() did not set expected mtime, " in run()
H A Dutime02.c11 * Verify that the system call utime() successfully changes the last
20 #include <utime.h>
55 TST_EXP_PASS_SILENT(utime(TEMP_FILE, &utbuf)); in run()
62 TST_EXP_PASS(utime(TEMP_FILE, NULL), "utime(%s, NULL)", TEMP_FILE); in run()
69 tst_res(TFAIL, "utime() did not set expected mtime, " in run()
74 tst_res(TFAIL, "utime() did not set expected atime, " in run()
H A Dutime04.c11 * Verify that the system call utime() successfully changes the last
19 #include <utime.h>
43 TST_EXP_PASS(utime(TEMP_FILE, &times), "utime(%s, &times)", TEMP_FILE); in run()
H A Dutime06.c11 * Verify that system call utime() fails with
22 #include <utime.h>
61 TST_EXP_FAIL(utime(tc->pathname, tc->utimbuf), in run()
H A Dutime05.c11 * Verify that the system call utime() successfully changes the last
20 #include <utime.h>
57 TST_EXP_PASS(utime(TEMP_FILE, &times), "utime(%s, &times)", TEMP_FILE); in run()
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/
H A Dclock_gettime01.c76 long unsigned utime; in setup() local
83 &utime); in setup()
84 } while (utime == 0); in setup()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dutime_sup.c20 #include <utime.h>
44 if (utime(file, &ubuf) != 0) { in utime_0100()
45 t_error("%s utime failed", __func__); in utime_0100()
63 const char *path = "/data/utime.txt"; in utime_0200()
78 if (utime(path, NULL) != 0) { in utime_0200()
83 t_error("%s utime failed", __func__); in utime_0200()
/third_party/skia/third_party/externals/zlib/contrib/bench/
H A Dzlib_bench.cc237 double utime[runs]; in zlib_file() local
264 utime[run] = std::chrono::duration<double>(now() - start).count(); in zlib_file()
278 std::sort(utime, utime + runs); in zlib_file()
281 double inflate_rate_med = length * repeats / mega_byte / utime[runs / 2]; in zlib_file()
283 double inflate_rate_max = length * repeats / mega_byte / utime[0]; in zlib_file()
/third_party/musl/porting/liteos_m/kernel/include/
H A Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/musl/porting/uniproton/kernel/include/
H A Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/musl/porting/liteos_a/user/src/time/
H A Dutime.c1 #include <utime.h>
7 int utime(const char *path, const struct utimbuf *times) in utime() function
/third_party/musl/src/time/
H A Dutime.c1 #include <utime.h>
7 int utime(const char *path, const struct utimbuf *times) in utime() function
/third_party/musl/compat/time32/
H A Dutime_time32.c3 #include <utime.h>
12 return utime(path, !times32 ? 0 : (&(struct utimbuf){ in __utime_time32()
/third_party/musl/include/
H A Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/rust/crates/rustix/src/thread/
H A Dfutex.rs14 /// `futex(uaddr, op, val, utime, uaddr2, val3)`
33 utime: *const Timespec, in futex()
37 backend::thread::syscalls::futex(uaddr, op, flags, val, utime, uaddr2, val3) in futex()
/third_party/python/Lib/test/
H A Dtest_posix.py444 @unittest.skipUnless(os.utime in os.supports_fd, "test needs fd support in os.utime")
449 posix.utime(fd)
450 posix.utime(fd, None)
451 self.assertRaises(TypeError, posix.utime, fd, (None, None))
452 self.assertRaises(TypeError, posix.utime, fd, (now, None))
453 self.assertRaises(TypeError, posix.utime, fd, (None, now))
454 posix.utime(fd, (int(now), int(now)))
455 posix.utime(fd, (now, now))
456 self.assertRaises(ValueError, posix.utime, f
[all...]
/third_party/curl/src/
H A Dtool_filetime.c30 # include <utime.h>
32 # include <sys/utime.h>
95 /* Windows utime() may attempt to adjust the unix GMT file time by a daylight in setfiletime()
97 access to a 64-bit type we can bypass utime and set the times directly. */ in setfiletime()
148 if(utime(filename, &times)) { in setfiletime()
/third_party/gn/src/gn/
H A Dfunction_write_file_unittest.cc20 #include <utime.h>
99 ASSERT_EQ(utime(foo_name.value().c_str(), NULL), 0); in TEST_F()
/third_party/python/Modules/
H A Dtimemodule.c1216 _PyTime_t ktime, utime, t; local
1240 utime = large.QuadPart;
1242 /* ktime and utime have a resolution of 100 nanoseconds */
1243 t = _PyTime_FromNanoseconds((ktime + utime) * 100);
1289 _PyTime_t utime, stime;
1298 if (_PyTime_FromTimeval(&utime, &ru.ru_utime) < 0) {
1305 _PyTime_t total = utime + stime;
1409 _PyTime_t ktime, utime, t; local
1433 utime = large.QuadPart;
1435 /* ktime and utime hav
[all...]
/third_party/node/test/parallel/
H A Dtest-trace-events-fs-async.js236 function utime() { function
297 tests.utime = wrapper(utime);

Completed in 8 milliseconds

1234