Searched refs:source_root (Results 1 - 17 of 17) 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.h41 // If source_root is supplied, these functions will additionally handle the
46 const base::StringPiece& source_root = base::StringPiece()) const;
49 const base::StringPiece& source_root = base::StringPiece()) const;
53 base::FilePath Resolve(const base::FilePath& source_root) const;
H A Dfilesystem_utils.cc351 bool MakeAbsolutePathRelativeIfPossible(const base::StringPiece& source_root, argument
354 DCHECK(IsPathAbsolute(source_root));
359 if (source_root.size() > path.size())
366 DCHECK(source_root.size() > 2 && source_root[0] != '/' &&
367 source_root[1] == ':' && IsSlash(source_root[2]));
372 if (AreAbsoluteWindowsPathsEqual(source_root,
373 path.substr(0, source_root.size())))
374 after_common_index = source_root
594 SourceDirForPath(const base::FilePath& source_root, const base::FilePath& path) argument
637 SourceDirForCurrentDirectory(const base::FilePath& source_root) argument
[all...]
H A Dsource_file.cc51 base::FilePath SourceFile::Resolve(const base::FilePath& source_root) const {
67 return source_root.Append(UTF8ToFilePath(converted))
H A Dfilesystem_utils.h110 // The source_root should be a base::FilePath converted to UTF-8. On Windows,
115 bool MakeAbsolutePathRelativeIfPossible(const base::StringPiece& source_root,
144 // given source_root, a source-relative directory will be returned (e.g.
147 SourceDir SourceDirForPath(const base::FilePath& source_root,
152 SourceDir SourceDirForCurrentDirectory(const base::FilePath& source_root);
H A Dsource_file.h44 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/third_party/cython/src/
H A Dsetup.py98 source_root = os.path.abspath(os.path.dirname(__file__))
129 source_file = os.path.join(source_root, *module.split('.'))
162 sys.path.insert(0, os.path.join(source_root, self.build_lib))
188 source_root = os.path.dirname(__file__) variable in class:compile_cython_modules.build_ext
190 source_file = os.path.join(source_root, *module.split('.'))
/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.cc116 base::FilePath source_root; local
117 ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &source_root));
122 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.py1083 (source_root, source_extension) = posixpath.splitext(source)
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dinput.py2551 (source_root, source_extension) = os.path.splitext(source)

Completed in 339 milliseconds