Home
last modified time | relevance | path

Searched refs:relative_path (Results 1 – 25 of 62) sorted by relevance

123

/external/chromium/chrome/common/extensions/
Dextension_resource_unittest.cc21 EXPECT_TRUE(resource.relative_path().empty()); in TEST()
34 FilePath relative_path; in TEST() local
35 relative_path = relative_path.AppendASCII("cira.js"); in TEST()
38 ExtensionResource resource(extension_id, root_path, relative_path); in TEST()
42 EXPECT_EQ(relative_path.value(), resource.relative_path().value()); in TEST()
88 ToLower(resource.relative_path().value())); in TEST()
Dextension_resource.cc16 const FilePath& relative_path) in ExtensionResource() argument
19 relative_path_(relative_path) { in ExtensionResource()
41 const FilePath& extension_root, const FilePath& relative_path) { in GetFilePath() argument
48 FilePath full_path = clean_extension_root.Append(relative_path); in GetFilePath()
Dextension_sidebar_utils.cc25 GURL ResolveRelativePath(const std::string& relative_path, in ResolveRelativePath() argument
28 GURL url(extension->GetResourceURL(relative_path)); in ResolveRelativePath()
31 relative_path); in ResolveRelativePath()
Dextension_resource.h23 const FilePath& relative_path);
37 const FilePath& relative_path);
42 const FilePath& relative_path() const { return relative_path_; } in relative_path() function
Dextension_file_util.cc39 static bool IsScriptValid(const FilePath& path, const FilePath& relative_path,
187 js_script.extension_root(), js_script.relative_path()); in ValidateExtension()
188 if (!IsScriptValid(path, js_script.relative_path(), in ValidateExtension()
196 css_script.extension_root(), css_script.relative_path()); in ValidateExtension()
197 if (!IsScriptValid(path, css_script.relative_path(), in ValidateExtension()
461 const FilePath& relative_path, in IsScriptValid() argument
469 relative_path.LossyDisplayName()); in IsScriptValid()
476 relative_path.LossyDisplayName()); in IsScriptValid()
/external/chromium/chrome/browser/extensions/
Dextension_webstore_private_browsertest.cc124 GURL GetUrl(const std::string& relative_path) { in GetUrl() argument
126 "files/extensions/webstore_private/" + relative_path); in GetUrl()
134 const std::string& relative_path, in RunLoginTestImpl() argument
153 GURL url = GetUrl(relative_path); in RunLoginTestImpl()
165 void RunLoginTest(const std::string& relative_path, in RunLoginTest() argument
170 relative_path, in RunLoginTest()
175 relative_path, in RunLoginTest()
Dexecute_code_in_tab_function.cc107 std::string relative_path; in RunImpl() local
109 if (!script_info->GetString(keys::kFileKey, &relative_path)) in RunImpl()
111 resource_ = GetExtension()->GetResource(relative_path); in RunImpl()
113 if (resource_.extension_root().empty() || resource_.relative_path().empty()) { in RunImpl()
135 resource_.relative_path().value()); in DidLoadFile()
138 WideToUTF8(resource_.relative_path().value())); in DidLoadFile()
Dextension_protocols.cc143 FilePath relative_path = directory_path.BaseName().Append( in CreateExtensionURLRequestJob() local
146 relative_path = relative_path.NormalizeWindowsPathSeparators(); in CreateExtensionURLRequestJob()
158 if (relative_path == bm_resource_path) { in CreateExtensionURLRequestJob()
159 return new URLRequestResourceBundleJob(request, relative_path, in CreateExtensionURLRequestJob()
Dsandboxed_extension_unpacker.cc584 FilePath relative_path = FilePath::FromWStringHack(UTF8ToWide(*key_it)); in RewriteCatalogFiles() local
585 relative_path = relative_path.Append(Extension::kMessagesFilename); in RewriteCatalogFiles()
586 if (relative_path.IsAbsolute() || relative_path.ReferencesParent()) { in RewriteCatalogFiles()
595 FilePath path = extension_root_.Append(relative_path); in RewriteCatalogFiles()
Dconvert_user_script_unittest.cc49 extension->path().Append(script.js_scripts()[0].relative_path()))); in TEST()
88 extension->path().Append(script.js_scripts()[0].relative_path()))); in TEST()
/external/protobuf/gtest/scripts/
Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path): argument
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): argument
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/gtest/scripts/
Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path): argument
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): argument
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/chromium/testing/gtest/scripts/
Dfuse_gtest_files.py86 def VerifyFileExists(directory, relative_path): argument
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): argument
117 output_file = os.path.join(output_dir, relative_path)
123 (relative_path, output_dir))
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dtest.py367 relative_path = self.relative_test_filename(filename)
371 if (relative_path.startswith(LAYOUTTEST_WEBSOCKET_DIR)
372 or relative_path.startswith(LAYOUTTEST_HTTP_DIR)):
373 relative_path = relative_path[len(LAYOUTTEST_HTTP_DIR):]
380 if (port and not relative_path.startswith("local/") and
381 not relative_path.startswith("media/")):
382 if relative_path.startswith("ssl/"):
387 return "%s://127.0.0.1:%u/%s" % (protocol, port, relative_path)
Dbase.py395 relative_path = self.relative_test_filename(filename)
399 if (relative_path.startswith(LAYOUTTEST_WEBSOCKET_DIR)
400 or relative_path.startswith(LAYOUTTEST_HTTP_DIR)):
401 relative_path = relative_path[len(LAYOUTTEST_HTTP_DIR):]
408 if (port and not relative_path.startswith("local/")):
409 if relative_path.startswith("ssl/"):
414 return "%s://127.0.0.1:%u/%s" % (protocol, port, relative_path)
/external/webkit/Tools/Scripts/
Dcheck-for-inappropriate-files-in-framework43 def print_inappropriate_file_error framework, relative_path
44 print_error "#{framework}.framework/#{relative_path} should not be present in the framework."
Dmake-gypi49 relative_path = os.path.join(directory_path, file_name)
50 collected_files.append(os.path.relpath(relative_path, '.'))
/external/v8/test/cctest/
Dtestcfg.py102 relative_path = raw_test.split('/')
103 full_path = current_path + relative_path
105 dependency = relative_path[0] + '/' + dependency
/external/chromium/chrome/browser/ui/webui/
Dchrome_url_data_manager_backend.cc415 std::string relative_path; in IsSupportedURL() local
416 URLToRequest(stripped_url, &source_name, &relative_path); in IsSupportedURL()
424 FilePath p(FilePath::StringType(relative_path.begin(), relative_path.end())); in IsSupportedURL()
432 *path = inspector_dir.AppendASCII(relative_path); in IsSupportedURL()
/external/bluetooth/glib/gio/tests/
Dg-file.c357 char *relative_path = NULL; in get_relative_path() local
377 relative_path = g_file_get_relative_path (file1, file2); in get_relative_path()
380 g_assert (relative_path != NULL); in get_relative_path()
382 file3 = g_file_resolve_relative_path (file1, relative_path); in get_relative_path()
393 return relative_path; in get_relative_path()
Ddesktop-app-info.c185 char *relative_path; in cleanup_dir_recurse() local
202 relative_path = g_file_get_relative_path (root, descend); in cleanup_dir_recurse()
203 g_assert (relative_path != NULL); in cleanup_dir_recurse()
/external/protobuf/gtest/src/
Dgtest-filepath.cc161 const FilePath& relative_path) { in ConcatPaths() argument
163 return relative_path; in ConcatPaths()
166 relative_path.c_str())); in ConcatPaths()
/external/gtest/src/
Dgtest-filepath.cc192 const FilePath& relative_path) { in ConcatPaths() argument
194 return relative_path; in ConcatPaths()
197 relative_path.c_str())); in ConcatPaths()
/external/llvm/utils/unittest/googletest/
Dgtest-filepath.cc192 const FilePath& relative_path) { in ConcatPaths() argument
194 return relative_path; in ConcatPaths()
197 relative_path.c_str())); in ConcatPaths()
/external/chromium/testing/gtest/src/
Dgtest-filepath.cc192 const FilePath& relative_path) { in ConcatPaths() argument
194 return relative_path; in ConcatPaths()
197 relative_path.c_str())); in ConcatPaths()

123