/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
H A D | 8-1.c | 125 struct timespec sync_wait_ts = {0, 100000}; in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 14-1.c | 64 struct timespec time_between_signals_ts; in sendsig()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
H A D | 3-1.c | 58 struct timespec timeout, ts; in fn_wr()
|
H A D | 1-1.c | 56 struct timespec timeout; in fn_wr()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_util.c | 45 struct timespec current; in lima_get_absolute_timeout()
|
/third_party/musl/libc-test/src/functional/ |
H A D | pthread_mutex_pi.c | 30 struct timespec ts; in test_relock()
|
H A D | pthread_mutex.c | 30 struct timespec ts; in test_relock()
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | pthread_fortify_test.c | 88 struct timespec ts; in pthread_mutex_timedlock_after_destroyed()
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_android.cpp | 182 struct timespec current_timespec; in ImGui_ImplAndroid_NewFrame()
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_session_timeout.c | 57 struct timespec ts; in monotonic_time()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/time/ |
H A D | syscalls.rs | 26 use {core::ptr, linux_raw_sys::general::timespec as __kernel_old_timespec};
|
/third_party/rust/crates/rustix/benches/ |
H A D | mod.rs | 118 let mut s = std::mem::MaybeUninit::<libc::timespec>::uninit();
|
/third_party/python/Lib/test/ |
H A D | datetimetester.py | 2050 self.assertEqual(t.isoformat(timespec='hours'), "0001-02-03T04") 2051 self.assertEqual(t.isoformat(timespec='minutes'), "0001-02-03T04:05") 2052 self.assertEqual(t.isoformat(timespec='seconds'), "0001-02-03T04:05:01") 2053 self.assertEqual(t.isoformat(timespec='milliseconds'), "0001-02-03T04:05:01.000") 2054 self.assertEqual(t.isoformat(timespec='microseconds'), "0001-02-03T04:05:01.000123") 2055 self.assertEqual(t.isoformat(timespec='auto'), "0001-02-03T04:05:01.000123") 2056 self.assertEqual(t.isoformat(sep=' ', timespec='minutes'), "0001-02-03 04:05") 2057 self.assertRaises(ValueError, t.isoformat, timespec='foo') 2059 self.assertRaises(ValueError, t.isoformat, timespec='\ud800') 2064 self.assertEqual(t.isoformat(timespec [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile_transfer.c | 133 static inline uint32_t GetElapseTime(const struct timespec *ts) in GetElapseTime() 135 struct timespec now; in GetElapseTime() 1023 struct timespec endTs; in CalculateRecvRate() 1434 static uint32_t GetRemainingTime(uint32_t maxTime, const struct timespec *now, const struct timespec *ts) in GetRemainingTime() 1446 struct timespec now; in SenderGetTimeout() 1462 struct timespec now; in ReceiverGetTimeout()
|
H A D | nstackx_dfile_session.c | 292 struct timespec endTs; in CalculateSessionTransferRate() 1056 struct timespec nowTime; in DFileSendCalculateRate() 1114 struct timespec nowTime; in DFileRecvCalculateRate() 1159 static uint64_t CheckElapseTime(const struct timespec *before, uint64_t overRun) in CheckElapseTime() 1161 struct timespec now; in CheckElapseTime() 1400 struct timespec *before, uint8_t socketIndex) in UpdateInfoAfterSend() 1419 struct timespec *before, uint8_t socketIndex) in DFileSessionSendFrame() 1507 struct timespec before; in DFileSenderHandle() 1634 struct timespec before, now; in ReadEventHandle()
|
/kernel/liteos_a/syscall/ |
H A D | fs_syscall.c | 63 static int CheckNewAttrTime(struct IATTR *attr, struct timespec times[TIMESPEC_TIMES_NUM]) in CheckNewAttrTime() 66 struct timespec stp = {0}; in CheckNewAttrTime() 2315 int SysUtimensat(int fd, const char *path, struct timespec times[TIMESPEC_TIMES_NUM], int flag) in SysUtimensat() 2322 timeLen = TIMESPEC_TIMES_NUM * sizeof(struct timespec); in SysUtimensat() 2657 int SysPpoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmo_p, const sigset_t *sigMask, int nsig) in SysPpoll() 2663 CHECK_ASPACE(tmo_p, sizeof(struct timespec)); in SysPpoll() 2692 const struct timespec *timeout, const long data[2]) in SysPselect6()
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
H A D | mod.rs | 114 pub sched_ss_repl_period: ::timespec, 116 pub sched_ss_init_budget: ::timespec, 1657 pub fn clock_getres(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int; in clock_getres() 1658 pub fn clock_gettime(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int; in clock_gettime() 1659 pub fn clock_settime(clk_id: ::clockid_t, tp: *const ::timespec) -> ::c_int; in clock_settime() 1688 pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int; in futimens() 1692 times: *const ::timespec, in utimensat()
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | pngcp.c | 416 struct timespec read_time; 417 struct timespec read_time_total; 418 struct timespec write_time; 419 struct timespec write_time_total; 1500 set_timer(struct display *dp, struct timespec *timer) in set_timer() 1523 struct timespec t, tmp; in end_timer() 1566 print_time(const char *what, struct timespec t) in print_time()
|
/third_party/python/Lib/ |
H A D | datetime.py | 161 def _format_time(hh, mm, ss, us, timespec='auto'): 170 if timespec == 'auto': 172 timespec = 'microseconds' if us else 'seconds' 173 elif timespec == 'milliseconds': 176 fmt = specs[timespec] 178 raise ValueError('Unknown timespec value') 1518 def isoformat(self, timespec='auto'): 1524 The optional argument timespec specifies the number of additional 1529 self._microsecond, timespec) 2009 def isoformat(self, sep='T', timespec [all...] |
/third_party/libfuse/lib/ |
H A D | fuse.c | 145 struct timespec stat_updated; 146 struct timespec mtime; 161 struct timespec forget_time; 544 static void curr_time(struct timespec *now); 545 static double diff_timespec(const struct timespec *t1, 546 const struct timespec *t2); 1527 struct timespec timeout; in fuse_interrupt() 2110 const struct timespec tv[2], struct fuse_file_info *fi) in fuse_fs_utimens() 2424 static int mtime_eq(const struct stat *stbuf, const struct timespec *ts) in mtime_eq() 2434 static void curr_time(struct timespec *no [all...] |
/base/location/frameworks/location_common/common/source/ |
H A D | common_utils.cpp | 307 struct timespec times = {0, 0}; in GetCurrentTime() 447 struct timespec ts; in GetSinceBootTime()
|
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | log_buffer.cpp | 422 struct timespec ts = {0}; in GenerateHilogMsgInside() 424 struct timespec ts_mono = {0}; in GenerateHilogMsgInside()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_module_interface_test.cpp | 253 struct timespec endTime; in HWTEST_F() 254 struct timespec startTime; in HWTEST_F()
|
/base/startup/appspawn/util/src/ |
H A D | appspawn_utils.c | 125 uint64_t DiffTime(const struct timespec *startTime, const struct timespec *endTime) in DiffTime()
|
/base/startup/init/services/modules/trace/ |
H A D | init_trace.c | 412 struct timespec mts = {0, 0};
in MarkOthersClockSync() 413 struct timespec rts = {0, 0};
in MarkOthersClockSync()
|