Home
last modified time | relevance | path

Searched refs:pthread_attr_setschedpolicy (Results 1 – 25 of 47) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedpolicy/
D2-1.c74 rc = pthread_attr_setschedpolicy(&attr, FIFOPOLICY); in main()
81 rc = pthread_attr_setschedpolicy(&attr, RRPOLICY); in main()
88 rc = pthread_attr_setschedpolicy(&attr, OTHERPOLICY); in main()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-posix-return.cpp38 extern "C" int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy);
68 if (pthread_attr_setschedpolicy(NULL, 0) < 0) {} in warningLessThanZero()
87 if (pthread_attr_setschedpolicy(NULL, 0) >= 0) {} in warningAlwaysTrue()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedparam/
D1-1.c61 rc = pthread_attr_setschedpolicy(&attr, FIFOPOLICY); in main()
79 rc = pthread_attr_setschedpolicy(&attr, RRPOLICY); in main()
/external/ltp/testcases/kernel/sched/eas/
Dsched_latency_rt.c102 ERROR_CHECK(pthread_attr_setschedpolicy(&cfs_thread_attrs, in run()
111 ERROR_CHECK(pthread_attr_setschedpolicy(&rt_thread_attrs, in run()
Dsched_latency_dl.c120 ERROR_CHECK(pthread_attr_setschedpolicy(&cfs_thread_attrs, in run()
129 ERROR_CHECK(pthread_attr_setschedpolicy(&dl_thread_attrs, in run()
/external/ltp/testcases/open_posix_testsuite/functional/threads/schedule/
D1-2.c134 SAFE_PFUNC(pthread_attr_setschedpolicy(&high_attr, SCHED_RR)); in main()
142 SAFE_PFUNC(pthread_attr_setschedpolicy(&low_attr, SCHED_RR)); in main()
D1-1.c122 SAFE_PFUNC(pthread_attr_setschedpolicy(&high_attr, SCHED_RR)); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
Dcoverage.txt1 This document defines the coverage for the pthread_attr_setschedpolicy function:
D4-1.c41 rc = pthread_attr_setschedpolicy(&attr, INVALIDPOLICY); in main()
D5-1.c43 rc = pthread_attr_setschedpolicy(&attr, policy); in set_policy()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/speculative/
D3-1.c42 rc = pthread_attr_setschedpolicy(&attr, policy); in main()
D3-2.c42 rc = pthread_attr_setschedpolicy(&attr, policy); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D3-2.c617 pthread_attr_setschedpolicy in main()
625 pthread_attr_setschedpolicy in main()
708 pthread_attr_setschedpolicy(& in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/
D1-2.c54 rc = pthread_attr_setschedpolicy(&attr, policy); in main()
D1-1.c53 rc = pthread_attr_setschedpolicy(&attr, policy); in main()
D1-3.c67 rc = pthread_attr_setschedpolicy(&attr, POLICY); in main()
D1-4.c70 rc = pthread_attr_setschedpolicy(&attr, POLICY); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
D2-1.c69 rc = pthread_attr_setschedpolicy(&attr, policy); in main()
D2-2.c76 rc = pthread_attr_setschedpolicy(&attr, policy); in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
Dthreads_scenarii.c301 pthread_attr_setschedpolicy(&scenarii[i].ta, in scenar_init()
306 pthread_attr_setschedpolicy(&scenarii[i].ta, in scenar_init()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
Dthreads_scenarii.c234 pthread_attr_setschedpolicy(&scenarii[i].ta, in scenar_init()
239 pthread_attr_setschedpolicy(&scenarii[i].ta, in scenar_init()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
Dthreads_scenarii.c234 pthread_attr_setschedpolicy(&scenarii[i].ta, in scenar_init()
239 pthread_attr_setschedpolicy(&scenarii[i].ta, in scenar_init()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/
Dthreads_scenarii.c284 pthread_attr_setschedpolicy(&scenarii[i].ta, in scenar_init()
288 pthread_attr_setschedpolicy(&scenarii[i].ta, in scenar_init()
/external/ltp/testcases/open_posix_testsuite/functional/threads/condvar/
Dpthread_cond_wait_1.c116 SAFE_PFUNC(pthread_attr_setschedpolicy(&high_attr, POLICY)); in main()
Dpthread_cond_wait_2.c116 SAFE_PFUNC(pthread_attr_setschedpolicy(&high_attr, POLICY)); in main()

12