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