Searched refs:clockid_t (Results 1 – 18 of 18) sorted by relevance
5 typedef int clockid_t; typedef7 extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
419 int clock_gettime(clockid_t clock_id, struct timespec *tp) in clock_gettime()
62 void CheckClock(clockid_t clockid) { in CheckClock()103 const clockid_t kInitCPUClockID = in BPF_DEATH_TEST_C()
305 static_assert(4 == sizeof(clockid_t), "clockid_t is not 32bit"); in RestrictClockID()306 const Arg<clockid_t> clockid(0); in RestrictClockID()
24 clockid_t clk = CLOCK_MONOTONIC; in fill_timespec()26 clockid_t clk = CLOCK_REALTIME; in fill_timespec()
602 static const clockid_t kClockInvalid = -1;607 clockid_t clock_id_;609 static int get_clockid(int fd) { return ((~(clockid_t)(fd) << 3) | 3); } in get_clockid()
74 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime()76 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime()78 static clockid_t clock_id = CLOCK_REALTIME; in os_get_reltime()
44 typedef unsigned int clockid_t; typedef
108 if (clock_gettime((clockid_t) clockid, &tp)) in getustime()
76 int64_t ClockNow(clockid_t clk_id) { in ClockNow()
96 int64_t ClockNow(clockid_t clk_id) { in ClockNow()
778 clockid_t (*get_timerfd_clockid)(void);
94 static clockid_t monotonic_clkid = -1;199 static clockid_t find_monotonic_clock(void) in find_monotonic_clock()2155 static clockid_t op_get_timerfd_clockid(void) in op_get_timerfd_clockid()
37 extern int clock_nanosleep(clockid_t __clock_id, int __flags,
324 SANITIZER_INTERFACE_ATTRIBUTE int __dfsw_clock_gettime(clockid_t clk_id, in __dfsw_clock_gettime()
1152 CHECK_TYPE_SIZE(clockid_t);
1259 #define vki_clockid_t clockid_t
314 typedef __clockid_t clockid_t; typedef