/external/python/python-api-core/google/api_core/ |
D | rest_helpers.py | 54 return _flatten(obj, key_path=[]) 57 def _flatten(obj, key_path): argument 61 return _flatten_dict(obj, key_path=key_path) 63 return _flatten_list(obj, key_path=key_path) 64 return _flatten_value(obj, key_path=key_path) 77 def _flatten_value(obj, key_path): argument 78 return [(".".join(key_path), obj)] 81 def _flatten_dict(obj, key_path): argument 82 items = (_flatten(value, key_path=key_path + [key]) for key, value in obj.items()) 86 def _flatten_list(elems, key_path): argument [all …]
|
/external/cronet/base/test/ |
D | test_reg_util_win_unittest.cc | 43 void AssertKeyExists(const std::wstring& key_path) { in AssertKeyExists() argument 46 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ)) in AssertKeyExists() 47 << key_path << " does not exist."; in AssertKeyExists() 50 void AssertKeyAbsent(const std::wstring& key_path) { in AssertKeyAbsent() argument 53 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ)) in AssertKeyAbsent() 54 << key_path << " exists but it should not."; in AssertKeyAbsent() 57 void CreateKey(const std::wstring& key_path) { in CreateKey() argument 60 key.Create(HKEY_CURRENT_USER, key_path.c_str(), KEY_ALL_ACCESS)); in CreateKey()
|
D | test_reg_util_win.cc | 73 const std::wstring& key_path) in ScopedRegistryKeyOverride() argument 74 : override_(override), key_path_(key_path) {} in ScopedRegistryKeyOverride() 103 std::wstring key_path = GenerateTempKeyPath(test_key_root_, timestamp_); in OverrideRegistry() local 106 ASSERT_EQ(ERROR_SUCCESS, temp_key.Create(HKEY_CURRENT_USER, key_path.c_str(), in OverrideRegistry() 111 std::make_unique<ScopedRegistryKeyOverride>(override, key_path)); in OverrideRegistry() 113 override_path->assign(key_path); in OverrideRegistry()
|
/external/autotest/site_utils/stable_images/ |
D | build_data.py | 130 def _get_by_key_path(dictdict, key_path): argument 145 for key in key_path: 163 key_path = ['board-metadata', board, 'models'] 164 model_versions = _get_by_key_path(metadata_json, key_path) 267 key_path = ['board-metadata', board, 'main-firmware-version'] 268 return {board: _get_by_key_path(metadata_json, key_path)}
|
/external/autotest/utils/frozen_chromite/lib/ |
D | cache.py | 214 key_path = self.GetKeyPath(key) 215 osutils.SafeMakedirsNonRoot(os.path.dirname(key_path), 217 lock_path = os.path.join(self._cache_dir, os.path.dirname(key_path), 218 os.path.basename(key_path) + suffix) 227 key_path = self.GetKeyPath(key) 228 osutils.SafeMakedirsNonRoot(os.path.dirname(key_path), 230 shutil.move(path, key_path) 256 key_path = os.path.join(root, f) 257 if os.path.exists(key_path + self._lock_suffix): 260 keys.append(self.GetKey(key_path)) [all …]
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_serialization.py | 60 def _skip_fips_format(key_path, password, backend): argument 62 if key_path[0] == "Traditional_OpenSSL_Serialization": 64 if key_path[0] == "PEM_Serialization" and password is not None: 79 def test_load_der_rsa_private_key(self, key_path, password, backend): argument 81 os.path.join("asymmetric", *key_path), 107 def test_load_pem_rsa_private_key(self, key_path, password, backend): argument 108 _skip_fips_format(key_path, password, backend) 110 os.path.join("asymmetric", *key_path), 132 def test_load_der_rsa_private_key(self, key_path, password, backend): argument 134 os.path.join("asymmetric", *key_path), [all …]
|
D | test_dh.py | 521 self, key_path, loader_func, encoding, is_dhx, backend argument 525 key_path, lambda pemfile: pemfile.read(), mode="rb" 566 self, key_path, loader_func, vec_path, is_dhx, backend argument 570 key_path, lambda pemfile: pemfile.read(), mode="rb" 693 self, key_path, loader_func, encoding, is_dhx, backend argument 697 key_path, lambda pemfile: pemfile.read(), mode="rb" 736 self, key_path, loader_func, vec_path, is_dhx, backend argument 740 key_path, lambda pemfile: pemfile.read(), mode="rb"
|
/external/autotest/client/cros/faft/utils/ |
D | kernel_handler.py | 121 key_path=None): argument 152 if key_path and self.os_if.is_dir(key_path): 153 resign_key_path = key_path 198 def resign_kernel(self, section, key_path=None): argument 201 KERNEL_RESIGN_MOD, key_path)
|
/external/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_SetCertificate.c | 147 strdup_check(command->key_path, path, r, error_cleanup); in Fapi_SetCertificate_Async() 161 SAFE_FREE(command->key_path); in Fapi_SetCertificate_Async() 229 command->key_path, key_object); in Fapi_SetCertificate_Finish() 231 command->key_path); in Fapi_SetCertificate_Finish() 252 SAFE_FREE(command->key_path); in Fapi_SetCertificate_Finish()
|
/external/python/google-auth-library-python/google/auth/transport/ |
D | mtls.py | 63 def default_client_encrypted_cert_source(cert_path, key_path): argument 97 with open(key_path, "wb") as key_file: 103 return cert_path, key_path, passphrase_bytes
|
/external/cronet/base/win/ |
D | registry_unittest.cc | 247 std::wstring key_path = this->root_key(); in TYPED_TEST() local 249 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_CREATE_SUB_KEY)); in TYPED_TEST() 253 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_CREATE_SUB_KEY)); in TYPED_TEST() 256 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_CREATE_SUB_KEY)); in TYPED_TEST() 259 key_path += L"\\Bar"; in TYPED_TEST() 261 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_CREATE_SUB_KEY)); in TYPED_TEST() 262 key_path += L"\\Foo"; in TYPED_TEST() 266 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ)); in TYPED_TEST() 276 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_CREATE_SUB_KEY)); in TYPED_TEST() 280 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_WRITE)); in TYPED_TEST() [all …]
|
/external/libwebsockets/test-apps/ |
D | test-server.c | 420 char key_path[1024] = ""; in main() local 510 lws_strncpy(key_path, optarg, sizeof(key_path)); in main() 593 if (strlen(resource_path) > sizeof(key_path) - 32) { in main() 597 if (!key_path[0]) in main() 598 sprintf(key_path, "%s/libwebsockets-test-server.key.pem", in main() 602 info.ssl_private_key_filepath = key_path; in main()
|
D | test-client.c | 604 char key_path[1024] = ""; in main() local 671 lws_strncpy(key_path, optarg, sizeof(key_path)); in main() 752 if (key_path[0]) in main() 753 info.client_ssl_private_key_filepath = key_path; in main()
|
/external/avb/test/ |
D | avb_unittest_util.cc | 96 const base::FilePath& key_path, in GenerateVBMetaImage() argument 103 key_path.value() + " "; in GenerateVBMetaImage() 155 std::string BaseAvbToolTest::PublicKeyAVB(const base::FilePath& key_path) { in PublicKeyAVB() argument 160 key_path.value().c_str(), in PublicKeyAVB()
|
D | avb_unittest_util.h | 80 const base::FilePath& key_path, 94 std::string PublicKeyAVB(const base::FilePath& key_path);
|
/external/cronet/net/test/ |
D | cert_test_util_nss.cc | 70 base::FilePath key_path = dir.AppendASCII(key_filename); in ImportSensitiveKeyFromFile() local 72 bool success = base::ReadFileToString(key_path, &key_pkcs8); in ImportSensitiveKeyFromFile() 74 LOG(ERROR) << "Failed to read file " << key_path.value(); in ImportSensitiveKeyFromFile() 83 << "Could not create key from file " << key_path.value(); in ImportSensitiveKeyFromFile()
|
/external/python/google-auth-library-python/ |
D | .gitignore | 17 key_path 48 key_path
|
/external/angle/build/android/gyp/ |
D | finalize_apk.py | 20 key_path, argument 50 key_path,
|
/external/cronet/build/android/gyp/ |
D | finalize_apk.py | 20 key_path, argument 50 key_path,
|
/external/autotest/client/cros/ |
D | httpd.py | 249 def __init__(self, server_address, HandlerClass, cert_path, key_path): argument 255 keyfile=key_path) 282 key_path='/etc/mock_server.key', argument 290 key_path)
|
/external/cronet/net/tools/testserver/ |
D | testserver.py | 316 key_path = os.path.join(ROOT_DIR, self.options.cert_and_key_file) 317 if not os.path.isfile(key_path): 321 websocket_options.private_key = key_path 322 websocket_options.certificate = key_path
|
/external/scapy/scapy/layers/tls/ |
D | cert.py | 183 def __call__(cls, key_path=None): argument 185 if key_path is None: 195 if isinstance(key_path, tuple): 199 obj.import_from_tuple(key_path) 206 obj = _PKIObjMaker.__call__(cls, key_path, _MAX_KEY_SIZE) 343 def __call__(cls, key_path=None): argument 351 if key_path is None: 360 obj = _PKIObjMaker.__call__(cls, key_path, _MAX_KEY_SIZE)
|
/external/libwebsockets/lib/tls/ |
D | tls-network.c | 183 if (v->tls.alloc_cert_path && v->tls.key_path && in lws_tls_cert_updated() 185 !strcmp(v->tls.key_path, keypath)) { in lws_tls_cert_updated()
|
/external/avb/ |
D | avbtool.py | 350 def __init__(self, key_path): argument 369 args = ['openssl', 'rsa', '-in', key_path, '-modulus', '-noout'] 394 self.key_path = key_path 469 self.key_path, signing_file.name]) 478 [signing_helper, algorithm_name, self.key_path], 484 ['openssl', 'rsautl', '-sign', '-inkey', self.key_path, '-raw'], 2494 def verify_image(self, image_filename, key_path, expected_chain_partitions, argument 2530 if key_path: 2532 key_path)) 2533 key_blob = RSAPublicKey(key_path).encode() [all …]
|
/external/autotest/client/common_lib/cros/ |
D | arc.py | 61 key_path = os.path.join(_ADB_KEYS_PATH, 'test_key') 62 if not os.path.exists(key_path): 63 utils.system('adb keygen ' + pipes.quote(key_path)) 64 os.environ[_ADB_VENDOR_KEYS] = key_path
|