Lines Matching refs:globalkey
174 static pthread_key_t globalkey; variable
184 static DWORD globalkey = TLS_OUT_OF_INDEXES; variable
195 int32 globalkey = 0; variable
703 void *globalval = tls_get(globalkey); in xmlGlobalStateCleanup()
732 pthread_getspecific(globalkey)) == NULL) { in xmlGetGlobalState()
737 pthread_setspecific(globalkey, tsd); in xmlGetGlobalState()
754 globalval = (xmlGlobalState *) TlsGetValue(globalkey); in xmlGetGlobalState()
756 p = (xmlGlobalStateCleanupHelperParams *) TlsGetValue(globalkey); in xmlGetGlobalState()
777 TlsSetValue(globalkey, tsd); in xmlGetGlobalState()
787 TlsSetValue(globalkey, p); in xmlGetGlobalState()
800 if ((globalval = (xmlGlobalState *) tls_get(globalkey)) == NULL) { in xmlGetGlobalState()
805 tls_set(globalkey, tsd); in xmlGetGlobalState()
996 pthread_key_delete(globalkey); in xmlCleanupThreads()
999 if (globalkey != TLS_OUT_OF_INDEXES) { in xmlCleanupThreads()
1013 TlsFree(globalkey); in xmlCleanupThreads()
1014 globalkey = TLS_OUT_OF_INDEXES; in xmlCleanupThreads()
1036 (void) pthread_key_create(&globalkey, xmlFreeGlobalState); in xmlOnceInit()
1043 globalkey = TlsAlloc(); in xmlOnceInit()
1057 globalkey = tls_allocate(); in xmlOnceInit()
1058 tls_set(globalkey, NULL); in xmlOnceInit()
1102 if (globalkey != TLS_OUT_OF_INDEXES) {
1106 TlsGetValue(globalkey);
1110 TlsSetValue(globalkey, NULL);