Home
last modified time | relevance | path

Searched refs:g_key (Results 1 - 16 of 16) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_052.cpp42 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 DIt_posix_pthread_226.cpp45 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 DIt_posix_pthread_053.cpp44 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 DIt_posix_pthread_055.cpp41 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 DIt_posix_pthread_054.cpp41 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 DIt_posix_pthread_224.cpp39 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 DIt_posix_pthread_233.cpp84 ret = pthread_key_delete(g_key); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_226.c50 /* 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 DIt_posix_pthread_219.c42 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 DIt_posix_pthread_233.c47 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 DIt_posix_pthread_224.c52 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 DIt_posix_pthread_020.cpp46 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 DIt_posix_pthread.h182 extern pthread_key_t g_key;
H A DIt_posix_pthread.c42 pthread_key_t g_key; variable
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/
H A DIt_posix_pthread.h187 extern pthread_key_t g_key;
H A Dposix_pthread_test.cpp38 pthread_key_t g_key; variable

Completed in 7 milliseconds