Home
last modified time | relevance | path

Searched refs:timer_create (Results 1 - 25 of 85) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
H A Dtimer_test.cpp54 if (timer_create(CLOCK_REALTIME, &se_, &timerId_) == 0) { in CreateTimer()
145 * @tc.desc: Verify that the "timer_create" function correctly creates a timer with the specified attributes and
158 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in HWTEST_F()
165 * @tc.desc: Verify that the "timer_create" function properly handles invalid input arguments and returns the expected
173 EXPECT_EQ(timer_create(invalid, nullptr, &timer), -1); in HWTEST_F()
180 EXPECT_EQ(-1, timer_create(invalid, &sev, &timer)); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dtimer_create.c48 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_create_0100()
82 int result = timer_create(-1, NULL, NULL); in timer_create_0200()
H A Dtimer_settime.c56 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_settime_0100()
110 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_settime64_0100()
H A Dtimer_delete.c50 if (timer_create(CLOCK_MONOTONIC, &sev, &timerid) == -1) { in timer_delete_0100()
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/timers/
H A Dtwoevtimers.c69 if ((timer_create(CLOCK_REALTIME, &ev1, &tid1) != 0) || in main()
70 (timer_create(CLOCK_REALTIME, &ev2, &tid2) != 0)) { in main()
71 perror("timer_create() did not return success\n"); in main()
H A Dtwoptimers.c59 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
60 perror("timer_create() did not return success\n"); in main()
114 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
115 perror("timer_create() did not return success\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
H A D29-1-buildonly.c10 int timer_create(clockid_t, struct sigevent *, timer_t *);
21 dummyvar = timer_create; in dummyfcn()
/third_party/ltp/testcases/open_posix_testsuite/conformance/behavior/timers/
H A D1-1.c31 if (timer_create(CLOCK_REALTIME, NULL, &tid) == -1) { in main()
32 printf("[%d] timer_create() did not return success: " in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/
H A D16-1.c8 * Test that timer_create() sets errno to EINVAL if clock_id is not
28 if (timer_create(INVALIDCLOCKID, &ev, &tid) == -1) { in main()
38 printf("timer_create returned success\n"); in main()
H A D3-1.c49 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
50 perror("timer_create() did not return success\n"); in main()
H A D9-1.c64 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
65 perror("timer_create() did not return success\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/speculative/
H A D6-3.c9 * timer ID created via timer_create(). [Try to set timerid to a timer ID
32 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
33 perror("timer_create() did not return success\n"); in main()
H A D6-2.c35 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
36 perror("timer_create() did not return success\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/
H A D6-2.c9 * created via timer_create(). [Try to set timerid to a timer ID
31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
32 perror("timer_create() did not return success\n"); in main()
H A D6-3.c31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
32 perror("timer_create() did not return success\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/
H A D15-1.c8 * Test that timer_create() sets errno to EAGAIN if the system doesn't
40 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) { in main()
54 printf("timer_create() with > TIMER_MAX timers created\n"); in main()
H A D2-1.c8 * Test that timer_create() returns a unique timer ID for the current
56 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
61 perror("timer_create() did not return success\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/
H A D2-1.c33 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
34 perror("timer_create() did not return success\n"); in main()
H A D2-2.c40 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
41 perror("timer_create() did not return success\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/
H A D1-2.c38 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
39 perror("timer_create() did not return success\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/speculative/
H A D12-2.c9 * created via timer_create(). [Try to set timerid to a timer ID
40 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
41 perror("timer_create() did not return success\n"); in main()
H A D12-3.c38 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
39 perror("timer_create() did not return success\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/
H A D8-3.c45 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
46 perror("timer_create() did not return success\n"); in main()
H A D8-4.c42 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
43 perror("timer_create() did not return success\n"); in main()
H A D8-1.c39 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
40 perror("timer_create() did not return success\n"); in main()

Completed in 14 milliseconds

1234