Home
last modified time | relevance | path

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

/external/libchrome/base/threading/
Dthread_local_storage.cc191 TlsVectorEntry stack_allocated_tls_data[kThreadLocalStorageSize]; in ConstructTlsVector() local
192 memset(stack_allocated_tls_data, 0, sizeof(stack_allocated_tls_data)); in ConstructTlsVector()
194 PlatformThreadLocalStorage::SetTLSValue(key, stack_allocated_tls_data); in ConstructTlsVector()
198 memcpy(tls_data, stack_allocated_tls_data, sizeof(stack_allocated_tls_data)); in ConstructTlsVector()
224 TlsVectorEntry stack_allocated_tls_data[kThreadLocalStorageSize]; in OnThreadExitInternal() local
225 memcpy(stack_allocated_tls_data, tls_data, sizeof(stack_allocated_tls_data)); in OnThreadExitInternal()
229 PlatformThreadLocalStorage::SetTLSValue(key, stack_allocated_tls_data); in OnThreadExitInternal()
250 void* tls_value = stack_allocated_tls_data[slot].data; in OnThreadExitInternal()
252 stack_allocated_tls_data[slot].version != tls_metadata[slot].version) in OnThreadExitInternal()
259 stack_allocated_tls_data[slot].data = nullptr; // pre-clear the slot. in OnThreadExitInternal()