/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | timerfd_create.c | 17 #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 D | timerfd_settime.c | 18 #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 D | timerfd_gettime.c | 20 #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 D | linux_timerfd_create_test.cpp | 2 #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 D | linux_timerfd_settime_test.cpp | 2 #include <sys/timerfd.h>
|
/third_party/rust/crates/rustix/src/time/ |
H A D | mod.rs | 6 mod timerfd; modules 17 pub use timerfd::{
|
/third_party/rust/crates/rustix/tests/time/ |
H A D | main.rs | 12 mod timerfd; modules
|
/third_party/ltp/include/lapi/ |
H A D | timerfd.h | 15 #include <sys/timerfd.h>
|
/third_party/musl/compat/time32/ |
H A D | timerfd_gettime32.c | 3 #include <sys/timerfd.h>
|
H A D | timerfd_settime32.c | 3 #include <sys/timerfd.h>
|
/third_party/musl/src/linux/ |
H A D | timerfd.c | 1 #include <sys/timerfd.h>
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_timerfd.rs | 2 use nix::sys::timerfd::{
|
/third_party/rust/crates/nix/src/sys/ |
H A D | mod.rs | 212 pub mod timerfd; modules
|
/third_party/libinput/tools/ |
H A D | libinput-record.c | 33 #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 D | timer.c | 29 #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 D | general.h | 52 #include <linux/timerfd.h> 268 // Flags for timerfd
|
/third_party/alsa-utils/amidi/ |
H A D | amidi.c | 34 #include <sys/timerfd.h>
|
/third_party/curl/docs/examples/ |
H A D | ephiperfifo.c | 25 * 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 D | coap_resource.c | 23 #include <sys/timerfd.h>
|
H A D | coap_io.c | 51 #include <sys/timerfd.h>
|
H A D | coap_session.c | 26 #include <sys/timerfd.h>
|
/third_party/glfw/src/ |
H A D | wl_init.c | 38 #include <sys/timerfd.h>
|
H A D | wl_window.c | 41 #include <sys/timerfd.h>
|
/third_party/rust/crates/linux-raw-sys/gen/ioctl/ |
H A D | list.c | 151 #include <linux/timerfd.h>
|
/third_party/libinput/test/ |
H A D | litest.c | 45 #include <sys/timerfd.h>
|