Home
last modified time | relevance | path

Searched refs:timerfd (Results 1 – 25 of 29) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dtimerfd_create.c29 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()
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()
50 close(timerfd); in timerfd_create_0200()
60 int timerfd = timerfd_create(-1, -1); in timerfd_create_0300() local
61 if (timerfd != -1) { in timerfd_create_0300()
62 t_error("%s failed, timerfd is %d", __func__, timerfd); in timerfd_create_0300()
65 close(timerfd); in timerfd_create_0300()
/third_party/libusb/libusb/os/
Devents_posix.h48 int timerfd; member
50 #define USBI_TIMER_OS_HANDLE(t) ((t)->timerfd)
55 return timer->timerfd >= 0; in usbi_timer_valid()
Devents_posix.c149 timer->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); in usbi_create_timer()
150 if (timer->timerfd == -1) { in usbi_create_timer()
160 if (close(timer->timerfd) == -1) in usbi_destroy_timer()
168 if (timerfd_settime(timer->timerfd, TFD_TIMER_ABSTIME, &it, NULL) == -1) { in usbi_arm_timer()
180 if (timerfd_settime(timer->timerfd, 0, &it, NULL) == -1) { in usbi_disarm_timer()
/third_party/libusb/
Dconfigure.ac254 dnl timerfd support
256 AC_ARG_ENABLE([timerfd], optenable
257 [AS_HELP_STRING([--enable-timerfd], [use timerfd for timing [default=auto]])],
261 AC_CHECK_HEADER([sys/timerfd.h], [timerfd_h=yes], [timerfd_h=])
263 …CLS([TFD_NONBLOCK, TFD_CLOEXEC], [timerfd_h_ok=yes], [timerfd_h_ok=], [[#include <sys/timerfd.h>]])
267 AC_DEFINE([HAVE_TIMERFD], [1], [Define to 1 if the system has timerfd functionality.])
272 AC_MSG_ERROR([timerfd header not usable; glibc 2.9+ required])
275 AC_MSG_ERROR([timerfd header not available; glibc 2.9+ required])
278 AC_MSG_CHECKING([whether to use timerfd for timing])
DChangeLog45 * Solaris: Enable timerfd on sunos when available
248 * Use timerfd when available for timer management
/third_party/flutter/engine/flutter/fml/
DBUILD.gn146 "platform/linux/timerfd.cc",
147 "platform/linux/timerfd.h",
156 "platform/linux/timerfd.cc",
157 "platform/linux/timerfd.h",
/third_party/flutter/engine/flutter/fml/platform/linux/
Dtimerfd.h11 #if __has_include(<sys/timerfd.h>) && \
/third_party/wayland_standard/src/
Devent-loop.c260 set_timer(int timerfd, struct timespec deadline) { in set_timer() argument
266 return timerfd_settime(timerfd, TFD_TIMER_ABSTIME, &its, NULL); in set_timer()
270 clear_timer(int timerfd) in clear_timer() argument
278 return timerfd_settime(timerfd, 0, &its, NULL); in clear_timer()
/third_party/boost/libs/asio/doc/
Dplatform_macros.qbk183 Linux: epoll, eventfd and timerfd.
190 Linux: epoll, eventfd and timerfd.
523 Linux: epoll, eventfd and timerfd.
/third_party/wayland_standard/
Dmeson.build50 { 'header': 'sys/timerfd.h', 'symbol': 'TFD_CLOEXEC' },
Dconfigure.ac114 [[#include <sys/timerfd.h>]])
/third_party/ltp/include/lapi/syscalls/
Dmips_n64.in277 timerfd 5277
Dia64.in279 timerfd 1308
Ds390x.in262 timerfd 317
Dmips_n32.in281 timerfd 6281
Dmips_o32.in318 timerfd 4318
Ds390.in295 timerfd 317
/third_party/boost/boost/asio/detail/impl/
Depoll_reactor.ipp29 # include <sys/timerfd.h>
455 // Calculate timeout. Check the timer queues only if timerfd is not in use.
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Depoll_reactor.ipp29 # include <sys/timerfd.h>
455 // Calculate timeout. Check the timer queues only if timerfd is not in use.
/third_party/flutter/build/
DBUILD.gn189 "$flutter_root/engine/flutter/fml/platform/linux/timerfd.cc",
197 "$flutter_root/engine/flutter/fml/platform/linux/timerfd.cc",
/third_party/ltp/
Dconfigure.ac75 sys/timerfd.h \
/third_party/libcoap/
Dconfigure.ac737 # For epoll, need two headers (sys/epoll.h sys/timerfd.h), but set up one #define
739 AC_CHECK_HEADER([sys/timerfd.h])
DCMakeLists.txt119 check_include_file(sys/timerfd.h HAVE_TIMERFD_H)
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_fuchsia187 FILE: ../../../fuchsia/sdk/linux/arch/arm64/sysroot/include/sys/timerfd.h
394 FILE: ../../../fuchsia/sdk/linux/arch/x64/sysroot/include/sys/timerfd.h
862 FILE: ../../../fuchsia/sdk/linux/arch/arm64/sysroot/include/sys/timerfd.h
1069 FILE: ../../../fuchsia/sdk/linux/arch/x64/sysroot/include/sys/timerfd.h
1536 FILE: ../../../fuchsia/sdk/linux/arch/arm64/sysroot/include/sys/timerfd.h
1745 FILE: ../../../fuchsia/sdk/linux/arch/x64/sysroot/include/sys/timerfd.h
2322 FILE: ../../../fuchsia/sdk/linux/arch/arm64/sysroot/include/sys/timerfd.h
2529 FILE: ../../../fuchsia/sdk/linux/arch/x64/sysroot/include/sys/timerfd.h
/third_party/musl/
Dmusl_src.gni479 "src/linux/timerfd.c",
1881 "include/sys/timerfd.h",

12