Searched refs:relative_path (Results 1 - 25 of 122) sorted by relevance

12345

/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/mojo/common/test/
H A Dtest_support_impl.h22 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) OVERRIDE;
23 virtual char** EnumerateSourceRootRelativeDirectory(const char* relative_path)
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.h28 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) = 0;
30 const char* relative_path) = 0;
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/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 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 Dweb_accessible_resources_info.h25 const std::string& relative_path);
/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/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,
H A Dcontent_verifier_browsertest.cc97 const base::FilePath& relative_path,
107 const base::FilePath& relative_path) OVERRIDE;
110 const base::FilePath& relative_path,
122 const base::FilePath& relative_path,
125 ExtensionFile(extension_id, relative_path), expected_to_fail));
143 const base::FilePath& relative_path) {
147 const base::FilePath& relative_path,
150 extension_id, relative_path.NormalizePathSeparatorsTo('/')));
121 ExpectJobResult(const std::string& extension_id, const base::FilePath& relative_path, bool expected_to_fail) argument
142 JobStarted(const std::string& extension_id, const base::FilePath& relative_path) argument
146 JobFinished(const std::string& extension_id, const base::FilePath& relative_path, bool failed) argument
/external/chromium_org/extensions/common/
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.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_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/components/cloud_devices/common/
H A Dcloud_devices_urls.h20 GURL GetCloudPrintRelativeURL(const std::string& relative_path);
28 GURL GetCloudDevicesRelativeURL(const std::string& relative_path);
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_galleries_preferences_unittest.cc270 base::FilePath relative_path,
275 expected_galleries_[id].path = relative_path.NormalizePathSeparators();
287 base::FilePath relative_path,
291 AddGalleryExpectation(id, display_name, device_id, relative_path,
300 const base::FilePath& relative_path,
306 device_id, display_name, relative_path, type,
313 const base::FilePath& relative_path,
319 device_id, display_name, relative_path, type,
326 const base::FilePath& relative_path,
329 device_id, display_name, relative_path, typ
268 AddGalleryExpectation(MediaGalleryPrefId id, base::string16 display_name, std::string device_id, base::FilePath relative_path, MediaGalleryPrefInfo::Type type) argument
284 AddScanResultExpectation(MediaGalleryPrefId id, base::string16 display_name, std::string device_id, base::FilePath relative_path, int audio_count, int image_count, int video_count) argument
298 AddGalleryWithNameV0(const std::string& device_id, const base::string16& display_name, const base::FilePath& relative_path, bool user_added) argument
311 AddGalleryWithNameV1(const std::string& device_id, const base::string16& display_name, const base::FilePath& relative_path, bool user_added) argument
324 AddGalleryWithNameV2(const std::string& device_id, const base::string16& display_name, const base::FilePath& relative_path, MediaGalleryPrefInfo::Type type) argument
339 base::FilePath relative_path; local
389 base::FilePath relative_path; local
606 base::FilePath relative_path; local
644 base::FilePath relative_path; local
682 base::FilePath relative_path; local
725 base::FilePath relative_path; local
765 base::FilePath relative_path; local
795 base::FilePath relative_path; local
975 base::FilePath relative_path; local
1003 base::FilePath relative_path; local
1083 base::FilePath relative_path; local
1196 base::FilePath relative_path; local
[all...]
/external/chromium_org/testing/gtest/scripts/
H A Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path):
89 relative_path is the file path relative to the given directory.
92 if not os.path.isfile(os.path.join(directory, relative_path)):
93 print 'ERROR: Cannot find %s in directory %s.' % (relative_path,
110 def VerifyOutputFile(output_dir, relative_path):
113 relative_path is relative to the output_dir directory.
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/protobuf/gtest/scripts/
H A Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path):
89 relative_path is the file path relative to the given directory.
92 if not os.path.isfile(os.path.join(directory, relative_path)):
93 print 'ERROR: Cannot find %s in directory %s.' % (relative_path,
110 def VerifyOutputFile(output_dir, relative_path):
113 relative_path is relative to the output_dir directory.
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/chromium_org/extensions/browser/
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 Dcomputed_hashes.h31 // The block size and hashes for |relative_path| will be copied into the
33 bool GetHashes(const base::FilePath& relative_path,
49 // Adds hashes for |relative_path|. Should not be called more than once
50 // for a given |relative_path|.
51 void AddHashes(const base::FilePath& relative_path,
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 Dcontent_verify_job.h84 const base::FilePath& relative_path) = 0;
87 const base::FilePath& relative_path,
H A Dverified_contents.h49 bool HasTreeHashRoot(const base::FilePath& relative_path) const;
51 bool TreeHashRootEquals(const base::FilePath& relative_path,
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfileapi_util.cc32 GURL ConvertRelativeFilePathToFileSystemUrl(const base::FilePath& relative_path, argument
38 net::EscapeUrlEncodedData(relative_path.AsUTF8Unsafe(),
261 base::FilePath relative_path; local
265 &relative_path);
266 return relative_path;
272 const base::FilePath relative_path = local
275 if (relative_path.empty())
277 return ConvertRelativeFilePathToFileSystemUrl(relative_path, extension_id);
284 base::FilePath relative_path; local
288 &relative_path)) {
[all...]

Completed in 7210 milliseconds

12345