Searched defs:full_path (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium/chrome/browser/
H A Dplatform_util_chromeos.cc39 void ShowItemInFolder(const FilePath& full_path) { argument
40 FilePath dir = full_path.DirName();
53 void OpenItem(const FilePath& full_path) { argument
54 FileManagerUtil::ViewItem(full_path, false);
H A Dplatform_util_linux.cc59 void ShowItemInFolder(const FilePath& full_path) { argument
60 FilePath dir = full_path.DirName();
67 void OpenItem(const FilePath& full_path) { argument
68 XDGOpen(full_path.value());
H A Dplatform_util_win.cc32 void ShowItemInFolder(const FilePath& full_path) { argument
33 FilePath dir = full_path.DirName();
82 const_cast<wchar_t *>(full_path.value().c_str()),
106 << "(): Can't open full_path = \""
107 << full_path.value() << "\""
116 void OpenItem(const FilePath& full_path) { argument
117 app::win::OpenItemViaShell(full_path);
/external/dbus/dbus/
H A Ddbus-auth-util.c85 DBusString full_path; local
87 if (!_dbus_string_init (&full_path))
90 if (!_dbus_string_copy (&test_directory, 0, &full_path, 0))
91 _dbus_assert_not_reached ("couldn't copy dir to full_path");
93 if (!_dbus_concat_dir_and_file (&full_path, &filename))
100 _dbus_string_free (&full_path);
106 if (!_dbus_auth_script_run (&full_path))
108 _dbus_string_free (&full_path);
112 _dbus_string_free (&full_path);
H A Ddbus-server-unix.c88 DBusString full_path; local
91 if (!_dbus_string_init (&full_path))
99 _dbus_string_free (&full_path);
107 !_dbus_string_append (&full_path, tmpdir) ||
108 !_dbus_concat_dir_and_file (&full_path, &filename))
110 _dbus_string_free (&full_path);
119 _dbus_server_new_for_domain_socket (_dbus_string_get_const_data (&full_path),
127 _dbus_string_free (&full_path);
/external/chromium/chrome/browser/download/
H A Dbase_file.h28 BaseFile(const FilePath& full_path,
43 virtual bool Rename(const FilePath& full_path);
57 FilePath full_path() const { return full_path_; } function in class:BaseFile
H A Dbase_file_unittest.cc38 FilePath full_path = base_file_->full_path(); local
43 EXPECT_TRUE(file_util::ReadFileToString(full_path, &disk_data));
51 EXPECT_EQ(expect_file_survives_, file_util::PathExists(full_path));
87 EXPECT_EQ(FilePath().value(), base_file_->full_path().value());
93 EXPECT_TRUE(file_util::PathExists(base_file_->full_path()));
95 EXPECT_FALSE(file_util::PathExists(base_file_->full_path()));
96 EXPECT_NE(FilePath().value(), base_file_->full_path().value());
128 FilePath initial_path(base_file_->full_path());
195 FilePath initial_path(base_file_->full_path());
[all...]
H A Dbase_file.cc23 BaseFile::BaseFile(const FilePath& full_path, argument
28 : full_path_(full_path),
H A Dsave_item.cc115 void SaveItem::Rename(const FilePath& full_path) { argument
116 DCHECK(!full_path.empty() && !has_final_name());
117 full_path_ = full_path;
H A Dsave_item.h50 void Rename(const FilePath& full_path);
58 const FilePath& full_path() const { return full_path_; } function in class:SaveItem
H A Ddownload_file_manager.cc308 int id, const FilePath& full_path) {
310 << " full_path = \"" << full_path.value() << "\"";
319 if (!download->Rename(full_path)) {
320 // Error. Between the time the UI thread generated 'full_path' to the time
334 int id, const FilePath& full_path, bool overwrite_existing_file) {
337 << " full_path = \"" << full_path.value() << "\"";
350 FilePath new_path = full_path;
367 // Error. Between the time the UI thread generated 'full_path' t
307 RenameInProgressDownloadFile( int id, const FilePath& full_path) argument
333 RenameCompletingDownloadFile( int id, const FilePath& full_path, bool overwrite_existing_file) argument
[all...]
H A Ddownload_item.cc278 platform_util::OpenItem(full_path());
282 NewRunnableFunction(&platform_util::OpenItem, full_path()));
290 platform_util::ShowItemInFolder(full_path());
295 full_path()));
465 void DownloadItem::Rename(const FilePath& full_path) { argument
467 << " full_path = \"" << full_path.value() << "\""
469 DCHECK(!full_path.empty());
470 full_path_ = full_path;
519 void DownloadItem::OnDownloadRenamedToFinalName(const FilePath& full_path) { argument
[all...]
H A Dsave_file_manager.cc202 void SaveFileManager::DeleteDirectoryOrFile(const FilePath& full_path, argument
208 this, &SaveFileManager::OnDeleteDirectoryOrFile, full_path, is_dir));
234 info->path = save_file->full_path();
465 bool success = file_util::CopyFile(file_path, save_file->full_path());
467 file_util::Delete(save_file->full_path(), false);
471 void SaveFileManager::OnDeleteDirectoryOrFile(const FilePath& full_path, argument
474 DCHECK(!full_path.empty());
476 file_util::Delete(full_path, is_dir);
482 void SaveFileManager::OnShowSavedFileInShell(const FilePath full_path) { argument
484 platform_util::ShowItemInFolder(full_path);
[all...]
/external/chromium/chrome/common/
H A Dwin_safe_util.cc25 const FilePath& full_path,
36 return app::win::OpenItemViaShell(full_path);
54 hr = attachment_services->SetLocalPath(full_path.value().c_str());
84 return app::win::OpenItemViaShellNoZoneCheck(full_path);
87 bool SetInternetZoneIdentifier(const FilePath& full_path) { argument
89 std::wstring path = full_path.value() + L":Zone.Identifier";
24 SaferOpenItemViaShell(HWND hwnd, const std::wstring& window_title, const FilePath& full_path, const std::wstring& source_url) argument
/external/chromium/chrome/browser/search_engines/
H A Dtemplate_url_parser_unittest.cc39 FilePath full_path; local
41 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &full_path));
42 full_path = full_path.AppendASCII("osdd");
43 full_path = full_path.AppendASCII(file_name);
44 ASSERT_TRUE(file_util::PathExists(full_path));
47 ASSERT_TRUE(file_util::ReadFileToString(full_path, &contents));
/external/chromium/chrome/browser/ui/webui/
H A Dscreenshot_source.cc73 const std::string& full_path) {
76 std::string path = full_path.substr(0, full_path.find_first_of("?"));
72 GetScreenshot( const std::string& full_path) argument
/external/chromium/base/test/
H A Dtest_file_util_win.cc199 bool HasInternetZoneIdentifier(const FilePath& full_path) { argument
200 FilePath zone_path(full_path.value() + L":Zone.Identifier");
/external/chromium/chrome/browser/net/
H A Durl_fixer_upper_unittest.cc181 // full_path = "c:\foo\bar.txt"
186 FilePath* full_path) {
187 *full_path = dir.Append(file_name);
188 return file_util::WriteFile(*full_path, "", 0) == 0;
408 FilePath full_path, dir; local
411 ASSERT_TRUE(MakeTempFile(dir, file_part, &full_path));
412 ASSERT_TRUE(file_util::AbsolutePath(&full_path));
429 file_part).possibly_invalid_spec(), full_path));
430 EXPECT_TRUE(file_util::Delete(full_path, false));
448 ASSERT_TRUE(MakeTempFile(new_dir, sub_file, &full_path));
184 MakeTempFile(const FilePath& dir, const FilePath& file_name, FilePath* full_path) argument
[all...]
H A Durl_fixer_upper.cc104 // file exists, returns true and sets |full_path| to the result. Otherwise,
105 // returns false and leaves |full_path| unchanged.
107 FilePath* full_path) {
115 *full_path = file_path;
534 FilePath full_path; local
535 if (!ValidPathForFile(trimmed, &full_path)) {
549 if (!ValidPathForFile(unescaped, &full_path))
558 GURL file_url = net::FilePathToFileURL(full_path);
106 ValidPathForFile(const FilePath::StringType& text, FilePath* full_path) argument
/external/chromium/net/tools/crash_cache/
H A Dcrash_cache.cc84 // Creates the destinaton folder for this run, and returns it on full_path.
86 FilePath* full_path) {
115 *full_path = path.AppendASCII(folders[action]);
117 if (file_util::PathExists(*full_path))
120 return file_util::CreateDirectory(*full_path);
313 FilePath full_path; local
314 if (!CreateTargetFolder(path, action, &full_path)) {
325 return SimpleInsert(full_path, action, &cache_thread);
328 return LoadOperations(full_path, action, &cache_thread);
331 return SimpleRemove(full_path, actio
85 CreateTargetFolder(const FilePath& path, RankCrashes action, FilePath* full_path) argument
[all...]
/external/chromium/chrome/browser/extensions/
H A Dfile_manager_util.cc134 void FileManagerUtil::ViewItem(const FilePath& full_path, bool enqueue) { argument
135 std::string ext = full_path.Extension();
141 path.append(full_path.value());
145 NewRunnableFunction(&ViewItem, full_path, enqueue));
160 mediaplayer->EnqueueMediaFile(browser->profile(), full_path, NULL);
162 mediaplayer->ForcePlayMediaFile(browser->profile(), full_path, NULL);
174 UTF8ToUTF16(full_path.BaseName().value()))
/external/chromium/chrome/browser/safe_browsing/
H A Dfilter_false_positive_perftest.cc95 FilePath full_path; local
96 CHECK(PathService::Get(chrome::DIR_TEST_DATA, &full_path));
97 full_path = full_path.Append(FILE_PATH_LITERAL("safe_browsing"));
98 full_path = full_path.Append(FILE_PATH_LITERAL("filter"));
99 CHECK(file_util::PathExists(full_path));
100 return full_path;
/external/dbus/bus/
H A Dactivation-helper.c55 DBusString full_path; local
69 if (!_dbus_string_init (&full_path))
93 _dbus_string_set_length (&full_path, 0);
96 if (!_dbus_string_append (&full_path, dir) ||
97 !_dbus_concat_dir_and_file (&full_path, &filename))
103 _dbus_verbose ("Trying to load file '%s'\n", _dbus_string_get_data (&full_path));
104 desktop_file = bus_desktop_file_load (&full_path, &tmp_error);
109 _dbus_string_get_const_data (&full_path),
136 _dbus_string_free (&full_path);
H A Dconfig-parser-trivial.c345 check_return_values (const DBusString *full_path) argument
357 printf ("Testing values from: %s\n", _dbus_string_get_const_data (full_path));
359 parser = bus_config_load (full_path, TRUE, NULL, &error);
420 do_load (const DBusString *full_path, argument
429 parser = bus_config_load (full_path, TRUE, NULL, &error);
473 const DBusString *full_path; member in struct:__anon4403
482 return do_load (d->full_path, d->validity, TRUE);
536 DBusString full_path; local
539 if (!_dbus_string_init (&full_path))
542 if (!_dbus_string_copy (&test_directory, 0, &full_path,
600 make_full_path(const DBusString *test_data_dir, const char *subdir, const char *file, DBusString *full_path) argument
646 check_file_valid(DBusString *full_path, Validity validity) argument
670 DBusString full_path; local
[all...]
/external/chromium/googleurl/src/
H A Durl_parse.cc294 Component full_path; local
303 full_path = Component();
305 full_path = Component(end_auth, spec_len - end_auth);
310 ParsePath(spec, full_path, &parsed->path, &parsed->query, &parsed->ref);

Completed in 1000 milliseconds

12