Lines Matching refs:globalkey
148 static pthread_key_t globalkey; variable
157 static DWORD globalkey = TLS_OUT_OF_INDEXES; variable
168 int32 globalkey = 0; variable
642 void *globalval = tls_get(globalkey); in xmlGlobalStateCleanup()
668 pthread_getspecific(globalkey)) == NULL) { in xmlGetGlobalState()
673 pthread_setspecific(globalkey, tsd); in xmlGetGlobalState()
690 globalval = (xmlGlobalState *) TlsGetValue(globalkey); in xmlGetGlobalState()
692 p = (xmlGlobalStateCleanupHelperParams *) TlsGetValue(globalkey); in xmlGetGlobalState()
713 TlsSetValue(globalkey, tsd); in xmlGetGlobalState()
723 TlsSetValue(globalkey, p); in xmlGetGlobalState()
736 if ((globalval = (xmlGlobalState *) tls_get(globalkey)) == NULL) { in xmlGetGlobalState()
741 tls_set(globalkey, tsd); in xmlGetGlobalState()
903 if (globalkey != TLS_OUT_OF_INDEXES) { in xmlCleanupThreads()
917 TlsFree(globalkey); in xmlCleanupThreads()
918 globalkey = TLS_OUT_OF_INDEXES; in xmlCleanupThreads()
923 pthread_key_delete(globalkey); in xmlCleanupThreads()
942 (void) pthread_key_create(&globalkey, xmlFreeGlobalState); in xmlOnceInit()
950 globalkey = TlsAlloc(); in xmlOnceInit()
965 globalkey = tls_allocate(); in xmlOnceInit()
966 tls_set(globalkey, NULL); in xmlOnceInit()
996 if (globalkey != TLS_OUT_OF_INDEXES) { in xmlDllMain()
1000 TlsGetValue(globalkey); in xmlDllMain()
1004 TlsSetValue(globalkey, NULL); in xmlDllMain()