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

1 2 3 4

  /external/strace/tests/
clock_xettime.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_xettime -a36 -e trace=clock_getres,clock_gettime,clock_settime); do not edit.
4 run_strace_match_diff -a36 -e trace=clock_getres,clock_gettime,clock_settime
  /external/strace/tests-m32/
clock_xettime.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_xettime -a36 -e trace=clock_getres,clock_gettime,clock_settime); do not edit.
4 run_strace_match_diff -a36 -e trace=clock_getres,clock_gettime,clock_settime
  /external/strace/tests-mx32/
clock_xettime.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_xettime -a36 -e trace=clock_getres,clock_gettime,clock_settime); do not edit.
4 run_strace_match_diff -a36 -e trace=clock_getres,clock_gettime,clock_settime
  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
15-1-buildonly.c 10 int clock_settime(clockid_t, const struct timespec *);
21 dummyvar = clock_settime;
  /bionic/libc/arch-arm/syscalls/
clock_settime.S 5 ENTRY(clock_settime) function
16 END(clock_settime)
  /bionic/libc/arch-arm64/syscalls/
clock_settime.S 5 ENTRY(clock_settime) function
14 END(clock_settime)
  /bionic/libc/arch-mips/syscalls/
clock_settime.S 5 ENTRY(clock_settime) function
19 END(clock_settime)
  /bionic/libc/arch-x86_64/syscalls/
clock_settime.S 5 ENTRY(clock_settime) function
15 END(clock_settime)
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
helpers.h 27 if (clock_settime(CLOCK_REALTIME, &tpset) != 0) {
28 perror("clock_settime() did not return success\n");
17-1.c 8 * Test that clock_settime() sets errno to EINVAL if clock_id does not
34 if (clock_settime(BOGUSCLOCKID, &tpset) == -1) {
44 printf("clock_settime() did not return -1\n");
6-1.c 8 * Test that clock_settime() cannot set the monotonic clock CLOCK_MONOTONIC,
26 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) {
30 printf("clock_settime() did not fail with CLOCK_MONOTONIC\n");
20-1.c 8 * Test that clock_settime() sets errno = EINVAL if clock_id is
32 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) {
41 printf("clock_settime() did not fail with CLOCK_MONOTONIC\n");
17-2.c 9 * clock_settime() function.
11 * Test calling clock_settime() with the following clock_id values:
55 if (clock_settime(invalid_tests[i], &tpset) == -1) {
61 printf("clock_settime() did not return -1\n");
1-1.c 8 * Test that clock_settime() sets clock_id to tp.
34 /* Check that we're root...can't call clock_settime with CLOCK_REALTIME otherwise */
49 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) {
72 printf("clock_settime() failed\n");
19-1.c 8 * Test that clock_settime() sets errno=EINVAL if tp has a nsec value < 0 or
11 * Test calling clock_settime() with the following tp.tv_nsec values:
45 /* Check that we're root...can't call clock_settime with CLOCK_REALTIME otherwise */
63 if (clock_settime(CLOCK_REALTIME, &tsset) == -1) {
69 printf("clock_settime() did not return -1\n");
4-2.c 8 * Test that if clock_settime() changes the value for CLOCK_REALTIME,
99 if (clock_settime(CLOCK_REALTIME, &tpclock) != 0) {
100 printf("clock_settime() was not successful\n");
7-1.c 8 * Test that if clock_settime() changes the time for CLOCK_REALTIME,
41 /* Check that we're root...can't call clock_settime with CLOCK_REALTIME otherwise */
93 if (clock_settime(CLOCK_REALTIME, &tsT0) != 0) {
94 printf("clock_settime() did not return success\n");
7-2.c 8 * Test that if clock_settime() changes the time for CLOCK_REALTIME,
40 /* Check that we're root...can't call clock_settime with CLOCK_REALTIME otherwise */
96 if (clock_settime(CLOCK_REALTIME, &tsT2) != 0) {
97 printf("clock_settime() did not return success\n");
  /bionic/libc/arch-mips64/syscalls/
clock_settime.S 5 ENTRY(clock_settime) function
25 END(clock_settime)
  /bionic/libc/arch-x86/syscalls/
clock_settime.S 5 ENTRY(clock_settime) function
34 END(clock_settime)
  /external/ltp/testcases/open_posix_testsuite/functional/timers/clocks/
invaliddates.c 51 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) {
75 printf("clock_settime() failed\n");
79 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) {
80 perror("clock_settime() did not return success\n");
85 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) {
86 perror("clock_settime() did not return success\n");
twopsetclock.c 47 if (clock_settime(CLOCK_REALTIME, &tschild) != 0) {
48 printf("Note: clock_settime() failed\n");
61 if (clock_settime(CLOCK_REALTIME, &tsparent) != 0) {
62 printf("Note: clock_settime() failed\n");
70 * clock_settime return correct values.
84 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) {
  /external/ltp/testcases/kernel/timers/clock_settime/
clock_settime02.c 23 * TEST TITLE : Basic test for clock_settime(2)
34 * This is a Phase I test for the clock_settime(2) system call.
100 "clock_settime %s",
124 if (clock_settime(CLOCK_REALTIME, &saved) < 0) {
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
pthread_time.h 89 int __cdecl WINPTHREAD_API clock_settime(clockid_t clock_id, const struct timespec *tp);
  /external/ltp/testcases/kernel/timers/leapsec/
leapsec_timer.c 167 if (clock_settime(CLOCK_REALTIME, &now) < 0)
168 tst_brkm(TBROK | TERRNO, cleanup, "clock_settime");
197 if (clock_settime(CLOCK_REALTIME, &start) < 0)
198 tst_brkm(TBROK | TERRNO, cleanup, "clock_settime");
216 clock_settime(CLOCK_REALTIME, &now);

Completed in 331 milliseconds

1 2 3 4