Home
last modified time | relevance | path

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

/external/chromium/base/threading/
Dthread_local_storage_win.cc61 slot_(0) { in Slot()
70 slot_ = InterlockedIncrement(&tls_max_) - 1; in Initialize()
71 if (slot_ >= kThreadLocalStorageSize) { in Initialize()
77 tls_destructors_[slot_] = destructor; in Initialize()
85 tls_destructors_[slot_] = NULL; in Free()
93 DCHECK(slot_ >= 0 && slot_ < kThreadLocalStorageSize); in Get()
94 return tls_data[slot_]; in Get()
101 DCHECK(slot_ >= 0 && slot_ < kThreadLocalStorageSize); in Set()
102 tls_data[slot_] = value; in Set()
Dthread_local.h82 ThreadLocalPointer() : slot_() { in ThreadLocalPointer()
83 internal::ThreadLocalPlatform::AllocateSlot(slot_); in ThreadLocalPointer()
87 internal::ThreadLocalPlatform::FreeSlot(slot_); in ~ThreadLocalPointer()
92 internal::ThreadLocalPlatform::GetValueFromSlot(slot_)); in Get()
96 internal::ThreadLocalPlatform::SetValueInSlot(slot_, ptr); in Set()
102 SlotType slot_; variable
Dthread_local_storage.h63 int slot_; variable
/external/chromium/net/base/
Dcert_database_nss_unittest.cc115 slot_ = cert_db_.GetPublicModule(); in SetUp()
118 EXPECT_EQ(0U, ListCertsInSlot(slot_->os_module_handle()).size()); in SetUp()
122 ASSERT_TRUE(slot_->os_module_handle()); in TearDown()
124 EXPECT_TRUE(CleanupSlotContents(slot_->os_module_handle())); in TearDown()
125 EXPECT_EQ(0U, ListCertsInSlot(slot_->os_module_handle()).size()); in TearDown()
129 scoped_refptr<CryptoModule> slot_; member in net::CertDatabaseNSSTest
156 cert_db_.ImportFromPKCS12(slot_, in TEST_F()
161 EXPECT_EQ(0U, ListCertsInSlot(slot_->os_module_handle()).size()); in TEST_F()
167 EXPECT_EQ(OK, cert_db_.ImportFromPKCS12(slot_, in TEST_F()
171 CertificateList cert_list = ListCertsInSlot(slot_->os_module_handle()); in TEST_F()
[all …]
/external/chromium/crypto/
Dhmac_nss.cc19 ScopedPK11Slot slot_; member
45 if (plat_->slot_.get()) { in Init()
51 plat_->slot_.reset(PK11_GetBestSlot(plat_->mechanism_, NULL)); in Init()
52 if (!plat_->slot_.get()) { in Init()
62 plat_->sym_key_.reset(PK11_ImportSymKey(plat_->slot_.get(), in Init()
Dencryptor_nss.cc35 slot_.reset(PK11_GetBestSlot(CKM_AES_CBC_PAD, NULL)); in Init()
36 if (!slot_.get()) in Init()
Dencryptor.h53 ScopedPK11Slot slot_; variable
/external/chromium/chrome/browser/ui/views/
Dfirst_run_search_engine_view.h57 void set_slot(int slot) { slot_ = slot; } in set_slot()
58 int slot() const { return slot_; } in slot()
72 int slot_; variable
Dfirst_run_search_engine_view.cc91 slot_(0) { in SearchEngineChoice()