Home
last modified time | relevance | path

Searched refs:timespec (Results 1 - 25 of 107) sorted by relevance

12345

/test/xts/hats/kernel/syscalls/timer/clockgettime/
H A DClockGetTimeApiTest.cpp31 static struct timespec g_timeTs;
68 struct timespec ts; in HWTEST_F()
88 struct timespec ts; in HWTEST_F()
107 struct timespec ts; in HWTEST_F()
108 struct timespec tsSec; in HWTEST_F()
129 struct timespec ts; in HWTEST_F()
130 struct timespec tsSec; in HWTEST_F()
151 struct timespec ts; in HWTEST_F()
152 struct timespec tsSec; in HWTEST_F()
173 struct timespec t in HWTEST_F()
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/
H A Dfnmatchndk32.cpp82 extern "C" int __clock_gettime64(clockid_t, struct timespec *);
86 struct timespec timeSpec {}; in clock_getTime64()
94 const struct timespec *__restrict);
100 const struct timespec timeSpec {}; in PThread_cond_timedWait_time64()
107 extern "C" int __nanosleep_time64(const struct timespec *, struct timespec *);
111 struct timespec timeSpec { in NanoSleep_time64()
159 extern "C" int __utimensat_time64(int, const char *, const struct timespec[2], int);
171 struct timespec times[] = {{.tv_sec = PARAM_0}, {.tv_sec = sec}}; in UTimeNsAt_time64()
185 extern "C" int __clock_getres_time64(clockid_t, struct timespec *);
[all...]
H A Dfnmatchndk132.cpp56 extern "C" int __cnd_timedwait_time64(cnd_t *__restrict, mtx_t *__restrict, const struct timespec *__restrict);
62 struct timespec ts {}; in Cnd_timedWait_time64_One()
89 struct timespec ts {}; in Cnd_timedWait_time64_Two()
167 const struct timespec *__restrict);
171 struct timespec ts {}; in PThreadCondTimedWaitTime64Thread()
188 struct timespec ts { in PThread_cond_timedWait_time64_One()
223 extern "C" int __sem_timedwait_time64(sem_t *__restrict, const struct timespec *__restrict);
227 struct timespec ts; in SemTimedWaitTime64Thread()
H A Dsignalndk32.cpp45 const struct timespec *__restrict);
57 timespec timeout = {.tv_sec = PARAM_2, .tv_nsec = PARAM_0}; in SigTimedWait_time641()
77 timespec timeout = {.tv_sec = PARAM_2, .tv_nsec = PARAM_0}; in SigTimedWait_time642()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dtime.h278 int timespec_get(struct timespec *, int);
483 struct timespec it_interval;
484 struct timespec it_value;
531 int nanosleep (const struct timespec *, struct timespec *);
537 * struct timespec pointed to by the second argument.
558 int clock_getres (clockid_t, struct timespec *);
584 int clock_gettime (clockid_t, struct timespec *);
610 int clock_settime (clockid_t, const struct timespec *);
611 int clock_nanosleep (clockid_t, int, const struct timespec *, struc
[all...]
H A Dthreads.h49 int thrd_sleep(const struct timespec *, struct timespec *);
64 int mtx_timedlock(mtx_t *__restrict, const struct timespec *__restrict);
74 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict, const struct timespec *__restrict);
H A Dpthread.h370 int pthread_mutex_timedlock(pthread_mutex_t *__restrict, const struct timespec *__restrict);
475 int pthread_cond_timedwait(pthread_cond_t *__restrict, pthread_mutex_t *__restrict, const struct timespec *__restrict);
527 int pthread_rwlock_timedrdlock(pthread_rwlock_t *__restrict, const struct timespec *__restrict);
530 int pthread_rwlock_timedwrlock(pthread_rwlock_t *__restrict, const struct timespec *__restrict);
1265 int pthread_timedjoin_np(pthread_t, void **, const struct timespec *);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Dhi_time.c50 struct timespec tp; in hi_get_seconds()
61 struct timespec tp; in hi_get_us()
72 struct timespec tp; in hi_get_real_time()
83 struct timespec tp; in hi_set_real_time()
85 memset_s((hi_void *)&tp, sizeof(struct timespec), 0x0, sizeof(struct timespec)); in hi_set_real_time()
/test/xts/acts/multimedia_lite/camera_lite_posix/camera_native/src/
H A DActsMediaCameraTest.cpp588 struct timespec tv1 = {0}; in HWTEST_F()
589 struct timespec tv2 = {0}; in HWTEST_F()
619 struct timespec tv1 = {0}; in HWTEST_F()
620 struct timespec tv2 = {0}; in HWTEST_F()
668 struct timespec tv1 = {0}; in HWTEST_F()
669 struct timespec tv2 = {0}; in HWTEST_F()
716 struct timespec tv1 = {0}; in HWTEST_F()
717 struct timespec tv2 = {0}; in HWTEST_F()
762 struct timespec tv1 = {0}; in HWTEST_F()
763 struct timespec tv in HWTEST_F()
[all...]
/test/testfwk/developer_test/examples/sleep/src/
H A Dsleep_ex.cpp43 static int Nsleep(const struct timespec *req, struct timespec *rem) in Nsleep()
45 struct timespec tempRem; in Nsleep()
55 struct timespec req = {0, 0}; in Msleep()
56 struct timespec rem = {0, 0}; in Msleep()
/test/xts/acts/kernel_lite/utils/
H A Dutils.cpp55 struct timespec time1 = { 0, 0 }; in KeepRun()
56 struct timespec time2 = { 0, 0 }; in KeepRun()
143 struct timespec time1 = { timeoutSec, 0 }; in RunElf()
234 void GetDelayedTime(struct timespec *ts, unsigned int ms) in GetDelayedTime()
238 struct timespec tsNow = { 0 }; in GetDelayedTime()
245 int GetTimeDiff(struct timespec ts1, struct timespec ts2) in GetTimeDiff()
H A Dutils.h160 void GetDelayedTime(struct timespec *ts, unsigned int ms);
166 int GetTimeDiff(struct timespec ts1, struct timespec ts2);
/test/xts/hats/kernel/syscalls/timer/nanosleep/
H A DNanoSleepApiTest.cpp61 struct timespec req = {0, 100000L}; in HWTEST_F()
63 struct timespec rem; in HWTEST_F()
102 struct timespec req = {0, 100}; in HWTEST_F()
103 struct timespec rem; in HWTEST_F()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/arch/riscv32/bits/
H A Dstat.h18 struct timespec st_atim;
19 struct timespec st_mtim;
20 struct timespec st_ctim;
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dthreadsndk.cpp58 struct timespec; in Thrd_create()
131 struct timespec; in Thrd_exit()
157 struct timespec const *tl = (struct timespec const *)arg; in threadfun_sleep()
166 struct timespec ts = {.tv_sec = PARAM_1}; in Thrd_sleep()
175 double ustimer(struct timespec tss, struct timespec tse) in ustimer()
188 struct timespec tss, tse; in Yieldfunc()
200 struct timespec tss, tse; in Thrd_yield()
349 const struct timespec time_poin in Cndtimewaittest()
[all...]
H A Dthreadsndk1.cpp102 timespec ts = {.tv_nsec = 100 * 1000 * 1000}; in Cnd_broadcast()
144 timespec ts;
332 timespec ts = {2, 0}; in MtxTimedLock_One()
345 timespec ts = {2, 0}; in MtxTimedLock_Two()
469 timespec ts = {1, 0}; in ThrdDetachThreadB()
478 timespec ts = {1, 0}; in Thrd_detach_One()
584 static double ustimer(timespec tss, timespec tse) in ustimer()
597 timespec ts = {0, 10 * us}; in Thrd_sleep()
598 timespec star in Thrd_sleep()
[all...]
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
H A Dutils.cpp52 struct timespec time1 = { 0, 0 }; in KeepRun()
53 struct timespec time2 = { 0, 0 }; in KeepRun()
212 struct timespec time1 = { timeoutSec, 0 }; in RunElf()
322 void GetDelayedTime(struct timespec *ts, unsigned int ms) in GetDelayedTime()
326 struct timespec tsNow = { 0 }; in GetDelayedTime()
333 int GetTimeDiff(struct timespec ts1, struct timespec ts2) in GetTimeDiff()
H A Dutils.h118 void GetDelayedTime(struct timespec *ts, unsigned int ms);
124 int GetTimeDiff(struct timespec ts1, struct timespec ts2);
/test/xts/acts/kernel_lite/time_posix/src/
H A DSleepTest.cpp44 struct timespec req = {0, 100}; in HWTEST_P()
45 struct timespec rem = {0}; in HWTEST_P()
60 struct timespec req = {0, 100}; in HWTEST_F()
61 struct timespec rem = {0}; in HWTEST_F()
89 // invlid timespec in HWTEST_F()
92 LOG("check invlid timespec: tv_sec=-1 ..."); in HWTEST_F()
97 LOG("check invlid timespec: tv_nsec=-1 ..."); in HWTEST_F()
102 LOG("check invlid timespec: tv_nsec overflow ..."); in HWTEST_F()
H A DClockTimeTest.cpp38 static struct timespec mTestStatTime;
48 struct timespec time1 = {0, 0}; in TearDownTestCase()
60 struct timespec ClockTimeTest::mTestStatTime;
72 struct timespec time1 = {0, 0}; in HWTEST_P()
95 struct timespec time1 = {0, 0}; in HWTEST_P()
115 struct timespec time1 = {0, 0}; in HWTEST_F()
139 struct timespec ts = {0}; in HWTEST_F()
164 struct timespec ts = {0}; in HWTEST_F()
186 struct timespec ts = {0}; in HWTEST_F()
/test/xts/hats/kernel/syscalls/fileio/clocknanosleep/
H A DClockNanoSleepApiTest.cpp60 struct timespec req = {1, 0}; in HWTEST_F()
61 struct timespec rem; in HWTEST_F()
100 struct timespec req = {0, 100}; in HWTEST_F()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dtime.c57 STATIC INLINE BOOL ValidTimeSpec(const struct timespec *tp) in ValidTimeSpec()
72 STATIC INLINE UINT32 OsTimeSpec2Tick(const struct timespec *tp) in OsTimeSpec2Tick()
85 STATIC INLINE VOID OsTick2TimeSpec(struct timespec *tp, UINT32 tick) in OsTick2TimeSpec()
92 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep()
/test/xts/hats/kernel/syscalls/async/pselect/
H A DPselectApiTest.cpp81 timespec timeout; in HWTEST_F()
106 timespec timeout = {0, 0}; in HWTEST_F()
129 timespec timeout = {0, 0}; in HWTEST_F()
/test/xts/hats/kernel/syscalls/fileio/utimensat/
H A DUtimensatApiTest.cpp73 struct timespec newTime[2]; in HWTEST_F()
122 struct timespec newTime[2]; in HWTEST_F()
164 struct timespec newTime[2]; in HWTEST_F()
198 struct timespec newTime[2]; in HWTEST_F()
/test/xts/acts/kernel_lite/futex_posix/src/
H A DPthreadCondTest.cpp99 struct timespec ts = {0}; in HWTEST_F()
267 struct timespec ts = {0}; in ThreadPthreadCondTimedwait2()
308 struct timespec ts = {0}; in ThreadPthreadCondTimedwaitOut()
309 struct timespec tsNow = {0}; in ThreadPthreadCondTimedwaitOut()
351 struct timespec ts = {0}; in ThreadPthreadCondTimedwaitEinval()

Completed in 16 milliseconds

12345