/external/chromium/base/win/ |
D | registry.cc | 20 : key_(NULL), in RegKey() 25 : key_(NULL), in RegKey() 54 REG_OPTION_NON_VOLATILE, access, NULL, &key_, in CreateWithDisposition() 64 LONG result = RegOpenKeyEx(rootkey, subkey, 0, access, &key_); in Open() 73 LONG result = RegCreateKeyEx(key_, name, 0, NULL, REG_OPTION_NON_VOLATILE, in CreateKey() 77 key_ = subkey; in CreateKey() 86 LONG result = RegOpenKeyEx(key_, name, 0, access, &subkey); in OpenKey() 90 key_ = subkey; in OpenKey() 97 if (key_) { in Close() 98 ::RegCloseKey(key_); in Close() [all …]
|
D | registry.h | 52 bool Valid() const { return key_ != NULL; } in Valid() 89 HKEY Handle() const { return key_; } in Handle() 92 HKEY key_; // The registry key being iterated. 128 HKEY key_; variable 165 HKEY key_; variable
|
/external/chromium/crypto/ |
D | rsa_private_key_nss.cc | 45 if (key_) in ~RSAPrivateKey() 46 SECKEY_DestroyPrivateKey(key_); in ~RSAPrivateKey() 132 result->key_ = PK11_FindKeyByKeyID(slot, ck_id, NULL); in FindFromPublicKeyInfo() 139 if (!result->key_) in FindFromPublicKeyInfo() 151 if (!ReadAttribute(key_, CKA_MODULUS, private_key_info.modulus()) || in ExportPrivateKey() 152 !ReadAttribute(key_, CKA_PUBLIC_EXPONENT, in ExportPrivateKey() 154 !ReadAttribute(key_, CKA_PRIVATE_EXPONENT, in ExportPrivateKey() 156 !ReadAttribute(key_, CKA_PRIME_1, private_key_info.prime1()) || in ExportPrivateKey() 157 !ReadAttribute(key_, CKA_PRIME_2, private_key_info.prime2()) || in ExportPrivateKey() 158 !ReadAttribute(key_, CKA_EXPONENT_1, private_key_info.exponent1()) || in ExportPrivateKey() [all …]
|
D | hmac_mac.cc | 14 std::string key_; member 24 if (!plat_->key_.empty()) { in Init() 30 plat_->key_.assign(reinterpret_cast<const char*>(key), key_length); in Init() 37 plat_->key_.assign(plat_->key_.length(), std::string::value_type()); in ~HMAC() 38 plat_->key_.clear(); in ~HMAC() 39 plat_->key_.reserve(0); in ~HMAC() 67 plat_->key_.data(), plat_->key_.length(), data.data(), data.length(), in Sign()
|
D | rsa_private_key_openssl.cc | 63 result->key_ = EVP_PKEY_new(); in Create() 64 if (!result->key_ || !EVP_PKEY_set1_RSA(result->key_, rsa_key.get())) in Create() 97 result->key_ = EVP_PKCS82PKEY(p8inf.get()); in CreateFromPrivateKeyInfo() 98 if (!result->key_) in CreateFromPrivateKeyInfo() 119 : key_(NULL) { in RSAPrivateKey() 123 if (key_) in ~RSAPrivateKey() 124 EVP_PKEY_free(key_); in ~RSAPrivateKey() 128 return ExportKey(key_, i2d_PKCS8PrivateKeyInfo_bio, output); in ExportPrivateKey() 132 return ExportKey(key_, i2d_PUBKEY_bio, output); in ExportPublicKey()
|
D | symmetric_key.h | 59 const std::string& key() { return key_; } in key() 61 PK11SymKey* key() const { return key_.get(); } in key() 65 HCRYPTKEY key() const { return key_.get(); } in key() 76 std::string key_; variable 79 ScopedPK11SymKey key_; 82 std::string key_; 88 ScopedHCRYPTKEY key_;
|
D | rsa_private_key_mac.cc | 162 memset(&key_, 0, sizeof(key_)); in RSAPrivateKey() 169 if (key_.KeyData.Data) { in ~RSAPrivateKey() 170 CSSM_FreeKey(GetSharedCSPHandle(), NULL, &key_, CSSM_FALSE); in ~RSAPrivateKey() 178 if (!key_.KeyData.Data || !key_.KeyData.Length) { in ExportPrivateKey() 182 output->insert(output->end(), key_.KeyData.Data, in ExportPrivateKey() 183 key_.KeyData.Data + key_.KeyData.Length); in ExportPrivateKey() 190 private_key_data.assign(key_.KeyData.Data, in ExportPublicKey() 191 key_.KeyData.Data + key_.KeyData.Length); in ExportPublicKey()
|
D | symmetric_key_openssl.cc | 20 std::fill(key_.begin(), key_.end(), '\0'); // Zero out the confidential key. in ~SymmetricKey() 36 reinterpret_cast<uint8*>(WriteInto(&key->key_, key_size_in_bytes + 1)); in GenerateRandomKey() 55 reinterpret_cast<uint8*>(WriteInto(&key->key_, key_size_in_bytes + 1)); in DeriveKeyFromPassword() 67 key->key_ = raw_key; in Import() 72 *raw_key = key_; in GetRawKey()
|
D | rsa_private_key_nss_unittest.cc | 41 EXPECT_EQ(key_pair->key_->pkcs11ID, key_pair_2->key_->pkcs11ID); in TEST_F() 52 if (key_pair->key_) { in TEST_F() 53 PK11_DestroyTokenObject(key_pair->key_->pkcs11Slot, in TEST_F() 54 key_pair->key_->pkcs11ID); in TEST_F()
|
D | rsa_private_key.h | 213 EVP_PKEY* key() { return key_; } in key() 215 SECKEYPrivateKeyStr* key() { return key_; } in key() 219 HCRYPTKEY key() { return key_; } in key() 221 CSSM_KEY_PTR key() { return &key_; } in key() 254 EVP_PKEY* key_; variable 256 SECKEYPrivateKeyStr* key_; variable 262 ScopedHCRYPTKEY key_; variable 264 CSSM_KEY key_; variable
|
D | encryptor_openssl.cc | 48 : key_(NULL), in Encryptor() 66 key_ = key; in Init() 83 DCHECK(key_); // Must call Init() before En/De-crypt. in Crypt() 89 const EVP_CIPHER* cipher = GetCipherForKey(key_); in Crypt() 92 const std::string& key = key_->key(); in Crypt()
|
D | hmac_win.cc | 82 key_.reset(); in ~HMACPlatformData() 86 ScopedHCRYPTKEY key_; member 99 if (plat_->provider_ || plat_->key_ || !plat_->raw_key_.empty()) { in Init() 143 plat_->key_.receive())) { in Init() 169 if (!plat_->provider_ || !plat_->key_) in Sign() 178 if (!CryptCreateHash(plat_->provider_, CALG_HMAC, plat_->key_, 0, in Sign()
|
D | encryptor_mac.cc | 16 : key_(NULL), in Encryptor() 34 key_ = key; in Init() 43 DCHECK(key_); in Crypt() 44 CSSM_DATA raw_key = key_->cssm_data(); in Crypt()
|
D | encryptor_nss.cc | 17 : key_(NULL), in Encryptor() 29 key_ = key; in Init() 55 key_->key(), in Encrypt() 93 key_->key(), in Decrypt()
|
/external/chromium/chrome/browser/autofill/crypto/ |
D | rc4_decryptor.h | 67 state = &key_.state[0]; in PrepareKey() 71 key_.x = key_.y = 0; in PrepareKey() 86 x = key_.x; in RunInternal() 87 y = key_.y; in RunInternal() 88 state = &key_.state[0]; in RunInternal() 96 key_.x = x; in RunInternal() 97 key_.y = y; in RunInternal() 100 Rc4Key key_; variable
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | heap.h | 62 pos_[key_[size_]] = size_; in Insert() 66 key_.push_back(size_); in Insert() 138 int tkey = key_[j]; in Swap() 139 pos_[key_[j] = key_[k]] = j; in Swap() 140 pos_[key_[k] = tkey] = k; in Swap() 177 return key_[i]; in Insert() 185 vector<int> key_; variable
|
/external/openfst/src/include/fst/ |
D | heap.h | 68 pos_[key_[size_]] = size_; in Insert() 72 key_.push_back(size_); in Insert() 146 int tkey = key_[j]; in Swap() 147 pos_[key_[j] = key_[k]] = j; in Swap() 148 pos_[key_[k] = tkey] = k; in Swap() 190 return key_[i]; in Insert() 197 vector<int> key_; variable
|
/external/chromium/base/threading/ |
D | thread_local_storage_posix.cc | 13 key_(0) { in Slot() 19 int error = pthread_key_create(&key_, destructor); in Initialize() 31 int error = pthread_key_delete(key_); in Free() 39 return pthread_getspecific(key_); in Get() 44 int error = pthread_setspecific(key_, value); in Set()
|
/external/openssl/crypto/aes/asm/ |
D | aesni-x86.pl | 66 $key_="ebp"; # backup copy for $key 370 &mov ($key_,$key); # backup $key 404 &mov ($key,$key_); # restore $key 471 &mov ($key_,$key); # backup $key 505 &mov ($key,$key_); # restore $key 590 &mov ($key_,"esp"); 593 &mov (&DWP(48,"esp"),$key_); 607 &xor ($key_,$key_); 609 &mov (&DWP(20,"esp"),$key_); 610 &mov (&DWP(24,"esp"),$key_); [all …]
|
D | aesni-x86_64.pl | 193 $key_="%r11"; # backup copy for $key 533 mov $key,$key_ # backup $key 555 mov $key_,$key # restore $key 582 mov $key_,$key # restore $key 690 mov $key_,$key # restore $key 713 $movkey ($key_),$rndkey0 718 mov $key_,$key # restore $key 849 lea 0($key),$key_ 857 $movkey ($key_),$rndkey0 862 $movkey 16($key_),$rndkey1 [all …]
|
/external/v8/src/ |
D | splay-tree-inl.h | 54 int cmp = Config::Compare(key, root_->key_); in Insert() 88 return Config::Compare(key, root_->key_) == 0; in FindInternal() 113 int cmp = Config::Compare(root_->key_, key); in FindGreatestLessThan() 137 int cmp = Config::Compare(root_->key_, key); in FindLeastGreaterThan() 183 int cmp = Config::Compare(new_key, root_->key_); in Move() 189 node_to_move->key_ = new_key; in Move() 240 int cmp = Config::Compare(key, current->key_); in Splay() 244 if (Config::Compare(key, current->left_->key_) < 0) { in Splay() 260 if (Config::Compare(key, current->right_->key_) > 0) { in Splay()
|
D | property.h | 51 if (!StringShape(key_).IsSymbol()) { in KeyToSymbol() 52 MaybeObject* maybe_result = HEAP->LookupSymbol(key_); in KeyToSymbol() 53 if (!maybe_result->To(&key_)) return maybe_result; in KeyToSymbol() 55 return key_; in KeyToSymbol() 58 String* GetKey() { return key_; } in GetKey() 74 String* key_; 82 key_ = key; in Init() 88 : key_(key), in Descriptor() 97 : key_(key), in key_() function
|
/external/chromium/net/proxy/ |
D | proxy_config_service_win.cc | 45 if (key_.StartWatching() != ERROR_SUCCESS) in StartWatching() 50 if (!watcher_.StartWatching(key_.watch_event(), delegate)) in StartWatching() 57 return key_.Create(rootkey, subkey, KEY_NOTIFY) == ERROR_SUCCESS; in CreateRegKey() 61 return key_.watch_event(); in watch_event() 65 base::win::RegKey key_; member in net::ProxyConfigServiceWin::KeyEntry
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | thread.cc | 54 pthread_key_t ThreadManager::key_; member in talk_base::ThreadManager 57 pthread_key_create(&key_, NULL); in ThreadManager() 73 pthread_key_delete(key_); in ~ThreadManager() 77 return static_cast<Thread *>(pthread_getspecific(key_)); in CurrentThread() 81 pthread_setspecific(key_, thread); in SetCurrent() 86 DWORD ThreadManager::key_; member in talk_base::ThreadManager 89 key_ = TlsAlloc(); in ThreadManager() 95 TlsFree(key_); in ~ThreadManager() 99 return static_cast<Thread *>(TlsGetValue(key_)); in CurrentThread() 103 TlsSetValue(key_, thread); in SetCurrent()
|
/external/chromium/chrome/browser/webdata/ |
D | autofill_entry.cc | 45 : key_(key), in AutofillEntry() 52 if (!(key_ == entry.key())) in operator ==() 69 return key_ < entry.key(); in operator <()
|