Home
last modified time | relevance | path

Searched refs:timerfd (Results 1 - 25 of 26) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dtimerfd_create.c17 #include <sys/timerfd.h>
29 int timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); in timerfd_create_0100() local
30 if (timerfd == -1 || errno != 0) { in timerfd_create_0100()
31 t_error("%s timerfd create failed", __func__); in timerfd_create_0100()
34 close(timerfd); in timerfd_create_0100()
45 int timerfd = timerfd_create(CLOCK_REALTIME, 0); in timerfd_create_0200() local
46 if (timerfd == -1 || errno != 0) { in timerfd_create_0200()
47 t_error("%s timerfd create failed", __func__); in timerfd_create_0200()
50 close(timerfd); in timerfd_create_0200()
60 int timerfd in timerfd_create_0300() local
[all...]
H A Dtimerfd_settime.c18 #include <sys/timerfd.h>
68 t_error("%s timerfd error\n"); in timerfd_settime_0100()
119 t_error("%s timerfd error\n"); in timerfd_settime64_0100()
H A Dtimerfd_gettime.c20 #include <sys/timerfd.h>
64 t_error("%s timerfd error"); in timerfd_gettime_0100()
70 * @tc.desc : arms the timerfd with invalid parameters
116 t_error("%s timerfd error"); in timerfd_gettime64_0100()
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
H A Dlinux_timerfd_create_test.cpp2 #include <sys/timerfd.h>
13 * @tc.desc: This test verifies timerfd the create function is using CLOCK During MONOTONIC, the timer file descriptor
20 int timerfd = timerfd_create(CLOCK_MONOTONIC, 0); in HWTEST_F() local
21 EXPECT_GE(timerfd, 0); in HWTEST_F()
22 close(timerfd); in HWTEST_F()
H A Dlinux_timerfd_settime_test.cpp2 #include <sys/timerfd.h>
/third_party/rust/crates/rustix/src/time/
H A Dmod.rs6 mod timerfd; modules
17 pub use timerfd::{
/third_party/rust/crates/rustix/tests/time/
H A Dmain.rs12 mod timerfd; modules
/third_party/ltp/include/lapi/
H A Dtimerfd.h15 #include <sys/timerfd.h>
/third_party/musl/compat/time32/
H A Dtimerfd_gettime32.c3 #include <sys/timerfd.h>
H A Dtimerfd_settime32.c3 #include <sys/timerfd.h>
/third_party/musl/src/linux/
H A Dtimerfd.c1 #include <sys/timerfd.h>
/third_party/rust/crates/nix/test/sys/
H A Dtest_timerfd.rs2 use nix::sys::timerfd::{
/third_party/rust/crates/nix/src/sys/
H A Dmod.rs212 pub mod timerfd; modules
/third_party/libinput/tools/
H A Dlibinput-record.c33 #include <sys/timerfd.h>
2085 arm_timer(int timerfd) in arm_timer() argument
2096 timerfd_settime(timerfd, 0, &interval, NULL); in arm_timer()
2227 int sigfd, timerfd; in mainloop() local
2243 timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC|TFD_NONBLOCK); in mainloop()
2244 add_source(ctx, timerfd, timefd_dispatch, NULL); in mainloop()
2245 arm_timer(timerfd); in mainloop()
/third_party/libinput/src/
H A Dtimer.c29 #include <sys/timerfd.h>
180 "timer: error %d reading from timerfd (%s)", in libinput_timer_dispatch()
/third_party/rust/crates/linux-raw-sys/gen/modules/
H A Dgeneral.h52 #include <linux/timerfd.h>
268 // Flags for timerfd
/third_party/alsa-utils/amidi/
H A Damidi.c34 #include <sys/timerfd.h>
/third_party/curl/docs/examples/
H A Dephiperfifo.c25 * multi socket API usage with epoll and timerfd
32 * but this uses epoll and timerfd instead of libevent.
71 #include <sys/timerfd.h>
229 /* Note that we may call the timer callback even if the timerfd is not in timer_cb()
/third_party/libcoap/src/
H A Dcoap_resource.c23 #include <sys/timerfd.h>
H A Dcoap_io.c51 #include <sys/timerfd.h>
H A Dcoap_session.c26 #include <sys/timerfd.h>
/third_party/glfw/src/
H A Dwl_init.c38 #include <sys/timerfd.h>
H A Dwl_window.c41 #include <sys/timerfd.h>
/third_party/rust/crates/linux-raw-sys/gen/ioctl/
H A Dlist.c151 #include <linux/timerfd.h>
/third_party/libinput/test/
H A Dlitest.c45 #include <sys/timerfd.h>

Completed in 28 milliseconds

12