/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
D | It_posix_pthread_007.c | 64 ret = pthread_create(NULL, &attr, PthreadF01, NULL); in Testcase() 67 ret = pthread_create(&newTh, NULL, PthreadF01, (void *)&uwint); in Testcase() 76 ret = pthread_create(&newTh, &attr, NULL, (void *)8); // 8, test for invalid param. in Testcase() 79 ret = pthread_create(&newTh, &attr, PthreadF01, NULL); in Testcase() 89 ret = pthread_create(&newTh, &attr, PthreadF01, (void *)&cc); in Testcase() 98 ret = pthread_create(&newTh, &attr, PthreadF01, (void *)str); in Testcase()
|
D | It_posix_pthread_035.c | 99 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase() 102 ret = pthread_create(&newTh2, NULL, PthreadF02, NULL); in Testcase() 105 ret = pthread_create(&newTh3, NULL, PthreadF03, NULL); in Testcase()
|
D | It_posix_pthread_034.c | 98 ret = pthread_create(&newTh, NULL, PthreadF01, NULL); in Testcase() 101 ret = pthread_create(&newTh2, NULL, PthreadF02, NULL); in Testcase() 104 ret = pthread_create(&newTh3, NULL, PthreadF03, NULL); in Testcase()
|
D | It_posix_pthread_032.c | 98 ret = pthread_create(&g_newTh, &attr, PthreadF01, NULL); in Testcase() 101 ret = pthread_create(&newTh, &attr, PthreadF02, NULL); in Testcase() 104 ret = pthread_create(&g_newTh2, &attr, PthreadF03, NULL); in Testcase()
|
/kernel/liteos_m/testsuites/unittest/xts/process/ |
D | pthread_basic_api_test.c | 62 ret = pthread_create(&tid, NULL, ThreadPthreadCreateBasic, (void*)str); 80 ret = pthread_create(&tid, NULL, ThreadPublic, (void*)&num); 99 ret = pthread_create(&tid, NULL, ThreadPublic, NULL); 124 ret = pthread_create(&tid, NULL, ThreadPthreadExitThread, (void*)&num); 155 ret = pthread_create(&tid, NULL, ThreadPthreadExitFunction, (void*)&num); 173 ret = pthread_create(&tid, NULL, ThreadPublic, NULL); 201 ret = pthread_create(&tid, NULL, ThreadPthreadEqual, (void*)&tid);
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
D | It_posix_pthread_007.cpp | 56 ret = pthread_create(&newTh, NULL, pthread_f01, (void *)&uwint); in Testcase() 65 ret = pthread_create(&newTh, &attr, NULL, (void *)8); in Testcase() 68 ret = pthread_create(&newTh, &attr, pthread_f01, NULL); in Testcase() 78 ret = pthread_create(&newTh, &attr, pthread_f01, (void *)&cc); in Testcase() 88 ret = pthread_create(&newTh, &attr, pthread_f01, (void *)str); in Testcase()
|
D | It_posix_pthread_034.cpp | 91 ret = pthread_create(&newTh, NULL, pthread_f01, NULL); in Testcase() 94 ret = pthread_create(&newTh2, NULL, pthread_f02, NULL); in Testcase() 97 ret = pthread_create(&newTh3, NULL, PthreadF03, NULL); in Testcase()
|
D | It_posix_pthread_035.cpp | 102 ret = pthread_create(&newTh, NULL, pthread_f01, NULL); in Testcase() 105 ret = pthread_create(&newTh2, NULL, pthread_f02, NULL); in Testcase() 108 ret = pthread_create(&newTh3, NULL, PthreadF03, NULL); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
D | pthread_mutex_test_003.cpp | 103 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase() 110 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase() 117 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase() 123 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase() 129 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase() 135 ret = pthread_create(&newPthread, &a, ThreadFuncTest3, 0); in Testcase()
|
D | pthread_mutex_test_020.cpp | 164 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest0, 0); in Testcase() 168 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest0, 0); in Testcase() 173 ret = pthread_create(&newPthread[threadCount], &a, ThreadFuncTest1, 0); in Testcase() 180 ret = pthread_create(&newPthread1, nullptr, ThreadFuncTest2, 0); in Testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 474 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1a, &ctx), 0); in TEST() 475 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry1, &ctx), 0); in TEST() 517 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1a, &ctx), 0); in TEST() 518 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry1, &ctx), 0); in TEST() 564 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry2a, &ctx), 0); in TEST() 565 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry2, &ctx), 0); in TEST() 613 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1a, &ctx), 0); in TEST() 614 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry2, &ctx), 0); in TEST() 658 ASSERT_EQ(pthread_create(&ctx.waiter, NULL, waiter_entry1ap, &ctx), 0); in TEST() 659 ASSERT_EQ(pthread_create(&emitter, NULL, emitter_entry1, &ctx), 0); in TEST() [all …]
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
D | pthread_test_007.cpp | 96 pthread_create(&g_th, &attr, PthreadTest115, NULL); in Testcase() 99 pthread_create(&th1, &attr, PthreadFunc1115, NULL); in Testcase() 100 pthread_create(&th2, &attr, PthreadFunc2115, NULL); in Testcase() 101 pthread_create(&th3, &attr, PthreadFunc3115, NULL); in Testcase()
|
D | pthread_test_008.cpp | 96 pthread_create(&g_th, &attr, PthreadTest115, NULL); in Testcase() 99 pthread_create(&th1, &attr, PthreadFunc1115, NULL); in Testcase() 100 pthread_create(&th2, &attr, PthreadFunc2115, NULL); in Testcase() 101 pthread_create(&th3, &attr, PthreadFunc3115, NULL); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
D | process_test_041.cpp | 58 ret = pthread_create(&pthread[i], &a, Thread, NULL); in GroupProcess() 68 pthread_create(&pthread[100], &a, Thread, NULL); // 100, pthread array subscript in GroupProcess() 69 pthread_create(&pthread[100], &a, Thread, NULL); // 100, pthread array subscript in GroupProcess() 70 pthread_create(&pthread[100], &a, Thread, NULL); // 100, pthread array subscript in GroupProcess()
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
D | iteration_check.c | 178 if (pthread_create(&threads[0], NULL, tagged_iteration_fn, NULL)) { in iteration_test() 182 if (pthread_create(&threads[1], NULL, untagged_iteration_fn, NULL)) { in iteration_test() 186 if (pthread_create(&threads[2], NULL, add_entries_fn, NULL)) { in iteration_test() 190 if (pthread_create(&threads[3], NULL, remove_entries_fn, NULL)) { in iteration_test() 194 if (pthread_create(&threads[4], NULL, tag_entries_fn, NULL)) { in iteration_test()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
D | pkey_siginfo.c | 301 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test() 302 FAIL_IF(pthread_create(&pacc_thread, &attr, &protect_access, &r) != 0); in test() 309 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test() 310 FAIL_IF(pthread_create(&pacc_thread, &attr, &protect_access, &r) != 0); in test() 317 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test() 318 FAIL_IF(pthread_create(&pacc_thread, &attr, &protect_access, &r) != 0); in test()
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/ |
D | pthread_test_001.cpp | 164 ret = pthread_create(&newPthread, &a, ThreadFunc2, 0); in ThreadFunc() 178 ret = pthread_create(&newPthread, &a, ThreadFunc3, 0); in ThreadFunc() 193 ret = pthread_create(&newPthread, &a, ThreadFunc4, 0); in ThreadFunc() 232 ret = pthread_create(&newPthread, &a, ThreadFunc, 0); in PthreadTest001() 238 ret = pthread_create(&newPthread1, &a, ThreadFunc5, 0); in PthreadTest001() 258 ret = pthread_create(&newPthread1, &a, ThreadFunc6, 0); in PthreadTest001()
|
D | pthread_test_004.cpp | 77 ret = pthread_create(&newPthread, &a, ThreadFunc8, 0); in ThreadFunc7() 112 ret = pthread_create(&newPthread, &a, ThreadFunc7, 0); in ThreadFunc5() 245 ret = pthread_create(&newPthread, &a, threadFunc2, 0); in threadFunc() 263 ret = pthread_create(&newPthread, &a, ThreadFunc3, 0); in threadFunc() 287 ret = pthread_create(&newPthread, &a, ThreadFunc4, 0); in threadFunc() 337 ret = pthread_create(&newPthread, &a, threadFunc, 0); in PthreadTest004() 344 ret = pthread_create(&newPthread1, &a, ThreadFunc5, 0); in PthreadTest004() 372 ret = pthread_create(&newPthread1, &a, ThreadFunc6, 0); in PthreadTest004()
|
D | pthread_test_014.cpp | 118 ret = pthread_create(&tid, NULL, ThreadFunc, 0); in TestCase() 121 ret = pthread_create(&tid1, NULL, ThreadFunc1, 0); in TestCase() 124 ret = pthread_create(&tid2, NULL, ThreadFunc2, 0); in TestCase() 127 ret = pthread_create(&tid3, NULL, ThreadFunc3, 0); in TestCase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
D | process_test_012.cpp | 53 ret = pthread_create(&newPthread, NULL, ThreadFunc2, NULL); in ThreadFunc001() 92 ret = pthread_create(&newPthread, &a, ThreadFunc001, 0); in ThreadFunc() 114 ret = pthread_create(&newPthread, NULL, ThreadFunc, NULL); in TestCase()
|
/kernel/liteos_m/testsuites/sample/posix/ |
D | pthread_func_test.c | 94 ret = pthread_create(&newTh, &attr, PthreadJoinF01, NULL); 139 ret = pthread_create(&newTh, &attr, PthreadJoinF02, NULL); 186 ret = pthread_create(&newTh, &attr, PthreadJoinF03, NULL); 233 ret = pthread_create(&newTh, &attr, PthreadJoinF04, NULL); 282 ret = pthread_create(&newTh, &attr, PthreadJoinF05, NULL); 346 ret = pthread_create(&thread[i], &attr, PthreadCondFunc001, NULL); in PthreadFunc06() 403 ret = pthread_create(&newTh, &attr, PthreadFunc06, NULL); 467 ret = pthread_create(&thread[i], &attr, PthreadCondFunc002, NULL); in PthreadFunc07() 512 ret = pthread_create(&newTh, &attr, PthreadFunc07, NULL); 610 ret = pthread_create(&newTh1, &attr, PthreadFunc08, NULL); [all …]
|
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
D | signal_test_013.cpp | 109 ret = pthread_create(&thread1, NULL, ThreadSetDfl, 0); in TestSigMultiPthread() 113 ret = pthread_create(&thread2, NULL, ThreadSetFunc2, 0); in TestSigMultiPthread() 117 ret = pthread_create(&thread, NULL, ThreadKill, 0); in TestSigMultiPthread()
|
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/ |
D | pthread_cond_func_test.c | 111 ret = pthread_create(&newTh, &attr, pthread_join_f01, NULL); 156 ret = pthread_create(&newTh, &attr, pthread_join_f02, NULL); 203 ret = pthread_create(&newTh, &attr, pthread_join_f03, NULL); 250 ret = pthread_create(&newTh, &attr, pthread_join_f04, NULL); 299 ret = pthread_create(&newTh, &attr, pthread_join_f05, NULL); 363 ret = pthread_create(&thread[i], &attr, pthread_cond_func001, NULL); in pthread_f06() 420 ret = pthread_create(&newTh, &attr, pthread_f06, NULL); 482 ret = pthread_create(&thread[i], &attr, pthread_cond_func002, NULL); in pthread_f07() 530 ret = pthread_create(&newTh, &attr, pthread_f07, NULL); 628 ret = pthread_create(&newTh1, &attr, pthread_f08, NULL); [all …]
|
/kernel/liteos_m/testsuites/sample/posix/mutex/ |
D | It_posix_mutex_043.c | 93 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase() 99 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase() 105 ret = pthread_create(&newTh3, &attr3, TaskF03, NULL); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/ |
D | It_posix_mutex_079.c | 98 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase() 104 ret = pthread_create(&newTh2, &attr2, TaskF02, NULL); in Testcase() 110 ret = pthread_create(&newTh3, &attr3, TaskF03, NULL); in Testcase()
|