/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
H A D | It_posix_pthread_007.cpp | 49 UINTPTR uwtemp; in Testcase() local 61 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 63 ICUNIT_ASSERT_EQUAL(*((UINT32 *)uwtemp), 8, *((UINT32 *)uwtemp)); in Testcase() 74 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 76 ICUNIT_ASSERT_EQUAL((UINT32)uwtemp, 0, (UINT32)uwtemp); in Testcase() 84 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 86 ICUNIT_ASSERT_EQUAL(*((char *)uwtemp), 97, *((char *)uwtemp)); in Testcase() [all...] |
H A D | It_posix_pthread_060.cpp | 64 UINTPTR uwtemp = 1; in Testcase() local 77 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 79 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase() 81 ret = pthread_join(g_newTh, (void **)&uwtemp); in Testcase() 83 ICUNIT_ASSERT_EQUAL(uwtemp, 8, uwtemp); in Testcase()
|
H A D | It_posix_pthread_010.cpp | 45 UINTPTR uwtemp = 1; in Testcase() local 54 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 56 ICUNIT_ASSERT_EQUAL(uwtemp, 8, uwtemp); in Testcase() 58 uwtemp = TestPthreadSelf(); in Testcase() 59 ret = pthread_equal(uwtemp, g_testCount); in Testcase()
|
H A D | It_posix_pthread_091.cpp | 81 UINTPTR uwtemp = 1; in Testcase() local 100 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 103 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase() 105 ret = pthread_join(newTh2, (void **)&uwtemp); in Testcase() 108 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase()
|
H A D | It_posix_pthread_057.cpp | 71 UINTPTR uwtemp = 1; in PthreadF03() local 80 ret = pthread_join(g_newTh, (void **)&uwtemp); in PthreadF03() 82 ICUNIT_ASSERT_EQUAL_NULL(uwtemp, (UINTPTR)PTHREAD_CANCELED, (void *)uwtemp); in PthreadF03() 84 ret = pthread_join(g_newTh2, (void **)&uwtemp); in PthreadF03() 87 ICUNIT_ASSERT_NOT_EQUAL_NULL(uwtemp, (UINTPTR)PTHREAD_CANCELED, (void *)uwtemp); in PthreadF03()
|
H A D | It_posix_pthread_025.cpp | 57 UINTPTR uwtemp = 1; in Testcase() local 66 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 68 ICUNIT_ASSERT_EQUAL(uwtemp, 8, uwtemp); in Testcase()
|
H A D | It_posix_pthread_023.cpp | 59 UINTPTR uwtemp = 1; in Testcase() local 68 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 70 ICUNIT_ASSERT_EQUAL(uwtemp, 9, uwtemp); in Testcase()
|
H A D | It_posix_pthread_030.cpp | 47 UINTPTR uwtemp = 1; in Testcase() local 59 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 61 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase()
|
H A D | It_posix_pthread_029.cpp | 45 UINTPTR uwtemp = 1; in Testcase() local 54 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 56 ICUNIT_ASSERT_EQUAL(uwtemp, 8, uwtemp); in Testcase()
|
H A D | It_posix_pthread_028.cpp | 45 UINTPTR uwtemp = 1; in Testcase() local 54 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 56 ICUNIT_ASSERT_EQUAL(uwtemp, 9, uwtemp); in Testcase()
|
H A D | It_posix_pthread_031.cpp | 48 UINTPTR uwtemp = 1; in Testcase() local 57 ret = pthread_join(g_newTh, (void **)&uwtemp); in Testcase() 59 ICUNIT_ASSERT_EQUAL(uwtemp, 9, uwtemp); in Testcase()
|
H A D | It_posix_pthread_026.cpp | 58 UINTPTR uwtemp = 1; in Testcase() local 70 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 72 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase()
|
H A D | It_posix_pthread_027.cpp | 63 UINTPTR uwtemp = 1; in Testcase() local 72 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 74 ICUNIT_ASSERT_EQUAL(uwtemp, 8, uwtemp); in Testcase()
|
H A D | It_posix_pthread_061.cpp | 59 UINTPTR uwtemp = 1; in Testcase() local 72 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 74 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase()
|
H A D | It_posix_pthread_059.cpp | 51 UINTPTR uwtemp = 1; in Testcase() local 64 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 66 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase()
|
H A D | It_posix_pthread_063.cpp | 60 UINTPTR uwtemp = 1; in Testcase() local 73 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 75 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase()
|
H A D | It_posix_pthread_062.cpp | 55 UINTPTR uwtemp = 1; in Testcase() local 72 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 74 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase()
|
H A D | It_posix_pthread_035.cpp | 98 UINTPTR uwtemp = 1; in Testcase() local 117 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 120 ret = pthread_join(newTh2, (void **)&uwtemp); in Testcase() 123 ret = pthread_join(newTh3, (void **)&uwtemp); in Testcase()
|
H A D | It_posix_pthread_034.cpp | 87 UINTPTR uwtemp = 1; in Testcase() local 103 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 106 ret = pthread_join(newTh2, (void **)&uwtemp); in Testcase() 109 ret = pthread_join(newTh3, (void **)&uwtemp); in Testcase()
|
H A D | It_posix_pthread_066.cpp | 95 UINTPTR uwtemp = 1; in Testcase() local 115 ret = pthread_join(g_newTh, (void **)&uwtemp); in Testcase() 117 ICUNIT_ASSERT_EQUAL(uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in Testcase()
|
H A D | It_posix_pthread_052.cpp | 122 UINTPTR uwtemp = 1; in Testcase() local 141 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 144 ret = pthread_join(newTh2, (void **)&uwtemp); in Testcase() 147 ret = pthread_join(newTh3, (void **)&uwtemp); in Testcase()
|
H A D | It_posix_pthread_055.cpp | 66 UINTPTR uwtemp = 1; in Testcase() local 83 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/smoke/ |
H A D | It_posix_pthread_022.cpp | 58 UINTPTR *uwtemp = NULL; in TestCase() local 74 ret = pthread_join(newTh, (void **)&uwtemp); in TestCase() 76 ICUNIT_ASSERT_EQUAL((UINTPTR)uwtemp, (UINTPTR)PTHREAD_CANCELED, uwtemp); in TestCase() 88 ret = pthread_join(newTh, (void **)&uwtemp); in TestCase() 90 ICUNIT_ASSERT_EQUAL((UINTPTR)uwtemp, 8, uwtemp); in TestCase()
|
H A D | It_posix_pthread_018.cpp | 44 UINTPTR uwtemp; in Testcase() local 82 ret = pthread_join(newTh, (void **)&uwtemp); in Testcase() 84 ICUNIT_ASSERT_EQUAL(uwtemp, 9, uwtemp); in Testcase()
|
/kernel/liteos_m/testsuites/sample/kernel/task/ |
H A D | It_los_task_118.c | 45 UINTPTR uwtemp = 1;
in TestCase() local 59 ret = LOS_TaskJoin(taskID, &uwtemp);
in TestCase() 61 ICUNIT_ASSERT_EQUAL(uwtemp, 9, uwtemp); /* 8: pthread exit code */
in TestCase()
|