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

1 2 3 4 5 6 7

  /external/strace/tests/
clock_nanosleep.test 3 # Check clock_nanosleep, clock_gettime, and setitimer syscalls decoding.
6 run_strace_match_diff -e trace=clock_nanosleep,clock_gettime,setitimer
  /external/strace/tests-m32/
clock_nanosleep.test 3 # Check clock_nanosleep, clock_gettime, and setitimer syscalls decoding.
6 run_strace_match_diff -e trace=clock_nanosleep,clock_gettime,setitimer
  /external/strace/tests-mx32/
clock_nanosleep.test 3 # Check clock_nanosleep, clock_gettime, and setitimer syscalls decoding.
6 run_strace_match_diff -e trace=clock_nanosleep,clock_gettime,setitimer
  /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/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");
  /system/media/audio_utils/include/audio_utils/
clock_nanosleep.h 27 // bionic for Android provides clock_nanosleep
28 #define audio_utils_clock_nanosleep clock_nanosleep
30 // bionic for desktop Linux omits clock_nanosleep
46 // macOS doesn't have clock_nanosleep
  /frameworks/av/media/libaaudio/src/utility/
AudioClock.h 58 int err = clock_nanosleep(clockId, TIMER_ABSTIME, &time, nullptr);
65 // Subtract because clock_nanosleep() returns a positive error number!
88 int err = clock_nanosleep(clockId, flags, &time, nullptr);
95 // Subtract because clock_nanosleep() returns a positive error number!
  /external/linux-kselftest/tools/testing/selftests/timers/
nsleep-lat.c 120 if (clock_nanosleep(clockid, 0, &target, NULL))
128 clock_nanosleep(clockid, 0, &target, NULL);
140 clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL);
nanosleep.c 121 if (clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL))
134 clock_nanosleep(clockid, 0, &rel, NULL);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
pthread_time.h 86 int __cdecl WINPTHREAD_API clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, struct timespec *remain);
  /hardware/intel/img/hwcomposer/merrifield/common/observers/
SoftVsyncObserver.cpp 20 extern "C" int clock_nanosleep(clockid_t clock_id, int flags,
142 err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &spec, NULL);
  /frameworks/av/media/libaaudio/examples/input_monitor/src/
input_monitor_callback.cpp 66 (void) clock_nanosleep(CLOCK_MONOTONIC, 0 /*flags*/, &request, NULL /*remain*/);
101 (void) clock_nanosleep(CLOCK_MONOTONIC, 0 /*flags*/, &request, NULL /*remain*/);
  /bionic/libc/include/
time.h 97 int clock_nanosleep(clockid_t, int, const struct timespec*, struct timespec*);

Completed in 1035 milliseconds

1 2 3 4 5 6 7