Lines Matching refs:slot
16 void ThreadLocalPlatform::AllocateSlot(SlotType& slot) {
17 slot = TlsAlloc();
18 CHECK_NE(slot, TLS_OUT_OF_INDEXES);
22 void ThreadLocalPlatform::FreeSlot(SlotType& slot) {
23 if (!TlsFree(slot)) {
24 NOTREACHED() << "Failed to deallocate tls slot with TlsFree().";
29 void* ThreadLocalPlatform::GetValueFromSlot(SlotType& slot) {
30 return TlsGetValue(slot);
34 void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) {
35 if (!TlsSetValue(slot, value)) {