/external/chromium_org/third_party/mesa/src/src/mapi/mapi/ |
H A D | u_thread.h | 116 u_tsd_init(struct u_tsd *tsd) argument 118 if (pthread_key_create(&tsd->key, NULL/*free*/) != 0) { 122 tsd->initMagic = INIT_MAGIC; 127 u_tsd_get(struct u_tsd *tsd) argument 129 if (tsd->initMagic != INIT_MAGIC) { 130 u_tsd_init(tsd); 132 return pthread_getspecific(tsd->key); 137 u_tsd_set(struct u_tsd *tsd, void *ptr) argument 139 if (tsd->initMagic != INIT_MAGIC) { 140 u_tsd_init(tsd); 182 u_tsd_init(struct u_tsd *tsd) argument 194 u_tsd_destroy(struct u_tsd *tsd) argument 205 u_tsd_get(struct u_tsd *tsd) argument 215 u_tsd_set(struct u_tsd *tsd, void *ptr) argument 260 u_tsd_init(struct u_tsd *tsd) argument 267 u_tsd_get(struct u_tsd *tsd) argument 275 u_tsd_set(struct u_tsd *tsd, void *ptr) argument [all...] |
/external/mesa3d/src/mapi/mapi/ |
H A D | u_thread.h | 116 u_tsd_init(struct u_tsd *tsd) argument 118 if (pthread_key_create(&tsd->key, NULL/*free*/) != 0) { 122 tsd->initMagic = INIT_MAGIC; 127 u_tsd_get(struct u_tsd *tsd) argument 129 if (tsd->initMagic != INIT_MAGIC) { 130 u_tsd_init(tsd); 132 return pthread_getspecific(tsd->key); 137 u_tsd_set(struct u_tsd *tsd, void *ptr) argument 139 if (tsd->initMagic != INIT_MAGIC) { 140 u_tsd_init(tsd); 182 u_tsd_init(struct u_tsd *tsd) argument 194 u_tsd_destroy(struct u_tsd *tsd) argument 205 u_tsd_get(struct u_tsd *tsd) argument 215 u_tsd_set(struct u_tsd *tsd, void *ptr) argument 260 u_tsd_init(struct u_tsd *tsd) argument 267 u_tsd_get(struct u_tsd *tsd) argument 275 u_tsd_set(struct u_tsd *tsd, void *ptr) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/ |
H A D | glthread.h | 16 #define _glthread_InitTSD(tsd) u_tsd_init(tsd); 17 #define _glthread_DestroyTSD(tsd) u_tsd_destroy(tsd); 18 #define _glthread_GetTSD(tsd) u_tsd_get(tsd); 19 #define _glthread_SetTSD(tsd, ptr) u_tsd_set(tsd, ptr);
|
/external/mesa3d/src/mapi/glapi/ |
H A D | glthread.h | 16 #define _glthread_InitTSD(tsd) u_tsd_init(tsd); 17 #define _glthread_DestroyTSD(tsd) u_tsd_destroy(tsd); 18 #define _glthread_GetTSD(tsd) u_tsd_get(tsd); 19 #define _glthread_SetTSD(tsd, ptr) u_tsd_set(tsd, ptr);
|
/external/compiler-rt/lib/asan/ |
H A D | asan_win.cc | 43 void AsanTSDInit(void (*destructor)(void *tsd)) { argument 53 void AsanTSDSet(void *tsd) { argument 55 fake_tsd = tsd; 58 void PlatformTSDDtor(void *tsd) { argument 59 AsanThread::TSDDtor(tsd);
|
H A D | asan_posix.cc | 60 void AsanTSDInit(void (*destructor)(void *tsd)) { argument 71 void AsanTSDSet(void *tsd) { argument 73 pthread_setspecific(tsd_key, tsd); 76 void PlatformTSDDtor(void *tsd) { argument 77 AsanThreadContext *context = (AsanThreadContext*)tsd; 80 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); 83 AsanThread::TSDDtor(tsd);
|
H A D | asan_internal.h | 92 void AsanTSDInit(void (*destructor)(void *tsd)); 94 void AsanTSDSet(void *tsd); 95 void PlatformTSDDtor(void *tsd);
|
H A D | asan_thread.h | 59 static void TSDDtor(void *tsd);
|
H A D | asan_thread.cc | 89 void AsanThread::TSDDtor(void *tsd) { argument 90 AsanThreadContext *context = (AsanThreadContext*)tsd;
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | tsd_dtor_leak.cc | 1 // Regression test for a leak in tsd: 20 void Dtor(void *tsd) { argument 22 free(tsd);
|
/external/compiler-rt/lib/msan/ |
H A D | msan_linux.cc | 109 void MsanTSDInit(void (*destructor)(void *tsd)) { argument 120 void MsanTSDSet(void *tsd) { argument 122 pthread_setspecific(tsd_key, tsd); 125 void MsanTSDDtor(void *tsd) { argument 126 MsanThread *t = (MsanThread*)tsd; 129 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); 132 MsanThread::TSDDtor(tsd);
|
H A D | msan_thread.h | 25 static void TSDDtor(void *tsd);
|
H A D | msan_thread.cc | 50 void MsanThread::TSDDtor(void *tsd) { argument 51 MsanThread *t = (MsanThread*)tsd;
|
H A D | msan.h | 136 void MsanTSDInit(void (*destructor)(void *tsd)); 138 void MsanTSDSet(void *tsd); 139 void MsanTSDDtor(void *tsd);
|
/external/jemalloc/android/test/ |
H A D | run_unit.sh | 22 $test_dir/tsd
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
H A D | os_thread.h | 459 pipe_tsd_init(pipe_tsd *tsd) argument 462 if (pthread_key_create(&tsd->key, NULL/*free*/) != 0) { 469 tsd->initMagic = PIPE_TSD_INIT_MAGIC; 473 pipe_tsd_get(pipe_tsd *tsd) argument 475 if (tsd->initMagic != (int) PIPE_TSD_INIT_MAGIC) { 476 pipe_tsd_init(tsd); 479 return pthread_getspecific(tsd->key); 490 pipe_tsd_set(pipe_tsd *tsd, void *value) argument 492 if (tsd->initMagic != (int) PIPE_TSD_INIT_MAGIC) { 493 pipe_tsd_init(tsd); [all...] |
/external/mesa3d/src/gallium/auxiliary/os/ |
H A D | os_thread.h | 459 pipe_tsd_init(pipe_tsd *tsd) argument 462 if (pthread_key_create(&tsd->key, NULL/*free*/) != 0) { 469 tsd->initMagic = PIPE_TSD_INIT_MAGIC; 473 pipe_tsd_get(pipe_tsd *tsd) argument 475 if (tsd->initMagic != (int) PIPE_TSD_INIT_MAGIC) { 476 pipe_tsd_init(tsd); 479 return pthread_getspecific(tsd->key); 490 pipe_tsd_set(pipe_tsd *tsd, void *value) argument 492 if (tsd->initMagic != (int) PIPE_TSD_INIT_MAGIC) { 493 pipe_tsd_init(tsd); [all...] |
/external/chromium_org/third_party/libxml/src/ |
H A D | threads.c | 668 xmlGlobalState *tsd = xmlNewGlobalState(); local 669 if (tsd == NULL) 672 pthread_setspecific(globalkey, tsd); 673 return (tsd); 695 xmlGlobalState *tsd = xmlNewGlobalState(); 697 if (tsd == NULL) 704 xmlFreeGlobalState(tsd); 707 p->memory = tsd; 712 TlsSetValue(globalkey, tsd); 726 return (tsd); [all...] |
/external/libxml2/ |
H A D | threads.c | 669 xmlGlobalState *tsd = xmlNewGlobalState(); local 670 if (tsd == NULL) 673 pthread_setspecific(globalkey, tsd); 674 return (tsd); 696 xmlGlobalState *tsd = xmlNewGlobalState(); 698 if (tsd == NULL) 705 xmlFreeGlobalState(tsd); 708 p->memory = tsd; 713 TlsSetValue(globalkey, tsd); 727 return (tsd); [all...] |
/external/jemalloc/ |
H A D | Android.mk | 50 src/tsd.c \ 152 test/unit/tsd.c \
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | Makefile | 77 tsd.obj \ 513 tsd.obj: tsd.c $(TSD_SRCS) $(INCL)
|
/external/compiler-rt/lib/asan/tests/ |
H A D | asan_test.cc | 151 void TSDDestructor(void *tsd) { argument
|