Home
last modified time | relevance | path

Searched refs:utime (Results 1 – 25 of 126) sorted by relevance

123456

/third_party/libinput/src/
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/
Dsyscalls.rs224 utime: *const Timespec, in futex()
235 utime, in futex()
243 futex_old(uaddr, op, flags, val, utime, uaddr2, val3) in futex()
255 utime, in futex()
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/python/Lib/test/
Dtest_posix.py440 @unittest.skipUnless(os.utime in os.supports_fd, "test needs fd support in os.utime")
445 posix.utime(fd)
446 posix.utime(fd, None)
447 self.assertRaises(TypeError, posix.utime, fd, (None, None))
448 self.assertRaises(TypeError, posix.utime, fd, (now, None))
449 self.assertRaises(TypeError, posix.utime, fd, (None, now))
450 posix.utime(fd, (int(now), int(now)))
451 posix.utime(fd, (now, now))
452 self.assertRaises(ValueError, posix.utime, fd, (now, now), ns=(now, now))
453 self.assertRaises(ValueError, posix.utime, fd, (now, 0), ns=(None, None))
[all …]
Dtest_unicode_file.py39 os.utime(filename, None)
40 os.utime(filename, (time.time(), time.time()))
Dtest_os.py796 os.utime(filename, ns=ns)
814 os.utime(filename, (atime, mtime))
823 os.utime(filename, times=(atime, mtime))
826 @unittest.skipUnless(os.utime in os.supports_follow_symlinks,
833 os.utime(filename, ns=ns, follow_symlinks=False)
836 @unittest.skipUnless(os.utime in os.supports_fd,
843 os.utime(fp.fileno(), ns=ns)
846 @unittest.skipUnless(os.utime in os.supports_dir_fd,
854 os.utime(name, dir_fd=dirfd, ns=ns)
862 os.utime(filename, ns=ns)
[all …]
/third_party/flutter/skia/third_party/externals/zlib/contrib/bench/
Dzlib_bench.cc222 double utime[runs]; in zlib_file() local
251 utime[run] = std::chrono::duration<double>(now() - start).count(); in zlib_file()
265 std::sort(utime, utime + runs); in zlib_file()
268 double inflate_rate_med = length * repeats / mega_byte / utime[runs / 2]; in zlib_file()
270 double inflate_rate_max = length * repeats / mega_byte / utime[0]; in zlib_file()
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/
Dclock_gettime01.c76 long unsigned utime; in setup() local
83 &utime); in setup()
84 } while (utime == 0); in setup()
/third_party/skia/third_party/externals/zlib/contrib/bench/
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/
Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/musl/ndk_musl_include/
Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/musl/include/
Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/musl/porting/liteos_a/kernel/include/
Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/musl/porting/uniproton/kernel/include/
Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/rust/crates/rustix/src/thread/
Dfutex.rs33 utime: *const Timespec, in futex()
37 backend::thread::syscalls::futex(uaddr, op, flags, val, utime, uaddr2, val3) in futex()
/third_party/elfutils/tests/
Drun-readelf-mixed-corenote.sh32 utime: 0.000000, stime: 0.010000, cutime: 0.000000, cstime: 0.000000
98 utime: 0.000042, stime: 0.000103, cutime: 0.000000, cstime: 0.000000
163 utime: 0.000043, stime: 0.000102, cutime: 0.000000, cstime: 0.000000
235 utime: 0.000000, stime: 0.004000, cutime: 0.000000, cstime: 0.000000
302 utime: 0.010000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
442 utime: 0.000000, stime: 0.001000, cutime: 0.000000, cstime: 0.000000
508 utime: 0.000000, stime: 0.001000, cutime: 0.000000, cstime: 0.000000
598 utime: 0.000000, stime: 0.010000, cutime: 0.000000, cstime: 0.000000
662 utime: 0.000000, stime: 0.110000, cutime: 0.000000, cstime: 0.000000
Drun-readelf-vmcoreinfo.sh31 utime: 0.000000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
49 utime: 0.000000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
/third_party/ltp/testcases/kernel/syscalls/utime/
Dutime03.c65 TST_EXP_PASS_SILENT(utime(TEMP_FILE, &utbuf)); in run()
76 TST_EXP_PASS(utime(TEMP_FILE, NULL)); in run()
/third_party/musl/libc-test/src/functionalext/supplement/time/
Dutime_sup.c44 if (utime(file, &ubuf) != 0) { in utime_0100()
78 if (utime(path, NULL) != 0) { in utime_0200()
/third_party/python/Modules/
Dtimemodule.c1190 _PyTime_t ktime, utime, t; local
1214 utime = large.QuadPart;
1217 t = _PyTime_FromNanoseconds((ktime + utime) * 100);
1263 _PyTime_t utime, stime;
1272 if (_PyTime_FromTimeval(&utime, &ru.ru_utime) < 0) {
1279 _PyTime_t total = utime + stime;
1383 _PyTime_t ktime, utime, t; local
1407 utime = large.QuadPart;
1410 t = _PyTime_FromNanoseconds((ktime + utime) * 100);
1435 *tp = _PyTime_FromNanoseconds(tc.stime + tc.utime);
/third_party/python/Lib/test/test_importlib/source/
Dtest_file_loader.py205 os.utime(source, (2 ** 33 - 5, 2 ** 33 - 5))
248 os.utime(source, (50, 50))
261 os.utime(source, (50, 50))
280 os.utime(source, (50, 50))
293 os.utime(source, (50, 50))
304 os.utime(source, (50, 50))
335 os.utime(source, (50, 50))
/third_party/musl/src/time/
Dutime.c6 int utime(const char *path, const struct utimbuf *times) in utime() function
/third_party/musl/porting/liteos_a/user/src/time/
Dutime.c7 int utime(const char *path, const struct utimbuf *times) in utime() function
/third_party/musl/compat/time32/
Dutime_time32.c12 return utime(path, !times32 ? 0 : (&(struct utimbuf){ in __utime_time32()
/third_party/skia/gn/
Dcp.py25 os.utime(dst, None)

123456