Searched refs:source_root (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/tools/gn/
H A Dsource_dir.cc44 const base::StringPiece& source_root) const {
58 if (source_root.empty() ||
59 !MakeAbsolutePathRelativeIfPossible(source_root, p, &ret.value_)) {
82 const base::StringPiece& source_root) const {
95 if (source_root.empty() ||
96 !MakeAbsolutePathRelativeIfPossible(source_root, p, &ret.value_)) {
121 base::FilePath SourceDir::Resolve(const base::FilePath& source_root) const {
138 return source_root.Append(UTF8ToFilePath(converted))
H A Dsource_dir.h40 // If source_root is supplied, these functions will additionally handle the
45 const base::StringPiece& source_root = base::StringPiece()) const;
48 const base::StringPiece& source_root = base::StringPiece()) const;
52 base::FilePath Resolve(const base::FilePath& source_root) const;
H A Dfilesystem_utils.cc377 bool MakeAbsolutePathRelativeIfPossible(const base::StringPiece& source_root, argument
380 DCHECK(IsPathAbsolute(source_root));
385 if (source_root.size() > path.size())
392 DCHECK(source_root.size() > 2 && source_root[0] != '/' &&
393 source_root[1] == ':' && IsSlash(source_root[2]));
398 if (AreAbsoluteWindowsPathsEqual(source_root,
399 path.substr(0, source_root.size())))
400 after_common_index = source_root
620 SourceDirForPath(const base::FilePath& source_root, const base::FilePath& path) argument
663 SourceDirForCurrentDirectory(const base::FilePath& source_root) argument
[all...]
H A Dsource_file.cc44 base::FilePath SourceFile::Resolve(const base::FilePath& source_root) const {
60 return source_root.Append(UTF8ToFilePath(converted))
H A Dfilesystem_utils.h125 // The source_root should be a base::FilePath converted to UTF-8. On Windows,
130 bool MakeAbsolutePathRelativeIfPossible(const base::StringPiece& source_root,
159 // given source_root, a source-relative directory will be returned (e.g.
162 SourceDir SourceDirForPath(const base::FilePath& source_root,
167 SourceDir SourceDirForCurrentDirectory(const base::FilePath& source_root);
H A Dsource_file.h37 base::FilePath Resolve(const base::FilePath& source_root) const;
/external/llvm/utils/llvm-build/llvmbuild/
H A Dmain.py88 def load_from_path(source_root, llvmbuild_source_root):
92 return LLVMProjectInfo(source_root, infos)
94 def __init__(self, source_root, component_infos):
96 self.source_root = source_root
471 p = os.path.join(self.source_root, ci.subpath[1:], 'LLVMBuild.txt')
492 if (path.startswith(self.source_root) and os.path.exists(path)):
796 group.add_option("", "--source-root", dest="source_root", metavar="PATH",
863 source_root = opts.source_root variable
872 source_root = os.path.dirname(utils_path) variable
[all...]
/external/llvm/utils/lit/lit/
H A DTest.py115 def __init__(self, name, source_root, exec_root, config):
117 self.source_root = source_root
123 return os.path.join(self.source_root, *components)
H A Ddiscovery.py49 source_root = os.path.realpath(cfg.test_source_root or path)
51 return Test.TestSuite(cfg.name, source_root, exec_root, cfg), ()
H A Dmain.py295 print(' Source Root: %s' % ts.source_root)
/external/chromium_org/chrome/browser/policy/test/
H A Dlocal_policy_test_server.cc78 base::FilePath source_root; local
79 CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &source_root));
80 config_file_ = source_root
222 base::FilePath source_root; local
223 if (!PathService::Get(base::DIR_SOURCE_ROOT, &source_root)) {
227 *testserver_path = source_root
/external/chromium_org/chrome/browser/media/
H A Dwv_test_license_server_config.cc149 base::FilePath source_root; local
150 PathService::Get(base::DIR_SOURCE_ROOT, &source_root);
151 *path = source_root.Append(FILE_PATH_LITERAL("third_party"))
/external/chromium_org/net/spdy/fuzzing/
H A Dhpack_fuzz_util_test.cc115 base::FilePath source_root; local
116 ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &source_root));
121 source_root.Append(FILE_PATH_LITERAL("net"))
/external/chromium_org/chrome/test/chromedriver/
H A Dchrome_launcher_unittest.cc35 base::FilePath source_root; local
36 PathService::Get(base::DIR_SOURCE_ROOT, &source_root);
37 base::FilePath crx_file_path = source_root.AppendASCII(
/external/chromium_org/tools/gyp/pylib/gyp/generator/
H A Dxcode.py1076 (source_root, source_extension) = posixpath.splitext(source)
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dinput.py2541 (source_root, source_extension) = os.path.splitext(source)

Completed in 6947 milliseconds