Home
last modified time | relevance | path

Searched refs:timespec (Results 1276 - 1300 of 1852) sorted by relevance

1...<<51525354555657585960>>...75

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
H A D8-1.c125 struct timespec sync_wait_ts = {0, 100000}; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D14-1.c64 struct timespec time_between_signals_ts; in sendsig()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
H A D3-1.c58 struct timespec timeout, ts; in fn_wr()
H A D1-1.c56 struct timespec timeout; in fn_wr()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_util.c45 struct timespec current; in lima_get_absolute_timeout()
/third_party/musl/libc-test/src/functional/
H A Dpthread_mutex_pi.c30 struct timespec ts; in test_relock()
H A Dpthread_mutex.c30 struct timespec ts; in test_relock()
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dpthread_fortify_test.c88 struct timespec ts; in pthread_mutex_timedlock_after_destroyed()
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_android.cpp182 struct timespec current_timespec; in ImGui_ImplAndroid_NewFrame()
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
H A Dtest_session_timeout.c57 struct timespec ts; in monotonic_time()
/third_party/rust/crates/rustix/src/backend/linux_raw/time/
H A Dsyscalls.rs26 use {core::ptr, linux_raw_sys::general::timespec as __kernel_old_timespec};
/third_party/rust/crates/rustix/benches/
H A Dmod.rs118 let mut s = std::mem::MaybeUninit::<libc::timespec>::uninit();
/third_party/python/Lib/test/
H A Ddatetimetester.py2050 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 Dnstackx_dfile_transfer.c133 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 Dnstackx_dfile_session.c292 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 Dfs_syscall.c63 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 Dmod.rs114 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 Dpngcp.c416 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 Ddatetime.py161 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 Dfuse.c145 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 Dcommon_utils.cpp307 struct timespec times = {0, 0}; in GetCurrentTime()
447 struct timespec ts; in GetSinceBootTime()
/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_buffer.cpp422 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 Dapp_spawn_module_interface_test.cpp253 struct timespec endTime; in HWTEST_F()
254 struct timespec startTime; in HWTEST_F()
/base/startup/appspawn/util/src/
H A Dappspawn_utils.c125 uint64_t DiffTime(const struct timespec *startTime, const struct timespec *endTime) in DiffTime()
/base/startup/init/services/modules/trace/
H A Dinit_trace.c412 struct timespec mts = {0, 0}; in MarkOthersClockSync()
413 struct timespec rts = {0, 0}; in MarkOthersClockSync()

Completed in 36 milliseconds

1...<<51525354555657585960>>...75