Lines Matching refs:globalkey
142 * - globalkey used for per-thread data
146 static pthread_key_t globalkey;
155 static DWORD globalkey = TLS_OUT_OF_INDEXES;
166 int32 globalkey = 0;
643 void *globalval = tls_get(globalkey);
669 pthread_getspecific(globalkey)) == NULL) {
674 globalkey, tsd);
691 globalval = (xmlGlobalState *) TlsGetValue(globalkey);
693 p = (xmlGlobalStateCleanupHelperParams *) TlsGetValue(globalkey);
714 TlsSetValue(globalkey, tsd);
724 TlsSetValue(globalkey, p);
737 if ((globalval = (xmlGlobalState *) tls_get(globalkey)) == NULL) {
742 tls_set(globalkey, tsd);
917 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);
961 globalkey = TlsAlloc();
974 globalkey = tls_allocate();
975 tls_set(globalkey, NULL);
1006 if (globalkey != TLS_OUT_OF_INDEXES) {
1010 TlsGetValue(globalkey);
1014 TlsSetValue(globalkey, NULL);