Searched defs:key_file (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/extensions/
H A Dpack_extension_job.cc22 const base::FilePath& key_file,
24 : client_(client), key_file_(key_file), asynchronous_(true),
95 const base::FilePath& key_file) {
97 base::string16 key_file_string = key_file.LossyDisplayName();
20 PackExtensionJob(Client* client, const base::FilePath& root_directory, const base::FilePath& key_file, int run_flags) argument
93 StandardSuccessMessage( const base::FilePath& crx_file, const base::FilePath& key_file) argument
/external/chromium_org/chrome/installer/util/
H A Ddelete_tree_work_item.cc59 base::FilePath& key_file = key_paths_[i]; local
65 } else if (!base::CopyFile(key_file,
66 backup.path().Append(key_file.BaseName()))) {
67 PLOG(ERROR) << "Could not back up " << key_file.value()
74 HANDLE file = ::CreateFile(key_file.value().c_str(), FILE_ALL_ACCESS,
78 VLOG(1) << "Acquired exclusive lock for key file: " << key_file.value();
83 PLOG(INFO) << "Failed to open " << key_file.value();
93 base::FilePath& key_file = key_paths_[i]; local
94 if (!base::DeleteFile(key_file, true)) {
96 PLOG(DFATAL) << "Unexpectedly could not delete " << key_file
153 base::FilePath& key_file = key_paths_[i]; local
[all...]
/external/chromium_org/chrome/browser/ui/webui/extensions/
H A Dpack_extension_handler.cc124 base::FilePath key_file = private_key_path_; local
139 if (!private_key_path_.empty() && key_file.empty()) {
145 pack_job_ = new PackExtensionJob(this, root_directory, key_file, run_flags);
/external/chromium_org/components/policy/core/common/cloud/
H A Duser_cloud_policy_store_unittest.cc62 key_file(),
97 base::FilePath key_file() { function in class:policy::UserCloudPolicyStoreTest
236 EXPECT_TRUE(base::PathExists(key_file()));
358 key_file(),
385 key_file(),
432 key_file(),
448 key_file(),
462 key_file(),
483 ASSERT_TRUE(base::ReadFileToString(key_file(), &key_data));
487 WriteStringToFile(key_file(), key_dat
[all...]
/external/chromium_org/third_party/boringssl/src/ssl/test/
H A Dtest_config.h28 std::string key_file; member in struct:TestConfig
/external/chromium_org/net/test/
H A Dopenssl_helper.cc61 const char* key_file = kDefaultPEMFile; local
101 key_file = argv[i];
130 if (BIO_read_filename(key, key_file) <= 0) {
131 fprintf(stderr, "Failed to read %s\n", key_file);
137 fprintf(stderr, "Failed to parse %s\n", key_file);
162 fprintf(stderr, "Failed to load %s\n", key_file);
/external/openssl/apps/
H A Ds_cb.c198 int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file) argument
214 if (key_file == NULL) key_file=cert_file;
215 if (SSL_CTX_use_PrivateKey_file(ctx,key_file,
218 BIO_printf(bio_err,"unable to get private key from '%s'\n",key_file);
H A Ds_client.c579 char *cert_file=NULL,*key_file=NULL; local
861 key_file= *(++argv);
1066 if (key_file == NULL)
1067 key_file = cert_file;
1070 if (key_file)
1074 key = load_key(bio_err, key_file, key_format, 0, pass, e,
/external/chromium_org/chrome/browser/
H A Dshell_integration_linux.cc454 GKeyFile* key_file = g_key_file_new();
456 if (!g_key_file_load_from_data(key_file, shortcut_contents.c_str(),
461 g_key_file_free(key_file);
466 char* nodisplay_c_string = g_key_file_get_string(key_file, kDesktopEntry,
476 g_key_file_free(key_file);
794 GKeyFile* key_file = g_key_file_new(); local
797 g_key_file_set_string(key_file, kDesktopEntry, "Version", "1.0");
798 g_key_file_set_string(key_file, kDesktopEntry, "Terminal", "false");
799 g_key_file_set_string(key_file, kDesktopEntry, "Type", "Application");
811 g_key_file_set_string(key_file, kDesktopEntr
865 GKeyFile* key_file = g_key_file_new(); local
[all...]
/external/chromium_org/net/disk_cache/blockfile/
H A Dentry_impl_v3.cc283 File* key_file = GetBackingFile(address, kKeyFileIndex); local
290 if (!key_file || !key_file->Write(key.data(), key.size(), offset)) {
296 key_file->SetLength(key.size() + 1);
493 File* key_file = const_cast<EntryImpl*>(this)->GetBackingFile(address, local
495 if (!key_file)
499 if (!offset && key_file->GetLength() != static_cast<size_t>(key_len))
502 if (!key_file->Read(WriteInto(&key_, key_len), key_len, offset))
H A Dentry_impl.cc428 File* key_file = GetBackingFile(address, kKeyFileIndex); local
435 if (!key_file || !key_file->Write(key.data(), key.size(), offset)) {
441 key_file->SetLength(key.size() + 1);
780 File* key_file = const_cast<EntryImpl*>(this)->GetBackingFile(address, local
782 if (!key_file)
786 if (!offset && key_file->GetLength() != static_cast<size_t>(key_len))
789 if (!key_file->Read(WriteInto(&key_, key_len), key_len, offset))
/external/chromium_org/chrome/browser/extensions/api/developer_private/
H A Ddeveloper_private_api.cc1014 base::FilePath key_file = base::FilePath::FromUTF8Unsafe(key_path_str_); local
1031 if (!key_path_str_.empty() && key_file.empty()) {
1043 pack_job_ = new PackExtensionJob(this, root_directory, key_file, flags);

Completed in 2769 milliseconds