Lines Matching refs:globalkey
146 static pthread_key_t globalkey; variable
156 static DWORD globalkey = TLS_OUT_OF_INDEXES; variable
167 int32 globalkey = 0; variable
644 void *globalval = tls_get(globalkey); in xmlGlobalStateCleanup()
670 pthread_getspecific(globalkey)) == NULL) { in xmlGetGlobalState()
675 pthread_setspecific(globalkey, tsd); in xmlGetGlobalState()
692 globalval = (xmlGlobalState *) TlsGetValue(globalkey); in xmlGetGlobalState()
694 p = (xmlGlobalStateCleanupHelperParams *) TlsGetValue(globalkey); in xmlGetGlobalState()
715 TlsSetValue(globalkey, tsd); in xmlGetGlobalState()
725 TlsSetValue(globalkey, p); in xmlGetGlobalState()
738 if ((globalval = (xmlGlobalState *) tls_get(globalkey)) == NULL) { in xmlGetGlobalState()
743 tls_set(globalkey, tsd); in xmlGetGlobalState()
918 pthread_key_delete(globalkey); in xmlCleanupThreads()
921 if (globalkey != TLS_OUT_OF_INDEXES) { in xmlCleanupThreads()
935 TlsFree(globalkey); in xmlCleanupThreads()
936 globalkey = TLS_OUT_OF_INDEXES; in xmlCleanupThreads()
957 (void) pthread_key_create(&globalkey, xmlFreeGlobalState); in xmlOnceInit()
964 globalkey = TlsAlloc(); in xmlOnceInit()
978 globalkey = tls_allocate(); in xmlOnceInit()
979 tls_set(globalkey, NULL); in xmlOnceInit()
1011 if (globalkey != TLS_OUT_OF_INDEXES) { in xmlDllMain()
1015 TlsGetValue(globalkey); in xmlDllMain()
1019 TlsSetValue(globalkey, NULL); in xmlDllMain()