Searched refs:slot_ (Results 1 – 4 of 4) sorted by relevance
67 slot_ = InterlockedIncrement(&tls_max_) - 1; in Initialize()68 if (slot_ >= kThreadLocalStorageSize) { in Initialize()74 tls_destructors_[slot_] = destructor; in Initialize()82 tls_destructors_[slot_] = NULL; in Free()90 DCHECK(slot_ >= 0 && slot_ < kThreadLocalStorageSize); in Get()91 return tls_data[slot_]; in Get()98 DCHECK(slot_ >= 0 && slot_ < kThreadLocalStorageSize); in Set()99 tls_data[slot_] = value; in Set()
76 ThreadLocalPointer() : slot_() { in ThreadLocalPointer()77 ThreadLocalPlatform::AllocateSlot(slot_); in ThreadLocalPointer()81 ThreadLocalPlatform::FreeSlot(slot_); in ~ThreadLocalPointer()85 return static_cast<Type*>(ThreadLocalPlatform::GetValueFromSlot(slot_)); in Get()89 ThreadLocalPlatform::SetValueInSlot(slot_, ptr); in Set()95 SlotType slot_; variable
41 ScopedNSSSlot slot_; member59 if (plat_->slot_.get()) { in Init()65 plat_->slot_.reset(PK11_GetBestSlot(CKM_SHA_1_HMAC, NULL)); in Init()66 if (!plat_->slot_.get()) { in Init()76 plat_->sym_key_.reset(PK11_ImportSymKey(plat_->slot_.get(), in Init()
59 int slot_; variable