Lines Matching refs:sKey
32 pthread_key_t egl_tls_t::sKey = -1;
62 if (sKey == -1) {
64 if (sKey == -1)
65 pthread_key_create(&sKey, NULL);
100 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey);
103 pthread_setspecific(sKey, tls);
109 if (sKey != -1) {
110 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey);
113 pthread_setspecific(sKey, 0);
125 if (sKey == -1)
127 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey);
140 if (sKey == -1)
142 egl_tls_t* tls = (egl_tls_t *)pthread_getspecific(sKey);