Home
last modified time | relevance | path

Searched refs:clockid_t (Results 1 – 25 of 70) sorted by relevance

123

/external/ltp/lib/
Dtst_timer.c31 static clockid_t clock_id;
33 static const char *clock_name(clockid_t clk_id) in clock_name()
57 void tst_timer_check(clockid_t clk_id) in tst_timer_check()
71 void tst_timer_start(clockid_t clk_id) in tst_timer_start()
/external/fio/os/windows/
Dposix.h5 typedef int clockid_t; typedef
7 extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
/external/ltp/testcases/kernel/syscalls/clock_nanosleep2/
Dclock_nanosleep2_01.c33 const clockid_t CLOCK_TO_USE = CLOCK_MONOTONIC;
34 static int clock_nanosleep2(clockid_t clock_id, int flags, in clock_nanosleep2()
/external/linux-kselftest/tools/testing/selftests/ptp/
Dtestptp.c54 static int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime()
60 static clockid_t get_clockid(int fd) in get_clockid()
63 #define FD_TO_CLOCKID(fd) ((~(clockid_t) (fd) << 3) | CLOCKFD) in get_clockid()
167 clockid_t clkid; in main()
/external/ltp/include/
Dtst_timer.h171 void tst_timer_check(clockid_t clk_id);
178 void tst_timer_start(clockid_t clk_id);
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D7-4-buildonly.c13 clockid_t dummy;
D15-1-buildonly.c16 typedef int (*clock_settime_test) (clockid_t, const struct timespec *);
D12-1-buildonly.c16 typedef int (*clock_getres_test) (clockid_t, struct timespec *);
D13-1-buildonly.c16 typedef int (*clock_gettime_test) (clockid_t, struct timespec *);
D11-1-buildonly.c16 typedef int (*clock_getcpuclockid_test) (pid_t, clockid_t *);
D14-1-buildonly.c17 typedef int (*clock_nanosleep_test) (clockid_t, int, const struct timespec *,
D29-1-buildonly.c16 typedef int (*timer_create_test) (clockid_t, struct sigevent *, timer_t *);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/
D6-1.c25 clockid_t clockid_1; in main()
D1-2.c31 clockid_t clockid; in main()
D1-1.c40 clockid_t clockid; in main()
D5-1.c27 clockid_t clockid_1; in main()
D2-1.c29 clockid_t clockid_1, clockid_2; in main()
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions_unittests.cc62 void CheckClock(clockid_t clockid) { in CheckClock()
106 const clockid_t kInitCPUClockID = in BPF_DEATH_TEST_C()
Dsyscall_parameters_restrictions.cc337 static_assert(4 == sizeof(clockid_t), "clockid_t is not 32bit"); in RestrictClockID()
338 const Arg<clockid_t> clockid(0); in RestrictClockID()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/
D1-1.c27 clockid_t clockid; in main()
D1-2.c28 clockid_t clockid; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/
D1-3.c39 clockid_t clockid; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getcpuclockid/speculative/
D3-1.c40 clockid_t cid; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getcpuclockid/
D1-1.c33 clockid_t cid; in thread_func()
/external/ltp/testcases/kernel/timers/clock_gettime/
Dclock_gettime02.c75 static clockid_t clocks[2] = { CLOCK_REALTIME, CLOCK_MONOTONIC };

123