/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | pthread_key_test.cpp | 25 EXPECT_EQ(0, pthread_key_create(&pthreadKey, nullptr)); in HWTEST_F() 41 falseNum = pthread_key_create(&pthreadKey, nullptr); in HWTEST_F() 64 pthread_key_create(&pthreadKey, nullptr); in HWTEST_F() 95 EXPECT_EQ(0, pthread_key_create(&pthreadKey, nullptr)); in HWTEST_F()
|
/third_party/selinux/libselinux/src/ |
H A D | selinux_internal.h | 13 #pragma weak pthread_key_create macro 31 (pthread_key_create != NULL ? pthread_key_create(KEY, DESTRUCTOR) : -1)
|
/third_party/musl/libc-test/src/functional/ |
H A D | pthread_tsd.c | 32 TESTR(r, pthread_key_create(&k1, dtor), "failed to create key"); in main() 33 TESTR(r, pthread_key_create(&k2, dtor), "failed to create key"); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_key_create.c | 50 * @tc.desc: Verify pthread_key_create process success when second args is null. 57 int32_t ret = pthread_key_create(&g_key, NULL); in pthread_key_create_0100() 65 * @tc.desc: Verify pthread_key_create process success when second args is not null. 71 int32_t ret = pthread_key_create(&g_key, testfunc); in pthread_key_create_0200()
|
H A D | pthread_setspecific.c | 52 pthread_key_create(&g_key, NULL); in pthread_setspecific_0100() 66 pthread_key_create(&g_key, NULL); in pthread_setspecific_0200()
|
H A D | pthread_key_delete.c | 28 pthread_key_create(&key, NULL); in pthread_key_delete_0100()
|
H A D | pthread_getspecific.c | 40 pthread_key_create(&g_key, NULL); in pthread_getspecific_0100()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/ |
H A D | 2-1.c | 8 * Test that pthread_key_create() 31 if (pthread_key_create(&key, NULL) != 0) { in main() 32 printf("Error: pthread_key_create() failed\n"); in main()
|
H A D | 3-1.c | 8 * Test that pthread_key_create() 18 * 2. Use pthread_key_create() and create those keys 62 if (pthread_key_create(&key, dest_func) != 0) { in main() 63 printf("Error: pthread_key_create() failed\n"); in main()
|
H A D | 1-2.c | 8 * Test that pthread_key_create() 11 * provided by pthread_key_create() are opaque objects used to locate thread-specific data. 52 if (pthread_key_create(&keys[i], NULL) != 0) { in main() 53 printf("Error: pthread_key_create() failed\n"); in main()
|
H A D | 1-1.c | 8 * Test that pthread_key_create() 11 * provided by pthread_key_create() are opaque objects used to locate thread-specific data. 18 * 2. Use pthread_key_create() and create those keys 40 if (pthread_key_create(&keys[i], NULL) != 0) { in main() 41 printf("Error: pthread_key_create() failed\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getspecific/ |
H A D | 3-1.c | 31 if (pthread_key_create(&key, NULL) != 0) { in main() 32 printf("Error: pthread_key_create() failed\n"); in main()
|
H A D | 1-1.c | 11 * Calling pthread_getspecific() with a key value not obtained from pthread_key_create() or 37 if (pthread_key_create(&keys[i], NULL) != 0) { in main() 38 printf("Error: pthread_key_create() failed\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/ |
H A D | 1-2.c | 10 * Shall delete a thread-specific data key previously returned by pthread_key_create. The 40 if (pthread_key_create(&keys[i], NULL) != 0) { in main() 41 printf("Error: pthread_key_create() failed\n"); in main()
|
H A D | 1-1.c | 10 * Shall delete a thread-specific data key previously returned by pthread_key_create. The 39 if (pthread_key_create(&keys[i], NULL) != 0) { in main() 40 printf("Error: pthread_key_create() failed\n"); in main()
|
H A D | 2-1.c | 64 if (pthread_key_create(&key, dest_func) != 0) { in main() 65 printf("Error: pthread_key_create() failed\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/speculative/ |
H A D | 5-1.c | 10 * Test that pthread_key_create() 12 * If successful, the pthread_key_create() function shall store the newly 27 * 2. Use pthread_key_create() and create those keys 48 rc = pthread_key_create(&keys[i], NULL); in main() 69 printf("Error: pthread_key_create() failed with %d\n", rc); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setspecific/ |
H A D | 1-1.c | 11 * pthread_key_create. Different threads may bind different values to the same key. 12 * Calling pthread_setspecific with a key value not obtiained from pthread_key_create of after 38 if (pthread_key_create(&keys[i], NULL) != 0) { in main() 39 printf("Error: pthread_key_create() failed\n"); in main()
|
H A D | 1-2.c | 11 * pthread_key_create. Different threads may bind different values to the same key. 12 * Calling pthread_setspecific with a key value not obtiained from pthread_key_create of after 62 if (pthread_key_create(&key, NULL) != 0) { in main() 63 printf("Error: pthread_key_create() failed\n"); in main()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | ossource_posix.cpp | 34 if ((pthread_key_create(&pPoolIndex, NULL)) != 0) { in OS_AllocTLSIndex()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
H A D | 3-1.c | 46 rc = pthread_key_create(&key, destructor); in a_thread_func() 48 printf(ERROR_PREFIX "pthread_key_create\n"); in a_thread_func()
|
/third_party/libunwind/libunwind/tests/ |
H A D | Ltest-nocalloc.c | 119 if (pthread_key_create (&key, NULL)) in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
H A D | 2-2.c | 53 rc = pthread_key_create(&key, destructor); in a_thread_func() 55 printf(ERROR_PREFIX "pthread_key_create\n"); in a_thread_func()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceTLS.h | 67 // pthread_key_create() call, where a zero value indicates success, and a 85 FieldName##__initStatus = pthread_key_create(&FieldName##__key, nullptr); \
|
/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
H A D | deThreadLocalUnix.c | 52 if (pthread_key_create(&key, DE_NULL) != 0) in deThreadLocal_create()
|