/test/xts/hats/kernel/syscalls/timer/clockgettime/ |
H A D | ClockGetTimeApiTest.cpp | 31 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 D | fnmatchndk32.cpp | 82 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 D | fnmatchndk132.cpp | 56 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 D | signalndk32.cpp | 45 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 D | time.h | 278 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 D | threads.h | 49 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 D | pthread.h | 370 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 D | hi_time.c | 50 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 D | ActsMediaCameraTest.cpp | 588 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 D | sleep_ex.cpp | 43 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 D | utils.cpp | 55 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 D | utils.h | 160 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 D | NanoSleepApiTest.cpp | 61 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 D | stat.h | 18 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 D | threadsndk.cpp | 58 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 D | threadsndk1.cpp | 102 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 D | utils.cpp | 52 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 D | utils.h | 118 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 D | SleepTest.cpp | 44 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 D | ClockTimeTest.cpp | 38 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 D | ClockNanoSleepApiTest.cpp | 60 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 D | time.c | 57 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 D | PselectApiTest.cpp | 81 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 D | UtimensatApiTest.cpp | 73 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 D | PthreadCondTest.cpp | 99 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()
|