Home
last modified time | relevance | path

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

/external/chromium/base/
Dthread_local_storage_win.cc67 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()
Dthread_local.h76 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
Dhmac_nss.cc41 ScopedNSSSlot slot_; member
59 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()
Dthread_local_storage.h59 int slot_; variable