Searched defs:relative_path (Results 1 - 25 of 63) sorted by relevance

123

/external/chromium_org/mojo/public/cpp/test_support/lib/
H A Dtest_support.cc13 const std::string& relative_path) {
15 relative_path.c_str());
12 EnumerateSourceRootRelativeDirectory( const std::string& relative_path) argument
/external/chromium_org/mojo/public/cpp/test_support/
H A Dtest_support.h23 inline FILE* OpenSourceRootRelativeFile(const std::string& relative_path) { argument
24 return MojoTestSupportOpenSourceRootRelativeFile(relative_path.c_str());
29 const std::string& relative_path);
/external/chromium_org/extensions/common/
H A Dextension_resource.cc18 const base::FilePath& relative_path)
21 relative_path_(relative_path),
51 const base::FilePath& relative_path,
60 base::FilePath full_path = clean_extension_root.Append(relative_path);
66 relative_path.GetComponents(&components);
16 ExtensionResource(const std::string& extension_id, const base::FilePath& extension_root, const base::FilePath& relative_path) argument
49 GetFilePath( const base::FilePath& extension_root, const base::FilePath& relative_path, SymlinkPolicy symlink_policy) argument
H A Dextension_resource.h31 const base::FilePath& relative_path);
54 const base::FilePath& relative_path,
60 const base::FilePath& relative_path() const { return relative_path_; } function in class:extensions::ExtensionResource
H A Dextension_resource_unittest.cc23 EXPECT_TRUE(resource.relative_path().empty());
37 base::FilePath relative_path; local
38 relative_path = relative_path.AppendASCII("cira.js");
40 ExtensionResource resource(extension_id, root_path, relative_path);
44 EXPECT_EQ(relative_path.value(), resource.relative_path().value());
161 ToLower(resource.relative_path().value()));
/external/chromium_org/testing/gtest/test/
H A Dgtest-options_test.cc63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { argument
64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path);
/external/gtest/test/
H A Dgtest-options_test.cc63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { argument
64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path);
/external/protobuf/gtest/test/
H A Dgtest-options_test.cc63 FilePath GetAbsolutePathOf(const FilePath& relative_path) { argument
64 return FilePath::ConcatPaths(FilePath::GetCurrentDir(), relative_path);
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_component_extension_resource_manager.cc71 base::FilePath relative_path; local
73 !resources_dir.AppendRelativePath(directory_path, &relative_path)) {
76 relative_path = relative_path.Append(resource_path);
77 relative_path = relative_path.NormalizePathSeparators();
80 path_to_resource_id_.find(relative_path);
H A Dchrome_url_request_util.cc162 base::FilePath relative_path; local
170 resources_path.AppendRelativePath(directory_path, &relative_path)) {
178 relative_path = relative_path.Append(request_path);
179 relative_path = relative_path.NormalizePathSeparators();
182 relative_path,
/external/chromium_org/extensions/browser/
H A Dcontent_hash_reader.cc30 const base::FilePath& relative_path,
35 relative_path_(relative_path),
27 ContentHashReader(const std::string& extension_id, const base::Version& extension_version, const base::FilePath& extension_root, const base::FilePath& relative_path, const ContentVerifierKey& key) argument
H A Dcontent_hash_reader.h26 // Create one of these to get expected hashes for the file at |relative_path|
31 const base::FilePath& relative_path,
35 const base::FilePath& relative_path() const { return relative_path_; } function in class:extensions::ContentHashReader
H A Dcomputed_hashes.cc76 base::FilePath relative_path =
78 relative_path = relative_path.NormalizePathSeparatorsTo('/');
80 data_[relative_path] = HashInfo(block_size, std::vector<std::string>());
81 std::vector<std::string>* hashes = &(data_[relative_path].second);
99 bool ComputedHashes::Reader::GetHashes(const base::FilePath& relative_path, argument
102 base::FilePath path = relative_path.NormalizePathSeparatorsTo('/');
133 void ComputedHashes::Writer::AddHashes(const base::FilePath& relative_path, argument
140 relative_path.NormalizePathSeparatorsTo('/').AsUTF8Unsafe());
H A Dcontent_verifier.cc57 const base::FilePath& relative_path) {
66 paths.insert(relative_path);
76 relative_path,
242 const base::FilePath& relative_path = *i; local
244 if (relative_path == base::FilePath(kManifestFilename))
247 if (ContainsKey(browser_images, relative_path))
250 base::FilePath full_path = extension_root.Append(relative_path);
54 CreateJobFor( const std::string& extension_id, const base::FilePath& extension_root, const base::FilePath& relative_path) argument
/external/chromium_org/extensions/common/manifest_handlers/
H A Dweb_accessible_resources_info.cc38 const std::string& relative_path) {
48 info->web_accessible_resources_, relative_path);
74 std::string relative_path; local
75 if (!list_value->GetString(i, &relative_path)) {
86 while (relative_path[0] == '/')
87 relative_path = relative_path.substr(1, relative_path.length() - 1);
88 pattern.SetPath(pattern.path() + relative_path);
36 IsResourceWebAccessible( const Extension* extension, const std::string& relative_path) argument
H A Dcsp_info.cc67 const std::string& relative_path) {
68 return SandboxedPageInfo::IsSandboxedPage(extension, relative_path) ?
65 GetResourceContentSecurityPolicy( const Extension* extension, const std::string& relative_path) argument
H A Dsandboxed_page_info.cc54 const std::string& relative_path) {
55 return extension->ResourceMatches(GetPages(extension), relative_path);
74 std::string relative_path; local
75 if (!list_value->GetString(i, &relative_path)) {
86 while (relative_path[0] == '/')
87 relative_path = relative_path.substr(1, relative_path.length() - 1);
88 pattern.SetPath(pattern.path() + relative_path);
53 IsSandboxedPage(const Extension* extension, const std::string& relative_path) argument
H A Dwebview_info.cc74 const std::string& relative_path) {
86 relative_path)) {
160 std::string relative_path; local
161 if (!url_list->GetString(i, &relative_path)) {
168 relative_path).spec());
71 IsResourceWebviewAccessible( const Extension* extension, const std::string& partition_id, const std::string& relative_path) argument
/external/chromium_org/mojo/common/test/
H A Dtest_support_impl.cc22 base::FilePath ResolveSourceRootRelativePath(const char* relative_path) { argument
28 base::SplitString(relative_path, '/', &components);
52 FILE* TestSupportImpl::OpenSourceRootRelativeFile(const char* relative_path) { argument
53 return base::OpenFile(ResolveSourceRootRelativePath(relative_path), "rb");
57 const char* relative_path) {
59 base::FileEnumerator e(ResolveSourceRootRelativePath(relative_path), false,
56 EnumerateSourceRootRelativeDirectory( const char* relative_path) argument
/external/chromium_org/mojo/public/tests/
H A Dtest_support_private.cc24 FILE* MojoTestSupportOpenSourceRootRelativeFile(const char* relative_path) { argument
26 return g_test_support->OpenSourceRootRelativeFile(relative_path);
32 const char* relative_path) {
34 return g_test_support->EnumerateSourceRootRelativeDirectory(relative_path);
31 MojoTestSupportEnumerateSourceRootRelativeDirectory( const char* relative_path) argument
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dcore-extensions.rb184 # File.relative_path('rel/path') # => './rel/path'
185 # File.relative_path('/some/abs/path', '/some') # => './abs/path'
186 # File.relative_path('/some/file.txt', '/some/abs/path') # => '../../file.txt'
187 def self.relative_path( target, reference = Dir.pwd ) singleton method in class:File
/external/chromium_org/components/cloud_devices/common/
H A Dcloud_devices_urls.cc51 GURL GetCloudPrintRelativeURL(const std::string& relative_path) { argument
57 base::TrimString(relative_path, kURLPathSeparator, &trimmed_path);
113 GURL GetCloudDevicesRelativeURL(const std::string& relative_path) { argument
119 base::TrimString(relative_path, kURLPathSeparator, &trimmed_path);
/external/chromium_org/chrome/test/chromedriver/
H A Dchrome_launcher_unittest.cc33 bool AddExtensionForInstall(const std::string& relative_path, argument
38 "chrome/test/data/chromedriver/" + relative_path);
/external/chromium_org/storage/browser/fileapi/
H A Dfile_system_dir_url_request_job.cc137 base::FilePath relative_path = url_.path(); local
139 relative_path =
140 base::FilePath(FILE_PATH_LITERAL("/") + relative_path.value());
142 const base::string16& title = relative_path.LossyDisplayName();
/external/chromium_org/third_party/zlib/google/
H A Dzip.cc54 base::FilePath relative_path; local
55 bool result = root_path.AppendRelativePath(path, &relative_path);
57 std::string str_path = relative_path.AsUTF8Unsafe();

Completed in 517 milliseconds

123