/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
H A D | It_posix_pthread_052.cpp | 42 result = pthread_getspecific(g_key); in pthread_f01() 45 ret = pthread_setspecific(g_key, (void *)&temp); in pthread_f01() 50 ret = *((UINT32 *)pthread_getspecific(g_key)); in pthread_f01() 68 result = pthread_getspecific(g_key); in pthread_f02() 71 ret = pthread_setspecific(g_key, (void *)&temp); in pthread_f02() 76 ret = *((UINT32 *)pthread_getspecific(g_key)); in pthread_f02() 95 result = pthread_getspecific(g_key); in PthreadF03() 98 ret = pthread_setspecific(g_key, (void *)temp); in PthreadF03() 103 temp1 = (char *)pthread_getspecific(g_key); in PthreadF03() 126 ret = pthread_key_create(&g_key, PthreadKeyF0 in Testcase() [all...] |
H A D | It_posix_pthread_226.cpp | 45 ret = pthread_setspecific(g_key, (void *)(key_value2)); in pthread_f01() 49 g_specific2 = pthread_getspecific(g_key); in pthread_f01() 62 ret = pthread_key_create(&g_key, NULL); in Testcase() 65 ret = pthread_setspecific(g_key, (void *)(key_value1)); in Testcase() 74 g_specific1 = pthread_getspecific(g_key); in Testcase() 79 ret = pthread_key_delete(g_key); in Testcase()
|
H A D | It_posix_pthread_053.cpp | 44 result = pthread_getspecific(g_key); in pthread_f01() 53 ret = pthread_setspecific(g_key, (void *)&temp); in pthread_f01() 62 ret = *((UINT32 *)pthread_getspecific(g_key)); in pthread_f01() 88 result = pthread_getspecific(g_key); in pthread_f02() 97 ret = pthread_setspecific(g_key, (void *)&temp); in pthread_f02() 106 ret = *((UINT32 *)pthread_getspecific(g_key)); in pthread_f02() 134 ret = pthread_key_create(&g_key, PthreadKeyF01); in Testcase() 154 result = pthread_getspecific(g_key); in Testcase() 169 ret = pthread_key_delete(g_key); in Testcase()
|
H A D | It_posix_pthread_055.cpp | 41 ret = pthread_setspecific(g_key, (void *)&temp); in pthread_f01() 46 ret = *((UINT32 *)pthread_getspecific(g_key)); in pthread_f01() 70 ret = pthread_key_create(&g_key, PthreadKeyF01); in Testcase() 86 ret = pthread_key_delete(g_key); in Testcase()
|
H A D | It_posix_pthread_054.cpp | 41 ret = pthread_setspecific(g_key, (void *)&temp); in pthread_f01() 46 ret = *((UINT32 *)pthread_getspecific(g_key)); in pthread_f01() 70 ret = pthread_key_create(&g_key, PthreadKeyF01); in Testcase() 82 ret = pthread_key_delete(g_key); in Testcase()
|
H A D | It_posix_pthread_224.cpp | 39 ret = pthread_key_delete(g_key); in pthread_f02() 48 ret = pthread_setspecific(g_key, (void *)(keyValue)); in pthread_f01() 65 ret = pthread_key_create(&g_key, pthread_f02); in Testcase()
|
H A D | It_posix_pthread_233.cpp | 84 ret = pthread_key_delete(g_key); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
H A D | It_posix_pthread_226.c | 50 /* Bind a value to g_key for this thread (this will be different from the value in PthreadF01() 52 ret = pthread_setspecific(g_key, (void *)(g_keyValue2)); in PthreadF01() 55 /* Get the bound value of the g_key that we just set. */ in PthreadF01() 56 g_specific2 = pthread_getspecific(g_key); in PthreadF01() 68 ret = pthread_key_create(&g_key, NULL); in Testcase() 71 ret = pthread_setspecific(g_key, (void *)(g_keyValue1)); in Testcase() 80 g_specific1 = pthread_getspecific(g_key); in Testcase()
|
H A D | It_posix_pthread_219.c | 42 pthread_key_t g_key; in Testcase() local 46 specific = pthread_getspecific(g_key); in Testcase() 49 ret = pthread_key_create(&g_key, NULL); in Testcase() 52 specific = pthread_getspecific(g_key); in Testcase()
|
H A D | It_posix_pthread_233.c | 47 pthread_key_t g_key; in PthreadF01() local 54 ret = pthread_key_create(&g_key, PthreadF02); in PthreadF01() 57 ret = pthread_setspecific(g_key, &value); in PthreadF01()
|
H A D | It_posix_pthread_224.c | 52 ret = pthread_setspecific(g_key, (void *)(keyValue)); in PthreadF01() 67 ret = pthread_key_create(&g_key, PthreadF02); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/smoke/ |
H A D | It_posix_pthread_020.cpp | 46 ret = pthread_key_create(&g_key, PthreadKeyF01); in Testcase() 49 ret = pthread_setspecific(g_key, &temp); // �����ɹ���key���� in Testcase() 52 ret = *((UINT32 *)pthread_getspecific(g_key)); in Testcase() 55 ret = pthread_key_delete(g_key); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/ |
H A D | It_posix_pthread.h | 182 extern pthread_key_t g_key;
|
H A D | It_posix_pthread.c | 42 pthread_key_t g_key; variable
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/ |
H A D | It_posix_pthread.h | 187 extern pthread_key_t g_key;
|
H A D | posix_pthread_test.cpp | 38 pthread_key_t g_key; variable
|