Home
last modified time | relevance | path

Searched refs:timerid (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ltp/include/
Dtst_safe_clocks.h77 clockid_t clockid, struct sigevent *sevp, timer_t *timerid) in safe_timer_create() argument
82 ret = timer_create(clockid, sevp, timerid); in safe_timer_create()
97 timer_t timerid, int flags, const struct itimerspec *new_value, in safe_timer_settime() argument
103 ret = timer_settime(timerid, flags, new_value, old_value); in safe_timer_settime()
117 timer_t timerid, struct itimerspec *curr_value) in safe_timer_gettime() argument
122 ret = timer_gettime(timerid, curr_value); in safe_timer_gettime()
136 timer_t timerid) in safe_timer_delete() argument
141 ret = timer_delete(timerid); in safe_timer_delete()
162 #define SAFE_TIMER_CREATE(clockid, sevp, timerid)\ argument
163 safe_timer_create(__FILE__, __LINE__, (clockid), (sevp), (timerid))
[all …]
Dtst_timer.h329 static inline int sys_timer_gettime(kernel_timer_t timerid, void *its) in sys_timer_gettime() argument
331 return tst_syscall(__NR_timer_gettime, timerid, its); in sys_timer_gettime()
334 static inline int sys_timer_gettime64(kernel_timer_t timerid, void *its) in sys_timer_gettime64() argument
336 return tst_syscall(__NR_timer_gettime64, timerid, its); in sys_timer_gettime64()
339 static inline int sys_timer_settime(kernel_timer_t timerid, int flags, void *its, in sys_timer_settime() argument
342 return tst_syscall(__NR_timer_settime, timerid, flags, its, old_its); in sys_timer_settime()
345 static inline int sys_timer_settime64(kernel_timer_t timerid, int flags, void *its, in sys_timer_settime64() argument
348 return tst_syscall(__NR_timer_settime64, timerid, flags, its, old_its); in sys_timer_settime64()
Dtime64_variants.h37 int (*timer_settime)(kernel_timer_t timerid, int flags, void *its, void *old_its);
/third_party/musl/libc-test/src/functionalext/supplement/time/
Dtimer_settime.c48 timer_t timerid; in timer_settime_0100() local
52 sev.sigev_value.sival_ptr = &timerid; in timer_settime_0100()
56 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_settime_0100()
67 result = timer_settime(timerid, 0, &its, NULL); in timer_settime_0100()
76 result = timer_delete(timerid); in timer_settime_0100()
102 timer_t timerid; in timer_settime64_0100() local
106 sev.sigev_value.sival_ptr = &timerid; in timer_settime64_0100()
110 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_settime64_0100()
121 result = __timer_settime64(timerid, 0, &its, NULL); in timer_settime64_0100()
130 result = timer_delete(timerid); in timer_settime64_0100()
Dtimer_getoverrun.c25 static timer_t timerid; variable
31 int ret = timer_getoverrun(timerid); in handler()
49 sev.sigev_value.sival_ptr = &timerid; in timer_getoverrun_0100()
53 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_getoverrun_0100()
64 result = timer_settime(timerid, 0, &its, NULL); in timer_getoverrun_0100()
72 result = timer_delete(timerid); in timer_getoverrun_0100()
Dtimer_gettime.c46 timer_t timerid; in timer_gettime_0100() local
53 sev.sigev_value.sival_ptr = &timerid; in timer_gettime_0100()
56 if (timer_create(CLOCK_MONOTONIC, &sev, &timerid) == -1) { in timer_gettime_0100()
66 if (timer_settime(timerid, 0, &its, NULL) == -1) { in timer_gettime_0100()
71 if (timer_gettime(timerid, &tmp) == -1 && errno == EINVAL) { in timer_gettime_0100()
83 if (timer_delete(timerid) != 0) { in timer_gettime_0100()
Dtimer_delete.c41 timer_t timerid; in timer_delete_0100() local
47 sev.sigev_value.sival_ptr = &timerid; in timer_delete_0100()
50 if (timer_create(CLOCK_MONOTONIC, &sev, &timerid) == -1) { in timer_delete_0100()
60 if (timer_settime(timerid, 0, &its, NULL) == -1) { in timer_delete_0100()
69 if (timer_delete(timerid) == -1 && errno == EINVAL) { in timer_delete_0100()
Dtimer_create.c40 timer_t timerid; in timer_create_0100() local
44 sev.sigev_value.sival_ptr = &timerid; in timer_create_0100()
48 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_create_0100()
59 result = timer_settime(timerid, 0, &its, NULL); in timer_create_0100()
68 result = timer_delete(timerid); in timer_create_0100()
/third_party/musl/src/time/
Dtimer_create.c80 int timerid; in timer_create() local
93 if (syscall(SYS_timer_create, clk, ksevp, &timerid) < 0) in timer_create()
95 *res = (void *)(intptr_t)timerid; in timer_create()
120 if (syscall(SYS_timer_create, clk, &ksev, &timerid) < 0) in timer_create()
121 timerid = -1; in timer_create()
122 td->timer_id = timerid; in timer_create()
124 if (timerid < 0) return -1; in timer_create()
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/libcompat/
Dlibcompat.h199 timer_t * timerid);
200 CK_DLL_EXP int timer_settime (timer_t timerid, int flags,
202 CK_DLL_EXP int timer_delete (timer_t timerid);
Dtimer_create.c26 timer_t * timerid CK_ATTRIBUTE_UNUSED) in timer_create()
Dtimer_delete.c24 timer_delete (timer_t timerid CK_ATTRIBUTE_UNUSED) in timer_delete()
Dtimer_settime.c24 timer_settime (timer_t timerid CK_ATTRIBUTE_UNUSED, in timer_settime()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_timer.c54 ret = LOS_SwtmrDelete(timer->timerid); in DoDeleteTimer()
66 &timer->timerid, timer->data); in DoAddTimer()
71 ret = LOS_SwtmrStart(timer->timerid); in DoAddTimer()
/third_party/curl/lib/
Dprogress.h41 } timerid; typedef
52 struct curltime Curl_pgrsTime(struct Curl_easy *data, timerid timer);
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dtimer.h49 UINT16 timerid; member
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/
Dcheck_run.c453 timer_t timerid; in tcase_run_tfun_fork() local
481 &timerid) == 0) { in tcase_run_tfun_fork()
486 if (timer_settime (timerid, 0, &timer_spec, NULL) == 0) { in tcase_run_tfun_fork()
496 timer_delete (timerid); in tcase_run_tfun_fork()
Dcheck.c628 timer_t timerid; in check_get_clockid() local
630 if (timer_create (CLOCK_MONOTONIC, NULL, &timerid) == 0) { in check_get_clockid()
631 timer_delete (timerid); in check_get_clockid()
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dpthread_impl.h19 int timerid; member
/third_party/musl/porting/uniproton/kernel/src/internal/
Dpthread_impl.h19 int timerid; member
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dpthread_impl.h18 int timerid; member
/third_party/musl/porting/liteos_a/user/src/internal/
Dpthread_impl.h65 int timerid; member
/third_party/musl/src/internal/
Dpthread_impl.h65 int timerid; member
/third_party/musl/porting/liteos_m/user/src/internal/
Dpthread_impl.h66 int timerid; member
/third_party/musl/porting/linux/user/src/internal/
Dpthread_impl.h83 int timerid; member

12