Home
last modified time | relevance | path

Searched refs:base_path (Results 1 – 23 of 23) sorted by relevance

/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_editor_view_unittest.cc44 std::string base_path() const { return "file:///c:/tmp/"; } in base_path() function in BookmarkEditorViewTest
47 return model_->GetMostRecentlyAddedNodeForURL(GURL(base_path() + name)); in GetNode()
108 std::string test_base = base_path(); in AddTestData()
167 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->GetURL()); in TEST_F()
177 SetURLText(UTF8ToWide(GURL(base_path() + "new_a").spec())); in TEST_F()
185 ASSERT_TRUE(GURL(base_path() + "new_a") == bb_node->GetChild(0)->GetURL()); in TEST_F()
198 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL()); in TEST_F()
208 SetURLText(UTF8ToWide(GURL(base_path() + "new_a").spec())); in TEST_F()
214 ASSERT_TRUE(GURL(base_path() + "new_a") == other_node->GetChild(2)->GetURL()); in TEST_F()
256 SetURLText(UTF8ToWide(GURL(base_path() + "a").spec())); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_editor_gtk_unittest.cc55 std::string base_path() const { return "file:///c:/tmp/"; } in base_path() function in BookmarkEditorGtkTest
58 return model_->GetMostRecentlyAddedNodeForURL(GURL(base_path() + name)); in GetNode()
75 std::string test_base = base_path(); in AddTestData()
151 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->GetURL()); in TEST_F()
161 GURL(base_path() + "new_a").spec().c_str()); in TEST_F()
172 ASSERT_TRUE(GURL(base_path() + "new_a") == bb_node->GetChild(0)->GetURL()); in TEST_F()
190 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL()); in TEST_F()
202 GURL(base_path() + "new_a").spec().c_str()); in TEST_F()
212 ASSERT_TRUE(GURL(base_path() + "new_a") == other_node->GetChild(2)->GetURL()); in TEST_F()
271 GURL(base_path() + "a").spec().c_str()); in TEST_F()
[all …]
/external/chromium/base/memory/
Dscoped_temp_dir_unittest.cc62 FilePath base_path; in TEST() local
64 &base_path); in TEST()
69 EXPECT_TRUE(dir.CreateUniqueTempDirUnderPath(base_path)); in TEST()
72 EXPECT_TRUE(base_path.IsParent(test_path)); in TEST()
73 EXPECT_TRUE(test_path.value().find(base_path.value()) != std::string::npos); in TEST()
Dscoped_temp_dir.cc31 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { in CreateUniqueTempDirUnderPath() argument
36 if (!file_util::CreateDirectory(base_path)) in CreateUniqueTempDirUnderPath()
41 base_path, in CreateUniqueTempDirUnderPath()
/external/chromium/chrome/browser/net/
Durl_request_mock_http_job.cc31 void URLRequestMockHTTPJob::AddUrlHandler(const FilePath& base_path) { in AddUrlHandler() argument
32 base_path_ = base_path; in AddUrlHandler()
60 FilePath URLRequestMockHTTPJob::GetOnDiskPath(const FilePath& base_path, in GetOnDiskPath() argument
67 GURL file_url(net::FilePathToFileURL(base_path)); in GetOnDiskPath()
Durl_request_mock_http_job.h29 static void AddUrlHandler(const FilePath& base_path);
41 static FilePath GetOnDiskPath(const FilePath& base_path,
Durl_request_slow_http_job.cc28 void URLRequestSlowHTTPJob::AddUrlHandler(const FilePath& base_path) { in AddUrlHandler() argument
29 base_path_ = base_path; in AddUrlHandler()
Durl_request_slow_http_job.h23 static void AddUrlHandler(const FilePath& base_path);
/external/chromium/net/tools/dump_cache/
Durl_to_filename_encoder.h98 static std::string Encode(const std::string& url, std::string base_path, in Encode() argument
103 EncodeSegment(base_path, url_no_scheme, '/', &filename); in Encode()
113 filename.append(base_path); in Encode()
Dcache_dumper.cc74 std::string base_path = WideToASCII(path_); in CreateEntry() local
76 net::UrlToFilenameEncoder::Encode(url, base_path, false); in CreateEntry()
Durl_to_filename_encoder_unittest.cc90 void ValidateUrl(const string& url, const string& base_path, in ValidateUrl() argument
93 url, base_path, legacy_escape); in ValidateUrl()
/external/webkit/Tools/Scripts/webkitpy/common/system/
Dfilesystem_unittest.py105 with fs.mkdtemp(prefix='filesystem_unittest_') as base_path:
106 sub_path = os.path.join(base_path, "newdir")
122 self.assertFalse(os.path.exists(base_path))
123 self.assertFalse(fs.isdir(base_path))
/external/webkit/Tools/CodeCoverage/
Dregenerate-coverage-display66 (base_path, name) = os.path.split(__file__)
67 base_path = os.path.abspath(base_path)
69 shutil.copyfile(os.path.join(base_path,css), os.path.join(dest_dir,css))
70 map(lambda x: shutil.copyfile(os.path.join(base_path,x), os.path.join(dest_dir,x)), images)
Drun-generate-coverage-data85 def collect_cov(base_path,targets): argument
150 for root, dirs, files in os.walk(base_path):
/external/chromium/chrome/browser/extensions/
Dexternal_extension_provider_impl.cc128 FilePath base_path = loader_->GetBaseCrxFilePath(); in SetPrefs() local
129 if (base_path.empty()) { in SetPrefs()
134 path = base_path.Append(external_crx); in SetPrefs()
Dextension_browsertests_misc.cc212 FilePath base_path = test_data_dir_.AppendASCII("browsertest") in IN_PROC_BROWSER_TEST_F() local
215 ASSERT_TRUE(LoadExtension(base_path.AppendASCII("ExtA"))); in IN_PROC_BROWSER_TEST_F()
225 ASSERT_TRUE(LoadExtension(base_path.AppendASCII("ExtB"))); in IN_PROC_BROWSER_TEST_F()
Dextension_service_unittest.cc3079 FilePath base_path(FILE_PATH_LITERAL("//base/path")); in TEST_F() local
3080 ASSERT_TRUE(base_path.IsAbsolute()); in TEST_F()
3081 MockProviderVisitor visitor(base_path); in TEST_F()
/external/chromium/chrome/common/extensions/docs/build/
Ddirectory.py561 base_path = os.path.realpath(os.path.dirname(self._manifest_path))
562 for root, directories, files in sorted_walk(base_path):
571 path = fullpath.replace(base_path, '')[1:]
/external/chromium/chrome/common/
Dlogging_chrome.cc163 FilePath GenerateTimestampedName(const FilePath& base_path, in GenerateTimestampedName() argument
174 return base_path.InsertBeforeExtension(suffix); in GenerateTimestampedName()
/external/qemu/
Dblock.c96 const char *base_path, in path_combine() argument
107 p = strchr(base_path, ':'); in path_combine()
111 p = base_path; in path_combine()
112 p1 = strrchr(base_path, '/'); in path_combine()
116 p2 = strrchr(base_path, '\\'); in path_combine()
124 p1 = base_path; in path_combine()
127 len = p - base_path; in path_combine()
130 memcpy(dest, base_path, len); in path_combine()
Dblock.h219 const char *base_path,
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dtest_expectations.py720 base_path = self._fs.normpath(test_list_path)
722 if len(prev_base_path) > len(base_path):
726 if len(prev_base_path) < len(base_path):
/external/linux-tools-perf/
Dbuiltin-script.c668 static int is_directory(const char *base_path, const struct dirent *dent) in is_directory() argument
673 sprintf(path, "%s/%s", base_path, dent->d_name); in is_directory()