HomeSort by relevance Sort by last modified time
    Searched refs:clock_nanosleep (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /external/strace/tests/
clock_nanosleep.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_nanosleep -e trace=clock_nanosleep,clock_gettime); do not edit.
4 run_strace_match_diff -e trace=clock_nanosleep,clock_gettime
  /external/strace/tests-m32/
clock_nanosleep.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_nanosleep -e trace=clock_nanosleep,clock_gettime); do not edit.
4 run_strace_match_diff -e trace=clock_nanosleep,clock_gettime
  /external/strace/tests-mx32/
clock_nanosleep.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_nanosleep -e trace=clock_nanosleep,clock_gettime); do not edit.
4 run_strace_match_diff -e trace=clock_nanosleep,clock_gettime
  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
14-1-buildonly.c 10 int clock_nanosleep(clockid_t, int, const struct timespec *,
23 dummyvar = clock_nanosleep;
  /bionic/libc/bionic/
clock_nanosleep.cpp 35 int clock_nanosleep(clockid_t clock_id, int flags, const timespec* in, timespec* out) { function
  /external/ltp/testcases/kernel/syscalls/clock_nanosleep/
clock_nanosleep02.c 21 * clock_nanosleep() should return with value 0 and the process should be
33 TEST(clock_nanosleep(clk_id, 0, &t, NULL));
47 .scall = "clock_nanosleep()",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/
13-1.c 8 * Test that clock_nanosleep() sets errno to EINVAL if clock_id does
27 if (clock_nanosleep(BOGUSCLOCKID, 0, &tssleep, NULL) == EINVAL) {
1-1.c 8 * Test that clock_nanosleep() causes the current thread to be suspended
30 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) != 0) {
31 printf("clock_nanosleep() did not return success\n");
55 printf("clock_nanosleep() did not sleep long enough\n");
11-1.c 8 * Test that clock_nanosleep() sets errno to EINVAL if rqtp contained a
42 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) !=
2-1.c 8 * Test that if TIMER_ABSTIME is set in flags, then clock_nanosleep()
12 * - Set clock_nanosleep() to sleep for current time + SLEEPSEC
39 if (clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL) != 0) {
40 printf("clock_nanosleep() did not return success\n");
54 printf("clock_nanosleep() slept too long\n");
59 printf("clock_nanosleep() did not sleep long enough\n");
1-4.c 8 * Test that clock_nanosleep() causes the current thread to be suspended
34 clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL);
10-1.c 8 * Test that clock_nanosleep() sets errno=EINTR if it was interruped
52 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) == EINTR) {
2-3.c 8 * Test that clock_nanosleep() causes the current thread to be suspended
42 clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL);
3-1.c 8 * Test that if TIMER_ABSTIME is set in flags, then if clock_nanosleep()
9 * parameter rqtp specifies a time in the past, clock_nanosleep()
13 * - Set clock_nanosleep() to sleep until current time - SLEEPSEC
40 if (clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL) != 0) {
41 printf("clock_nanosleep() did not return success\n");
55 printf("FAIL: clock_nanosleep() slept\n");
1-3.c 8 * Test that clock_nanosleep() causes the current thread to be suspended
13 * - clock_nanosleep() could not be executed at all, and the test would
14 * pass [Hopefully, the sleep() in the parent ensures clock_nanosleep()
17 * stopped clock_nanosleep().
61 clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL);
1-5.c 8 * Test that clock_nanosleep() does not stop if a signal is received
9 * that has no signal handler. clock_nanosleep() should still respond
43 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) == 0) {
44 printf("clock_nanosleep() returned success\n");
47 printf("clock_nanosleep() did not return success\n");
92 printf("clock_nanosleep() did not sleep long enough\n");
2-2.c 8 * Test that clock_nanosleep() causes the current thread to be suspended
14 * - clock_nanosleep() could not be executed at all, and the test would
15 * pass [Hopefully, the sleep() in the parent ensures clock_nanosleep()
18 * stopped clock_nanosleep().
68 clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL);
9-1.c 8 * Test that when clock_nanosleep() is interrupted by a signal, rmtp
62 if (clock_nanosleep(CLOCK_REALTIME, 0,
84 printf("clock_nanosleep() did not return EINTR\n");
  /frameworks/av/media/libaaudio/src/utility/
AudioClock.h 59 int err = clock_nanosleep(clockId, TIMER_ABSTIME, &time, nullptr);
66 // Subtract because clock_nanosleep() returns a positive error number!
89 int err = clock_nanosleep(clockId, flags, &time, nullptr);
96 // Subtract because clock_nanosleep() returns a positive error number!
  /external/linux-kselftest/tools/testing/selftests/timers/
nsleep-lat.c 109 if (clock_nanosleep(clockid, 0, &target, NULL))
117 clock_nanosleep(clockid, 0, &target, NULL);
129 clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL);
nanosleep.c 110 if (clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL))
123 clock_nanosleep(clockid, 0, &rel, NULL);
  /device/google/cuttlefish_common/guest/libs/platform_support/
api_level_fixes.h 115 extern int clock_nanosleep(clockid_t, int, const struct timespec*,
  /frameworks/av/media/libaaudio/examples/input_monitor/src/
input_monitor_callback.cpp 78 (void) clock_nanosleep(CLOCK_MONOTONIC, 0 /*flags*/, &request, NULL /*remain*/);
114 (void) clock_nanosleep(CLOCK_MONOTONIC, 0 /*flags*/, &request, NULL /*remain*/);
  /device/google/cuttlefish_common/guest/hals/hwcomposer/common/
hwcomposer.cpp 57 int err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &rt, NULL);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
7-1.c 9 * then any threads blocked on clock_nanosleep() for the CLOCK_REALTIME
14 * - in child: set clock_nanosleep() to sleep until time
18 * - in child: ensure time when clock_nanosleep() expires is within
61 if (clock_nanosleep(CLOCK_REALTIME, flags, &tsT1, NULL) != 0) {
62 printf("clock_nanosleep() did not return success\n");

Completed in 4211 milliseconds

1 2 3 4