Lines Matching defs:globalkey
142 * - globalkey used for per-thread data
146 static pthread_key_t globalkey;
156 static DWORD globalkey = TLS_OUT_OF_INDEXES;
167 int32 globalkey = 0;
642 void *globalval = tls_get(globalkey);
668 pthread_getspecific(globalkey)) == NULL) {
673 pthread_setspecific(globalkey, tsd);
690 globalval = (xmlGlobalState *) TlsGetValue(globalkey);
692 p = (xmlGlobalStateCleanupHelperParams *) TlsGetValue(globalkey);
713 TlsSetValue(globalkey, tsd);
723 TlsSetValue(globalkey, p);
736 if ((globalval = (xmlGlobalState *) tls_get(globalkey)) == NULL) {
741 tls_set(globalkey, tsd);
916 pthread_key_delete(globalkey);
919 if (globalkey != TLS_OUT_OF_INDEXES) {
933 TlsFree(globalkey);
934 globalkey = TLS_OUT_OF_INDEXES;
955 (void) pthread_key_create(&globalkey, xmlFreeGlobalState);
962 globalkey = TlsAlloc();
976 globalkey = tls_allocate();
977 tls_set(globalkey, NULL);
1009 if (globalkey != TLS_OUT_OF_INDEXES) {
1013 TlsGetValue(globalkey);
1017 TlsSetValue(globalkey, NULL);