Home
last modified time | relevance | path

Searched refs:condattr (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_destroy/
D2-1.c28 pthread_condattr_t condattr; in main() local
31 if (pthread_condattr_init(&condattr) != 0) { in main()
38 if (pthread_condattr_destroy(&condattr) != 0) { in main()
45 if (pthread_condattr_init(&condattr) != 0) { in main()
D3-1.c26 pthread_condattr_t condattr; in main() local
29 if (pthread_condattr_init(&condattr) != 0) { in main()
36 if (pthread_condattr_destroy(&condattr) != 0) { in main()
D1-1.c24 pthread_condattr_t condattr; in main() local
28 if ((rc = pthread_condattr_init(&condattr)) != 0) { in main()
35 if (pthread_condattr_destroy(&condattr) != 0) { in main()
D4-1.c25 pthread_condattr_t *condattr = NULL; in main() local
30 if ((rc = pthread_condattr_destroy(condattr)) == EINVAL) { in main()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_queue.h51 pthread_condattr_t condattr; in wsi_queue_init() local
52 ret = pthread_condattr_init(&condattr); in wsi_queue_init()
56 ret = pthread_condattr_setclock(&condattr, CLOCK_MONOTONIC); in wsi_queue_init()
60 ret = pthread_cond_init(&queue->cond, &condattr); in wsi_queue_init()
68 pthread_condattr_destroy(&condattr); in wsi_queue_init()
74 pthread_condattr_destroy(&condattr); in wsi_queue_init()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/
D1-2.c26 pthread_condattr_t condattr; in main() local
31 if ((rc = pthread_condattr_init(&condattr)) != 0) { in main()
38 rc = pthread_condattr_setclock(&condattr, CLOCK_REALTIME); in main()
44 rc = pthread_condattr_getclock(&condattr, &clockid); in main()
D1-1.c25 pthread_condattr_t condattr; in main() local
30 if ((rc = pthread_condattr_init(&condattr)) != 0) { in main()
37 rc = pthread_condattr_getclock(&condattr, &clockid); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/
D1-1.c23 pthread_condattr_t condattr; in main() local
27 if ((rc = pthread_condattr_init(&condattr)) != 0) { in main()
34 if ((rc = pthread_cond_init(&cond1, &condattr)) != 0) { in main()
46 if ((rc = pthread_condattr_destroy(&condattr)) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/
D1-1.c26 pthread_condattr_t condattr; in main() local
30 if ((rc = pthread_condattr_init(&condattr)) != 0) { in main()
37 rc = pthread_condattr_setclock(&condattr, CLOCK_REALTIME); in main()
D2-1.c33 pthread_condattr_t condattr; in main() local
37 if ((rc = pthread_condattr_init(&condattr)) != 0) { in main()
44 rc = pthread_condattr_setclock(&condattr, INVALID_CLOCKID); in main()
D1-2.c30 pthread_condattr_t condattr; in main() local
42 if ((rc = pthread_condattr_init(&condattr)) != 0) { in main()
49 rc = pthread_condattr_setclock(&condattr, CLOCK_MONOTONIC); in main()
D1-3.c37 pthread_condattr_t condattr; in main() local
47 if ((rc = pthread_condattr_init(&condattr)) != 0) { in main()
61 rc = pthread_condattr_setclock(&condattr, clockid); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_init/
D1-1.c25 pthread_condattr_t condattr; in main() local
32 if ((rc = pthread_condattr_init(&condattr)) != 0) { in main()
42 if (pthread_condattr_getpshared(&condattr, &pshared) != 0) { in main()
D3-1.c24 pthread_condattr_t condattr; in main() local
28 if ((rc = pthread_condattr_init(&condattr)) == 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_init/
D3-1.c24 pthread_condattr_t condattr; in main() local
31 rc = pthread_condattr_init(&condattr); in main()
36 rc = pthread_cond_init(&cond, &condattr); in main()
D1-1.c32 pthread_condattr_t condattr; in main() local
40 rc = pthread_condattr_init(&condattr); in main()
46 rc = pthread_cond_init(&cond1, &condattr); in main()
/external/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c252 pthread_condattr_t condattr; in startThread() local
293 if (pthread_condattr_init(&condattr) != 0) { in startThread()
296 if (pthread_cond_init(&(thrd->cond), &condattr) != 0) { in startThread()
/external/mesa3d/src/intel/vulkan/
Danv_device.c1412 pthread_condattr_t condattr; in anv_CreateDevice() local
1413 if (pthread_condattr_init(&condattr) != 0) { in anv_CreateDevice()
1417 if (pthread_condattr_setclock(&condattr, CLOCK_MONOTONIC) != 0) { in anv_CreateDevice()
1418 pthread_condattr_destroy(&condattr); in anv_CreateDevice()
1423 pthread_condattr_destroy(&condattr); in anv_CreateDevice()
1427 pthread_condattr_destroy(&condattr); in anv_CreateDevice()