Lines Matching refs:threadData
85 for (auto threadData : allThreadData) in DestroyTLSIndex() local
87 if (threadData->size() > index) in DestroyTLSIndex()
89 threadData->at(index) = nullptr; in DestroyTLSIndex()
111 ThreadLocalData *threadData = currentThreadData; in SetTLSValue() local
112 if (!threadData) in SetTLSValue()
114 threadData = new ThreadLocalData(index + 1, nullptr); in SetTLSValue()
115 allThreadData.insert(threadData); in SetTLSValue()
116 currentThreadData = threadData; in SetTLSValue()
118 else if (threadData->size() <= index) in SetTLSValue()
120 threadData->resize(index + 1, nullptr); in SetTLSValue()
123 threadData->at(index) = value; in SetTLSValue()
143 ThreadLocalData *threadData = currentThreadData; in GetTLSValue() local
144 if (threadData && threadData->size() > index) in GetTLSValue()
146 return threadData->at(index); in GetTLSValue()