/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/ |
H A D | It_posix_pthread_018.c | 87 ret = pthread_getschedparam(newTh, NULL, ¶m2); in Testcase() 91 ret = pthread_getschedparam(newTh, &policy, NULL); in Testcase() 94 ret = pthread_getschedparam(newTh, &policy, ¶m2); in Testcase() 109 ret = pthread_getschedparam(newTh, &policy, ¶m2); in Testcase() 112 ret = pthread_getschedparam(newTh + 8, &policy, ¶m2); // 8, test for invalid param. in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/ |
H A D | pthread_test_002.cpp | 75 ret = pthread_getschedparam(pthread_self(), &threadPolicy, ¶m); in ThreadFuncTest2() 91 ret = pthread_getschedparam(pthread_self(), &threadPolicy, ¶m); in ThreadFuncTest2() 137 ret = pthread_getschedparam(pthread_self(), &threadPolicy, ¶m); in ThreadFuncTest3() 153 ret = pthread_getschedparam(pthread_self(), &threadPolicy, ¶m); in ThreadFuncTest3() 179 ret = pthread_getschedparam(pthread_self(), &g_currThreadPolicy, ¶m); in Testcase()
|
H A D | pthread_test_001.cpp | 155 ret = pthread_getschedparam(pthread_self(), &curThreadPolicy, ¶m); in ThreadFunc() 220 ret = pthread_getschedparam(pthread_self(), &g_currThreadPolicy, ¶m); in PthreadTest001()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
H A D | It_posix_pthread_116.c | 57 pthread_getschedparam(g_th1, &sched, &schParam); in PthreadF01() 66 pthread_getschedparam(g_th1, &sched, &schParam); in PthreadF01() 112 pthread_getschedparam(g_th1, &sched, &schParam); in Testcase()
|
H A D | It_posix_pthread_047.c | 48 ret = pthread_getschedparam(g_newTh, &policy, ¶m); in PthreadF01() 62 ret = pthread_getschedparam(g_newTh, &policy, ¶m); in PthreadF01() 94 ret = pthread_getschedparam(g_newTh, &policy, ¶m); in Testcase()
|
H A D | It_posix_pthread_206.c | 55 ret = pthread_getschedparam(pthread_self(), &policy, &schedparam1); in PthreadF01() 67 ret = pthread_getschedparam(pthread_self(), &policy, &schedparam1); in PthreadF01()
|
H A D | It_posix_pthread_089.c | 66 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in PthreadF01() 106 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in PthreadF02()
|
H A D | It_posix_pthread_088.c | 67 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in PthreadF01() 105 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in PthreadF02()
|
H A D | It_posix_pthread_208.c | 46 ret = pthread_getschedparam(pthread_self(), &policy, &sparam); in PthreadF01()
|
H A D | It_posix_pthread_103.c | 61 ret = pthread_getschedparam(g_testNewTh, &policy, ¶m2); in HwiF01()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
H A D | It_posix_pthread_044.cpp | 44 ret = pthread_getschedparam(pthread_self(), &policy, ¶m); in pthread_f02() 63 ret = pthread_getschedparam(pthread_self(), &policy, ¶m); in pthread_f01() 105 ret = pthread_getschedparam(pthread_self(), &policy, ¶m); in Testcase()
|
H A D | It_posix_pthread_116.cpp | 50 pthread_getschedparam(g_th1, &sched, &schParam); in pthread_f01() 59 pthread_getschedparam(g_th1, &sched, &schParam); in pthread_f01() 108 pthread_getschedparam(g_th1, &sched, &schParam); in Testcase()
|
H A D | It_posix_pthread_206.cpp | 48 ret = pthread_getschedparam(pthread_self(), &policy, &schedparam1); in pthread_f01() 60 ret = pthread_getschedparam(pthread_self(), &policy, &schedparam1); in pthread_f01()
|
H A D | It_posix_pthread_089.cpp | 62 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in pthread_f01() 102 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in pthread_f02()
|
H A D | It_posix_pthread_088.cpp | 62 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in pthread_f01() 99 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in pthread_f02()
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
H A D | pthread_test_003.cpp | 49 ret = pthread_getschedparam(pthread, &policy, ¶m); in ThreadFuncTest2() 69 ret = pthread_getschedparam(pthread, &policy, ¶m); in ThreadFuncTest3() 90 ret = pthread_getschedparam(pthread_self(), &g_currThreadPolicy, ¶m); in Testcase()
|
H A D | pthread_test_010.cpp | 42 ret = pthread_getschedparam(pthread_self(), &currThreadPolicy, ¶m); in ThreadFuncTest0() 62 ret = pthread_getschedparam(pthread_self(), &currThreadPolicy, ¶m); in Testcase()
|
H A D | pthread_test_023.cpp | 54 ret = pthread_getschedparam(pthread_self(), &oldPolicy, &hpfparam); in ChildProcess() 60 ret = pthread_getschedparam(pthread_self(), &currPolicy, &currSchedParam); in ChildProcess()
|
H A D | pthread_test_022.cpp | 40 ret = pthread_getschedparam(pthread_self(), &currPolicy, &currSchedParam); in EdfProcess() 82 ret = pthread_getschedparam(pthread_self(), &currPolicy, &currSchedParam); in ChildProcess()
|
H A D | pthread_cond_test_003.cpp | 74 ret = pthread_getschedparam(pthread_self(), &policy, &schedParam); in pthread_f06() 129 ret = pthread_getschedparam(pthread_self(), &policy, &schedParam); in TestCase()
|
H A D | pthread_cond_test_004.cpp | 74 ret = pthread_getschedparam(pthread_self(), &policy, &schedParam); in pthread_f07() 121 ret = pthread_getschedparam(pthread_self(), &policy, &schedParam); in TestCase()
|
H A D | pthread_test_011.cpp | 42 int ret = pthread_getschedparam(pthread, &policy, ¶m); in child1() 47 ret = pthread_getschedparam(pthread, &newPolicy, ¶m); in child1() 49 printf("pthread_getschedparam failed ! %d error: %d\n", __LINE__, errno); in child1() 54 printf("pthread_getschedparam failed ! %d policy %d newPolicy %d pri %d param.sched_priority :%d\n", in child1()
|
H A D | pthread_test_021.cpp | 40 ret = pthread_getschedparam(pthread_self(), & currPolicy, &currSchedParam); in ThreadFuncTest() 85 ret = pthread_getschedparam(pthread_self(), & currPolicy, &currSchedParam); in ChildProcess()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
H A D | pthread_mutex_test_003.cpp | 53 ret = pthread_getschedparam(pthread_self(), &currThreadPolicy, ¶m); in ThreadFuncTest3() 88 ret = pthread_getschedparam(pthread_self(), &currThreadPolicy, ¶m); in Testcase()
|
/kernel/liteos_m/testsuites/sample/posix/pthread/ |
H A D | It_posix_pthread_022.c | 50 ret = pthread_getschedparam(pthread_self(), &policy, &sparam); in PthreadF01()
|