Home
last modified time | relevance | path

Searched refs:cups_globals_key (Results 1 – 1 of 1) sorted by relevance

/external/libcups/cups/
Dglobals.c31 static _cups_threadkey_t cups_globals_key = _CUPS_THREADKEY_INITIALIZER; variable
96 if ((cg = (_cups_globals_t *)_cupsThreadGetData(cups_globals_key)) == NULL) in _cupsGlobals()
103 _cupsThreadSetData(cups_globals_key, cg); in _cupsGlobals()
150 if ((cups_globals_key = TlsAlloc()) == TLS_OUT_OF_INDEXES) in DllMain()
155 if ((cg = (_cups_globals_t *)TlsGetValue(cups_globals_key)) != NULL) in DllMain()
160 if ((cg = (_cups_globals_t *)TlsGetValue(cups_globals_key)) != NULL) in DllMain()
163 TlsFree(cups_globals_key); in DllMain()
378 pthread_key_create(&cups_globals_key, (void (*)(void *))cups_globals_free); in cups_globals_init()