Home
last modified time | relevance | path

Searched refs:key_file (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/chrome/installer/util/
Ddelete_tree_work_item.cc59 base::FilePath& key_file = key_paths_[i]; in Do() local
65 } else if (!base::CopyFile(key_file, in Do()
66 backup.path().Append(key_file.BaseName()))) { in Do()
67 PLOG(ERROR) << "Could not back up " << key_file.value() in Do()
74 HANDLE file = ::CreateFile(key_file.value().c_str(), FILE_ALL_ACCESS, in Do()
78 VLOG(1) << "Acquired exclusive lock for key file: " << key_file.value(); in Do()
83 PLOG(INFO) << "Failed to open " << key_file.value(); in Do()
93 base::FilePath& key_file = key_paths_[i]; in Do() local
94 if (!base::DeleteFile(key_file, true)) { in Do()
96 PLOG(DFATAL) << "Unexpectedly could not delete " << key_file.value(); in Do()
[all …]
/external/chromium_org/chrome/browser/
Dshell_integration_linux.cc454 GKeyFile* key_file = g_key_file_new(); in GetNoDisplayFromDesktopFile() local
456 if (!g_key_file_load_from_data(key_file, shortcut_contents.c_str(), in GetNoDisplayFromDesktopFile()
461 g_key_file_free(key_file); in GetNoDisplayFromDesktopFile()
466 char* nodisplay_c_string = g_key_file_get_string(key_file, kDesktopEntry, in GetNoDisplayFromDesktopFile()
476 g_key_file_free(key_file); in GetNoDisplayFromDesktopFile()
794 GKeyFile* key_file = g_key_file_new(); in GetDesktopFileContentsForCommand() local
797 g_key_file_set_string(key_file, kDesktopEntry, "Version", "1.0"); in GetDesktopFileContentsForCommand()
798 g_key_file_set_string(key_file, kDesktopEntry, "Terminal", "false"); in GetDesktopFileContentsForCommand()
799 g_key_file_set_string(key_file, kDesktopEntry, "Type", "Application"); in GetDesktopFileContentsForCommand()
811 g_key_file_set_string(key_file, kDesktopEntry, "Name", final_title.c_str()); in GetDesktopFileContentsForCommand()
[all …]
/external/chromium_org/components/policy/core/common/cloud/
Duser_cloud_policy_store_unittest.cc62 key_file(), in SetUp()
97 base::FilePath key_file() { in key_file() function in policy::UserCloudPolicyStoreTest
236 EXPECT_TRUE(base::PathExists(key_file())); in TEST_F()
358 key_file(), in TEST_F()
385 key_file(), in TEST_F()
432 key_file(), in TEST_F()
448 key_file(), in TEST_F()
462 key_file(), in TEST_F()
483 ASSERT_TRUE(base::ReadFileToString(key_file(), &key_data)); in TEST_F()
487 WriteStringToFile(key_file(), key_data); in TEST_F()
[all …]
Duser_cloud_policy_store.h33 const base::FilePath& key_file,
/external/chromium_org/net/test/
Dopenssl_helper.cc61 const char* key_file = kDefaultPEMFile; in main() local
101 key_file = argv[i]; in main()
130 if (BIO_read_filename(key, key_file) <= 0) { in main()
131 fprintf(stderr, "Failed to read %s\n", key_file); in main()
137 fprintf(stderr, "Failed to parse %s\n", key_file); in main()
162 fprintf(stderr, "Failed to load %s\n", key_file); in main()
/external/chromium_org/chrome/browser/extensions/
Dpack_extension_job.cc22 const base::FilePath& key_file, in PackExtensionJob() argument
24 : client_(client), key_file_(key_file), asynchronous_(true), in PackExtensionJob()
95 const base::FilePath& key_file) { in StandardSuccessMessage() argument
97 base::string16 key_file_string = key_file.LossyDisplayName(); in StandardSuccessMessage()
Dpack_extension_job.h26 const base::FilePath& key_file) = 0;
36 const base::FilePath& key_file,
48 const base::FilePath& key_file);
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/third_party/fancy_urllib/
D__init__.py54 def _create_fancy_connection(tunnel_host=None, key_file=None, argument
70 self.key_file = key_file
148 keyfile=self.key_file,
161 keyfile=self.key_file,
225 def set_ssl_info(self, key_file=None, cert_file=None, ca_certs=None): argument
226 self._key_file = key_file
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dpack_extension_handler.cc124 base::FilePath key_file = private_key_path_; in HandlePackMessage() local
139 if (!private_key_path_.empty() && key_file.empty()) { in HandlePackMessage()
145 pack_job_ = new PackExtensionJob(this, root_directory, key_file, run_flags); in HandlePackMessage()
Dpack_extension_handler.h38 const base::FilePath& key_file) OVERRIDE;
/external/openssl/apps/
Ds_cb.c198 int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file) in set_cert_stuff() argument
214 if (key_file == NULL) key_file=cert_file; in set_cert_stuff()
215 if (SSL_CTX_use_PrivateKey_file(ctx,key_file, in set_cert_stuff()
218 BIO_printf(bio_err,"unable to get private key from '%s'\n",key_file); in set_cert_stuff()
Ds_apps.h156 int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file);
Ds_client.c579 char *cert_file=NULL,*key_file=NULL; in MAIN() local
861 key_file= *(++argv); in MAIN()
1066 if (key_file == NULL) in MAIN()
1067 key_file = cert_file; in MAIN()
1070 if (key_file) in MAIN()
1074 key = load_key(bio_err, key_file, key_format, 0, pass, e, in MAIN()
/external/chromium_org/third_party/boringssl/src/ssl/test/
Dtest_config.h28 std::string key_file; member
Dtest_config.cc64 { "-key-file", &TestConfig::key_file },
Dbssl_shim.cc305 if (!config->key_file.empty()) { in do_exchange()
306 if (!SSL_use_PrivateKey_file(ssl, config->key_file.c_str(), in do_exchange()
/external/chromium_org/net/disk_cache/blockfile/
Dentry_impl_v3.cc283 File* key_file = GetBackingFile(address, kKeyFileIndex); in CreateEntry() local
290 if (!key_file || !key_file->Write(key.data(), key.size(), offset)) { in CreateEntry()
296 key_file->SetLength(key.size() + 1); in CreateEntry()
493 File* key_file = const_cast<EntryImpl*>(this)->GetBackingFile(address, in GetKey() local
495 if (!key_file) in GetKey()
499 if (!offset && key_file->GetLength() != static_cast<size_t>(key_len)) in GetKey()
502 if (!key_file->Read(WriteInto(&key_, key_len), key_len, offset)) in GetKey()
Dentry_impl.cc428 File* key_file = GetBackingFile(address, kKeyFileIndex); in CreateEntry() local
435 if (!key_file || !key_file->Write(key.data(), key.size(), offset)) { in CreateEntry()
441 key_file->SetLength(key.size() + 1); in CreateEntry()
780 File* key_file = const_cast<EntryImpl*>(this)->GetBackingFile(address, in GetKey() local
782 if (!key_file) in GetKey()
786 if (!offset && key_file->GetLength() != static_cast<size_t>(key_len)) in GetKey()
789 if (!key_file->Read(WriteInto(&key_, key_len), key_len, offset)) in GetKey()
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
D__init__.py66 def _ssl_wrap_socket(sock, key_file, cert_file): argument
67 ssl_sock = socket.ssl(sock, key_file, cert_file)
755 def __init__(self, host, port=None, key_file=None, cert_file=None, argument
757 httplib.HTTPSConnection.__init__(self, host, port=port, key_file=key_file,
774 self.sock =_ssl_wrap_socket(sock, self.key_file, self.cert_file)
1012 … conn = self.connections[conn_key] = connection_type(authority, key_file=certs[0][0],
/external/chromium_org/chrome/browser/extensions/api/developer_private/
Ddeveloper_private_api.h374 const base::FilePath& key_file) OVERRIDE;
Ddeveloper_private_api.cc1014 base::FilePath key_file = base::FilePath::FromUTF8Unsafe(key_path_str_); in RunAsync() local
1031 if (!key_path_str_.empty() && key_file.empty()) { in RunAsync()
1043 pack_job_ = new PackExtensionJob(this, root_directory, key_file, flags); in RunAsync()