Home
last modified time | relevance | path

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

/external/chromium_org/base/metrics/
Dstats_table.cc117 char* thread_name(int slot_id) const { in thread_name()
119 (slot_id-1) * (StatsTable::kMaxThreadNameLength)]; in thread_name()
121 PlatformThreadId* thread_tid(int slot_id) const { in thread_tid()
122 return &(thread_tid_table_[slot_id-1]); in thread_tid()
124 int* thread_pid(int slot_id) const { in thread_pid()
125 return &(thread_pid_table_[slot_id-1]); in thread_pid()
412 int* StatsTable::GetLocation(int counter_id, int slot_id) const { in GetLocation()
415 if (slot_id > internal_->max_threads()) in GetLocation()
419 return &(row[slot_id-1]); in GetLocation()
439 for (int slot_id = 1; slot_id <= internal_->max_threads(); slot_id++) { in GetRowValue() local
[all …]
Dstats_table_unittest.cc32 int slot_id = table.RegisterThread(thread_name); in TEST_F() local
33 EXPECT_NE(slot_id, 0); in TEST_F()
45 slot_id = table.RegisterThread("too many threads"); in TEST_F()
46 EXPECT_EQ(slot_id, 0); in TEST_F()
Dstats_table.h115 int* GetLocation(int counter_id, int slot_id) const;
/external/chromium_org/chromeos/network/
Dnetwork_cert_migrator_unittest.cc127 int slot_id = -1; in SetupTestClientCert() local
129 *test_client_cert_, &slot_id); in SetupTestClientCert()
131 ASSERT_NE(-1, slot_id); in SetupTestClientCert()
132 test_client_cert_slot_id_ = base::IntToString(slot_id); in SetupTestClientCert()
192 const std::string& slot_id, in SetupVpnWithCertId() argument
205 shill::kL2tpIpsecClientCertSlotProperty, slot_id); in SetupVpnWithCertId()
214 std::string* slot_id, in GetVpnCertId() argument
216 slot_id->clear(); in GetVpnCertId()
232 shill::kL2tpIpsecClientCertSlotProperty, slot_id); in GetVpnCertId()
501 std::string slot_id; in TEST_F() local
[all …]
Dclient_cert_resolver.cc38 int slot_id) in NetworkAndMatchingCert()
42 key_slot_id(slot_id) {} in NetworkAndMatchingCert()
187 int slot_id = -1; in FindCertificateMatches() local
195 CertLoader::GetPkcs11IdAndSlotForCert(*cert_it->cert, &slot_id); in FindCertificateMatches()
204 it->service_path, it->cert_config.location, pkcs11_id, slot_id)); in FindCertificateMatches()
286 int slot_id = -1; in ResolveCertificatePatternSync() local
288 CertLoader::GetPkcs11IdAndSlotForCert(*cert_it->cert, &slot_id); in ResolveCertificatePatternSync()
296 client_cert_type, slot_id, pkcs11_id, shill_properties); in ResolveCertificatePatternSync()
Dclient_cert_resolver_unittest.cc104 int slot_id = 0; in StartCertLoader() local
106 CertLoader::GetPkcs11IdAndSlotForCert(*test_client_cert_, &slot_id); in StartCertLoader()
107 test_cert_id_ = base::StringPrintf("%i:%s", slot_id, pkcs11_id.c_str()); in StartCertLoader()
Dclient_cert_util.cc101 int* slot_id) { in GetPkcs11AndSlotIdFromEapCertId() argument
102 *slot_id = -1; in GetPkcs11AndSlotIdFromEapCertId()
117 *slot_id = parsed_slot_id; in GetPkcs11AndSlotIdFromEapCertId()
Dnetwork_cert_migrator.cc238 const std::string& pkcs11_id, int* slot_id) { in FindCertificateWithPkcs11Id() argument
239 *slot_id = -1; in FindCertificateWithPkcs11Id()
246 *slot_id = current_slot_id; in FindCertificateWithPkcs11Id()
Dclient_cert_util.h63 int* slot_id);
/external/chromium_org/chromeos/
Dcert_loader.cc120 int* slot_id) { in GetPkcs11IdAndSlotForCert() argument
121 DCHECK(slot_id); in GetPkcs11IdAndSlotForCert()
129 *slot_id = static_cast<int>(PK11_GetSlotID(priv_key->pkcs11Slot)); in GetPkcs11IdAndSlotForCert()
Dcert_loader.h65 int* slot_id);
/external/chromium_org/chrome/browser/chromeos/options/
Dcert_library.cc168 std::string CertLibrary::GetUserCertPkcs11IdAt(int index, int* slot_id) const { in GetUserCertPkcs11IdAt()
170 return CertLoader::GetPkcs11IdAndSlotForCert(*cert, slot_id); in GetUserCertPkcs11IdAt()
195 int slot_id = -1; in GetUserCertIndexByPkcs11Id() local
196 std::string id = CertLoader::GetPkcs11IdAndSlotForCert(*cert, &slot_id); in GetUserCertIndexByPkcs11Id()
Dcert_library.h72 std::string GetUserCertPkcs11IdAt(int index, int* slot_id) const;
Dvpn_config_view.cc462 int slot_id = -1; in SetUserCertProperties() local
464 CertLibrary::Get()->GetUserCertPkcs11IdAt(index, &slot_id); in SetUserCertProperties()
466 client_cert_type, slot_id, pkcs11_id, properties); in SetUserCertProperties()
Dwifi_config_view.cc847 int slot_id = -1; in SetEapClientCertProperties() local
849 CertLibrary::Get()->GetUserCertPkcs11IdAt(index, &slot_id); in SetEapClientCertProperties()
851 client_cert::CONFIG_TYPE_EAP, slot_id, pkcs11_id, properties); in SetEapClientCertProperties()
/external/chromium_org/crypto/
Dnss_util.cc439 CK_SLOT_ID slot_id) { in GetTPMSlotForIdOnWorkerThread() argument
447 PK11SlotInfo* slot = SECMOD_LookupSlot(chaps_module->moduleID, slot_id); in GetTPMSlotForIdOnWorkerThread()
449 LOG(ERROR) << "TPM slot " << slot_id << " not found."; in GetTPMSlotForIdOnWorkerThread()
488 CK_SLOT_ID slot_id) { in InitializeTPMForChromeOSUser() argument
504 slot_id, in InitializeTPMForChromeOSUser()
1063 CK_SLOT_ID slot_id) { in InitializeTPMForChromeOSUser() argument
1064 g_nss_singleton.Get().InitializeTPMForChromeOSUser(username_hash, slot_id); in InitializeTPMForChromeOSUser()
Dnss_util_internal.h87 CK_SLOT_ID slot_id);
/external/chromium_org/chrome/browser/profiles/
Dprofile_io_data.cc271 int slot_id) { in DidGetTPMInfoForUserOnUIThread() argument
277 DVLOG(1) << "Got TPM slot for " << username_hash << ": " << slot_id; in DidGetTPMInfoForUserOnUIThread()
282 &crypto::InitializeTPMForChromeOSUser, username_hash, slot_id)); in DidGetTPMInfoForUserOnUIThread()