/third_party/libinput/src/ |
H A D | util-ratelimit.c | 59 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 D | syscalls.rs | 224 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 D | utime01.c | 11 * 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 D | utime03.c | 11 * 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 D | utime02.c | 11 * 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 D | utime04.c | 11 * Verify that the system call utime() successfully changes the last 19 #include <utime.h> 43 TST_EXP_PASS(utime(TEMP_FILE, ×), "utime(%s, ×)", TEMP_FILE); in run()
|
H A D | utime06.c | 11 * Verify that system call utime() fails with 22 #include <utime.h> 61 TST_EXP_FAIL(utime(tc->pathname, tc->utimbuf), in run()
|
H A D | utime05.c | 11 * Verify that the system call utime() successfully changes the last 20 #include <utime.h> 57 TST_EXP_PASS(utime(TEMP_FILE, ×), "utime(%s, ×)", TEMP_FILE); in run()
|
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/ |
H A D | clock_gettime01.c | 76 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 D | utime_sup.c | 20 #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 D | zlib_bench.cc | 237 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 D | utime.h | 19 int utime (const char *, const struct utimbuf *); 22 __REDIR(utime, __utime64);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | utime.h | 19 int utime (const char *, const struct utimbuf *); 22 __REDIR(utime, __utime64);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | utime.h | 19 int utime (const char *, const struct utimbuf *); 22 __REDIR(utime, __utime64);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | utime.h | 19 int utime (const char *, const struct utimbuf *); 22 __REDIR(utime, __utime64);
|
/third_party/musl/porting/liteos_a/user/src/time/ |
H A D | utime.c | 1 #include <utime.h> 7 int utime(const char *path, const struct utimbuf *times) in utime() function
|
/third_party/musl/src/time/ |
H A D | utime.c | 1 #include <utime.h> 7 int utime(const char *path, const struct utimbuf *times) in utime() function
|
/third_party/musl/compat/time32/ |
H A D | utime_time32.c | 3 #include <utime.h> 12 return utime(path, !times32 ? 0 : (&(struct utimbuf){ in __utime_time32()
|
/third_party/musl/include/ |
H A D | utime.h | 19 int utime (const char *, const struct utimbuf *); 22 __REDIR(utime, __utime64);
|
/third_party/rust/crates/rustix/src/thread/ |
H A D | futex.rs | 14 /// `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 D | test_posix.py | 444 @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 D | tool_filetime.c | 30 # 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, ×)) { in setfiletime()
|
/third_party/gn/src/gn/ |
H A D | function_write_file_unittest.cc | 20 #include <utime.h> 99 ASSERT_EQ(utime(foo_name.value().c_str(), NULL), 0); in TEST_F()
|
/third_party/python/Modules/ |
H A D | timemodule.c | 1216 _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 D | test-trace-events-fs-async.js | 236 function utime() { function 297 tests.utime = wrapper(utime);
|