Lines Matching refs:globalkey
134 static pthread_key_t globalkey; variable
144 static DWORD globalkey = TLS_OUT_OF_INDEXES; variable
155 int32 globalkey = 0; variable
639 void *globalval = tls_get(globalkey); in xmlGlobalStateCleanup()
665 pthread_getspecific(globalkey)) == NULL) { in xmlGetGlobalState()
670 pthread_setspecific(globalkey, tsd); in xmlGetGlobalState()
687 globalval = (xmlGlobalState *) TlsGetValue(globalkey); in xmlGetGlobalState()
689 p = (xmlGlobalStateCleanupHelperParams *) TlsGetValue(globalkey); in xmlGetGlobalState()
710 TlsSetValue(globalkey, tsd); in xmlGetGlobalState()
720 TlsSetValue(globalkey, p); in xmlGetGlobalState()
733 if ((globalval = (xmlGlobalState *) tls_get(globalkey)) == NULL) { in xmlGetGlobalState()
738 tls_set(globalkey, tsd); in xmlGetGlobalState()
915 pthread_key_delete(globalkey); in xmlCleanupThreads()
918 if (globalkey != TLS_OUT_OF_INDEXES) { in xmlCleanupThreads()
932 TlsFree(globalkey); in xmlCleanupThreads()
933 globalkey = TLS_OUT_OF_INDEXES; in xmlCleanupThreads()
954 (void) pthread_key_create(&globalkey, xmlFreeGlobalState); in xmlOnceInit()
961 globalkey = TlsAlloc(); in xmlOnceInit()
975 globalkey = tls_allocate(); in xmlOnceInit()
976 tls_set(globalkey, NULL); in xmlOnceInit()
1020 if (globalkey != TLS_OUT_OF_INDEXES) {
1024 TlsGetValue(globalkey);
1028 TlsSetValue(globalkey, NULL);