/external/chromium/base/memory/ |
scoped_temp_dir.cc | 31 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { 35 // If |base_path| does not exist, create it. 36 if (!file_util::CreateDirectory(base_path)) 39 // Create a new, uniquely named directory under |base_path|. 41 base_path,
|
scoped_temp_dir_unittest.cc | 62 FilePath base_path; local 64 &base_path); 69 EXPECT_TRUE(dir.CreateUniqueTempDirUnderPath(base_path)); 72 EXPECT_TRUE(base_path.IsParent(test_path)); 73 EXPECT_TRUE(test_path.value().find(base_path.value()) != std::string::npos);
|
/external/chromium/chrome/browser/net/ |
url_request_slow_http_job.h | 23 static void AddUrlHandler(const FilePath& base_path);
|
url_request_mock_http_job.h | 29 static void AddUrlHandler(const FilePath& base_path); 41 static FilePath GetOnDiskPath(const FilePath& base_path,
|
url_request_mock_http_job.cc | 31 void URLRequestMockHTTPJob::AddUrlHandler(const FilePath& base_path) { 32 base_path_ = base_path; 60 FilePath URLRequestMockHTTPJob::GetOnDiskPath(const FilePath& base_path, 63 // Conceptually we just want to "return base_path + request->url().path()". 67 GURL file_url(net::FilePathToFileURL(base_path));
|
url_request_slow_http_job.cc | 28 void URLRequestSlowHTTPJob::AddUrlHandler(const FilePath& base_path) { 29 base_path_ = base_path;
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_editor_view_unittest.cc | 44 std::string base_path() const { return "file:///c:/tmp/"; } function in class:BookmarkEditorViewTest 47 return model_->GetMostRecentlyAddedNodeForURL(GURL(base_path() + name)); 108 std::string test_base = base_path(); 167 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->GetURL()); 177 SetURLText(UTF8ToWide(GURL(base_path() + "new_a").spec())); 185 ASSERT_TRUE(GURL(base_path() + "new_a") == bb_node->GetChild(0)->GetURL()); 198 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL()); 208 SetURLText(UTF8ToWide(GURL(base_path() + "new_a").spec())); 214 ASSERT_TRUE(GURL(base_path() + "new_a") == other_node->GetChild(2)->GetURL()); 256 SetURLText(UTF8ToWide(GURL(base_path() + "a").spec())) [all...] |
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
bookmark_editor_gtk_unittest.cc | 55 std::string base_path() const { return "file:///c:/tmp/"; } function in class:BookmarkEditorGtkTest 58 return model_->GetMostRecentlyAddedNodeForURL(GURL(base_path() + name)); 75 std::string test_base = base_path(); 151 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->GetURL()); 161 GURL(base_path() + "new_a").spec().c_str()); 172 ASSERT_TRUE(GURL(base_path() + "new_a") == bb_node->GetChild(0)->GetURL()); 190 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL()); 202 GURL(base_path() + "new_a").spec().c_str()); 212 ASSERT_TRUE(GURL(base_path() + "new_a") == other_node->GetChild(2)->GetURL()); 271 GURL(base_path() + "a").spec().c_str()) [all...] |
/external/chromium/net/tools/dump_cache/ |
url_to_filename_encoder.h | 93 // Given a |url| and a |base_path|, returns a filename which represents this 98 static std::string Encode(const std::string& url, std::string base_path, 103 EncodeSegment(base_path, url_no_scheme, '/', &filename); 113 filename.append(base_path);
|
cache_dumper.cc | 74 std::string base_path = WideToASCII(path_); local 76 net::UrlToFilenameEncoder::Encode(url, base_path, false);
|
url_to_filename_encoder_unittest.cc | 90 void ValidateUrl(const string& url, const string& base_path, 93 url, base_path, legacy_escape);
|
/development/scripts/ |
divide_and_compress.py | 135 self.base_path = base_dir 151 os.path.walk(self.base_path, self.CompressDirectory, 1) 303 self.base_path, archive_obj.infolist()[0].filename)) 335 archive.write(filepath, filepath[len(self.base_path):])
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
filesystem_unittest.py | 105 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/ |
regenerate-coverage-display | 66 (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)
|
run-generate-coverage-data | 85 def collect_cov(base_path,targets): 150 for root, dirs, files in os.walk(base_path):
|
/external/chromium/chrome/browser/extensions/ |
external_extension_provider_impl.cc | 128 FilePath base_path = loader_->GetBaseCrxFilePath(); local 129 if (base_path.empty()) { 134 path = base_path.Append(external_crx);
|
extension_browsertests_misc.cc | 212 FilePath base_path = test_data_dir_.AppendASCII("browsertest") local 215 ASSERT_TRUE(LoadExtension(base_path.AppendASCII("ExtA"))); 225 ASSERT_TRUE(LoadExtension(base_path.AppendASCII("ExtB"))); [all...] |
extension_service_unittest.cc | [all...] |
/external/chromium/chrome/common/extensions/docs/build/ |
directory.py | 175 base_path: Base path in which to start the search. 177 A list of paths below base_path pointing at manifest.json files. 561 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/ |
logging_chrome.cc | 163 FilePath GenerateTimestampedName(const FilePath& base_path, 174 return base_path.InsertBeforeExtension(suffix);
|
/external/qemu/ |
block.c | 93 path to it by considering it is relative to base_path. URL are 96 const char *base_path, 107 p = strchr(base_path, ':'); 111 p = base_path; 112 p1 = strrchr(base_path, '/'); 116 p2 = strrchr(base_path, '\\'); 124 p1 = base_path; 127 len = p - base_path; 130 memcpy(dest, base_path, len); [all...] |
block.h | 219 const char *base_path,
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
test_expectations.py | 720 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): [all...] |
/external/linux-tools-perf/ |
builtin-script.c | 668 static int is_directory(const char *base_path, const struct dirent *dent) 673 sprintf(path, "%s/%s", base_path, dent->d_name);
|