Home
last modified time | relevance | path

Searched refs:utime (Results 1 – 25 of 139) 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/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/grpc/test/cpp/qps/
Dusage_timer.cc43 static void get_resource_usage(double* utime, double* stime) { in get_resource_usage() argument
47 *utime = time_double(&usage.ru_utime); in get_resource_usage()
50 *utime = 0; in get_resource_usage()
/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()))
/third_party/musl/ndk_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/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/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/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/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/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()
Dutime04.c117 TEST(utime(TEMP_FILE, &times)); in main()
/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/musl/src/time/
Dutime.c6 int utime(const char *path, const struct utimbuf *times) in utime() function
/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/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)
/third_party/python/Tools/scripts/
Dcopytime.py20 os.utime(file2, (stat1[ST_ATIME], stat1[ST_MTIME]))
/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/flutter/engine/flutter/sky/tools/
Dchange_install_name.py19 os.utime(stamp_path, None)
/third_party/boost/libs/locale/src/icu/
Ddate_time.cpp140 double utime = p.seconds * 1000.0 + p.nanoseconds / 1000000.0; in set_time() local
142 calendar_->setTime(utime,code); in set_time()

123456