Searched refs:OS_TLSIndex (Results 1 – 11 of 11) sorted by relevance
52 typedef DWORD OS_TLSIndex; typedef55 typedef pthread_key_t OS_TLSIndex; typedef56 #define OS_INVALID_TLS_INDEX (static_cast<OS_TLSIndex>(-1))59 OS_TLSIndex OS_AllocTLSIndex();60 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue);61 bool OS_FreeTLSIndex(OS_TLSIndex nIndex);63 inline void* OS_GetTLSValue(OS_TLSIndex nIndex) in OS_GetTLSValue()
27 OS_TLSIndex OS_AllocTLSIndex() in OS_AllocTLSIndex()44 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) in OS_SetTLSValue()58 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) in OS_FreeTLSIndex()
28 OS_TLSIndex OS_AllocTLSIndex() in OS_AllocTLSIndex()40 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) in OS_SetTLSValue()54 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) in OS_FreeTLSIndex()
19 OS_TLSIndex GlobalParseContextIndex = OS_INVALID_TLS_INDEX;
26 OS_TLSIndex PoolIndex = OS_INVALID_TLS_INDEX;
56 inline OS_TLSIndex ToGenericTLSIndex (DWORD handle) in ToGenericTLSIndex()58 return (OS_TLSIndex)((uintptr_t)handle + 1); in ToGenericTLSIndex()61 inline DWORD ToNativeTLSIndex (OS_TLSIndex nIndex) in ToNativeTLSIndex()69 OS_TLSIndex OS_AllocTLSIndex() in OS_AllocTLSIndex()80 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) in OS_SetTLSValue()93 void* OS_GetTLSValue(OS_TLSIndex nIndex) in OS_GetTLSValue()99 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) in OS_FreeTLSIndex()
105 inline OS_TLSIndex PthreadKeyToTLSIndex(pthread_key_t key) in PthreadKeyToTLSIndex()107 return (OS_TLSIndex)((uintptr_t)key + 1); in PthreadKeyToTLSIndex()110 inline pthread_key_t TLSIndexToPthreadKey(OS_TLSIndex nIndex) in TLSIndexToPthreadKey()115 OS_TLSIndex OS_AllocTLSIndex() in OS_AllocTLSIndex()130 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) in OS_SetTLSValue()143 void* OS_GetTLSValue(OS_TLSIndex nIndex) in OS_GetTLSValue()152 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) in OS_FreeTLSIndex()
33 DE_STATIC_ASSERT(sizeof(deThreadLocal) == sizeof(OS_TLSIndex));38 OS_TLSIndex OS_AllocTLSIndex (void) in OS_AllocTLSIndex()40 return (OS_TLSIndex)deThreadLocal_create(); in OS_AllocTLSIndex()43 bool OS_SetTLSValue (OS_TLSIndex nIndex, void* lpvValue) in OS_SetTLSValue()49 bool OS_FreeTLSIndex (OS_TLSIndex nIndex) in OS_FreeTLSIndex()55 void* OS_GetTLSValue (OS_TLSIndex nIndex) in OS_GetTLSValue()
43 typedef void* OS_TLSIndex; typedef46 OS_TLSIndex OS_AllocTLSIndex();47 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue);48 bool OS_FreeTLSIndex(OS_TLSIndex nIndex);49 void* OS_GetTLSValue(OS_TLSIndex nIndex);
46 OS_TLSIndex ThreadInitializeIndex = OS_INVALID_TLS_INDEX;
44 OS_TLSIndex PoolIndex;