Home
last modified time | relevance | path

Searched refs:root_path (Results 1 - 25 of 40) sorted by relevance

12

/third_party/gn/src/gn/
H A Djson_project_writer_unittest.cc44 base::FilePath root_path = in TEST_F() local
47 base::FilePath root_path = base::FilePath(FILE_PATH_LITERAL("/path/to/src")); in TEST_F() local
49 setup.build_settings()->SetRootPath(root_path); in TEST_F()
50 g_scheduler->AddGenDependency(root_path.Append(FILE_PATH_LITERAL(".gn"))); in TEST_F()
52 root_path.Append(FILE_PATH_LITERAL("BUILD.gn"))); in TEST_F()
54 root_path.Append(FILE_PATH_LITERAL("build/BUILD.gn"))); in TEST_F()
68 " \"root_path\": \"c:/path/to/src\"\n" in TEST_F()
70 " \"root_path\": \"/path/to/src\"\n" in TEST_F()
293 "root_path": ""
517 base::FilePath root_path
[all...]
H A Dsetup.cc672 SourceDirForCurrentDirectory(build_settings_.root_path());
723 base::FilePath root_path;
729 root_path = base::MakeAbsoluteFilePath(relative_root_path);
730 if (root_path.empty()) {
743 dotfile_name_ = root_path.Append(kGnFile);
768 root_path = dotfile_name_.DirName();
771 base::FilePath root_realpath = base::MakeAbsoluteFilePath(root_path);
775 FilePathToUTF8(root_path) + "\".");
789 SourceDirForCurrentDirectory(build_settings_.root_path())
811 resolved = SourceDirForPath(build_settings_.root_path(), build_dir_realpat
[all...]
H A Dninja_build_writer.cc57 build_settings->build_dir().Resolve(build_settings->root_path()); in GetSelfInvocationCommandLine()
71 base::FilePath root_path = build_settings->root_path(); in GetSelfInvocationCommandLine() local
73 root_path = MakeAbsoluteFilePathRelativeIfPossible(build_path, root_path); in GetSelfInvocationCommandLine()
76 root_path.NormalizePathSeparatorsTo('/')); in GetSelfInvocationCommandLine()
361 build_settings_->build_dir().Resolve(build_settings_->root_path()); in WriteNinjaRules()
H A Dcommands.cc51 SourceDirForCurrentDirectory(setup->build_settings().root_path()), in ResolveTargetsFromCommandLinePattern()
226 return build_gn->Resolve(item->settings()->build_settings()->root_path()); in BuildFileForItem()
562 SourceDirForCurrentDirectory(setup->build_settings().root_path()), in ResolveTargetFromCommandLineString()
608 SourceDirForCurrentDirectory(setup->build_settings().root_path()); in ResolveFromCommandLineInput()
H A Dohos_components_mapping.cc40 base::FilePath file = base::FilePath(settings->root_path().MaybeAsASCII() + path); in GetRealImportFile()
H A Dbuild_settings.h49 const base::FilePath& root_path() const { return root_path_; } in root_path() function in BuildSettings
/third_party/icu/ohos_icu4c/build_data/
H A Dpkgdata.sh49 root_path="$script_path/../../../.."
51 if ! root_path=$(realpath "$root_path"); then
52 echo "Cannot find real path for root_path '$root_path'."
56 out_put_root_path="$root_path/$out_put_root_path"
57 tool_bin_dir="$root_path/$tool_bin_dir/thirdparty/icu"
58 icu_source_path="$root_path/third_party/icu/icu4c"
/third_party/gn/src/base/files/
H A Dfile_enumerator_win.cc19 const FilePath& root_path, in BuildSearchFilter()
25 return root_path.Append(pattern); in BuildSearchFilter()
27 return root_path.Append(u"*"); in BuildSearchFilter()
64 FileEnumerator::FileEnumerator(const FilePath& root_path, in FileEnumerator() argument
67 : FileEnumerator(root_path, in FileEnumerator()
73 FileEnumerator::FileEnumerator(const FilePath& root_path, in FileEnumerator() argument
77 : FileEnumerator(root_path, in FileEnumerator()
83 FileEnumerator::FileEnumerator(const FilePath& root_path, in FileEnumerator() argument
95 pending_paths_.push(root_path); in FileEnumerator()
18 BuildSearchFilter(FileEnumerator::FolderSearchPolicy policy, const FilePath& root_path, const FilePath::StringType& pattern) BuildSearchFilter() argument
H A Dfile_enumerator_posix.cc58 FileEnumerator::FileEnumerator(const FilePath& root_path, in FileEnumerator() argument
61 : FileEnumerator(root_path, in FileEnumerator()
67 FileEnumerator::FileEnumerator(const FilePath& root_path, in FileEnumerator() argument
71 : FileEnumerator(root_path, in FileEnumerator()
77 FileEnumerator::FileEnumerator(const FilePath& root_path, in FileEnumerator() argument
83 root_path_(root_path), in FileEnumerator()
91 pending_paths_.push(root_path); in FileEnumerator()
H A Dfile_enumerator.h50 // includes the |root_path| passed into the FileEnumerator constructor.
96 // |root_path| is the starting directory to search for. It may or may not end
113 FileEnumerator(const FilePath& root_path, bool recursive, int file_type);
114 FileEnumerator(const FilePath& root_path,
118 FileEnumerator(const FilePath& root_path,
127 // The returned path will incorporate the |root_path| passed in the
128 // constructor: "<root_path>/file_name.txt". If the |root_path| is absolute,
H A Dfile_util.cc37 int64_t ComputeDirectorySize(const FilePath& root_path) { in ComputeDirectorySize() argument
39 FileEnumerator file_iter(root_path, true, FileEnumerator::FILES); in ComputeDirectorySize()
H A Dfile_util.h47 // Returns the total number of bytes used by all the files under |root_path|.
52 int64_t ComputeDirectorySize(const FilePath& root_path);
/third_party/icu/icu4c/source/test/depstest/
H A Ddepstest.py57 def _ReadObjFile(root_path, library_name, obj_name):
66 path = os.path.join(root_path, library_name, obj_name)
99 def _ReadLibrary(root_path, library_name):
100 obj_paths = glob.glob(os.path.join(root_path, library_name, "*.o"))
102 _ReadObjFile(root_path, library_name, os.path.basename(path))
175 def Process(root_path):
191 _ReadLibrary(root_path, library_name)
/third_party/cJSON/tests/unity/auto/
H A Dstylize_as_junit.rb23 options.root_path = '.'
37 o.on('-p', '--root_path <path>', 'Prepend this path to files in results.') do |root_path|
38 options.root_path = root_path
127 puts ' -p, --root_path <path> Prepend this path to files in results.'
241 utj.root = options.root_path
H A Dunity_to_junit.py115 print("\nUsage: unity_test_summary.py result_file_directory/ root_path/")
119 print(" root_path - Helpful for producing more verbose output if using relative paths.")
138 root_path = sys.argv[2]
140 root_path = os.path.split(__file__)[0]
141 uts.set_root_path(root_path)
H A Dunity_test_summary.py78 print("\nUsage: unity_test_summary.py result_file_directory/ root_path/")
82 print(" root_path - Helpful for producing more verbose output if using relative paths.")
131 root_path = sys.argv[2]
133 root_path = os.path.split(__file__)[0]
134 uts.set_root_path(root_path)
/third_party/unity/auto/
H A Dstylize_as_junit.rb23 options.root_path = '.'
37 o.on('-p', '--root_path <path>', 'Prepend this path to files in results.') do |root_path|
38 options.root_path = root_path
127 puts ' -p, --root_path <path> Prepend this path to files in results.'
240 utj.root = options.root_path
H A Dunity_test_summary.py78 print("\nUsage: unity_test_summary.py result_file_directory/ root_path/")
82 print(" root_path - Helpful for producing more verbose output if using relative paths.")
131 root_path = sys.argv[2]
133 root_path = os.path.split(__file__)[0]
134 uts.set_root_path(root_path)
/third_party/node/deps/v8/src/torque/
H A Dsource-positions.cc26 const std::string& root_path = PathFromV8Root(file); in AbsolutePath() local
27 if (StringStartsWith(root_path, "file://")) return root_path; in AbsolutePath()
/third_party/skia/third_party/externals/sfntly/cpp/tools/
H A Dutils.py50 root_path = os.path.join(root, path)
53 paths.append(root_path)
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
H A Dmacro_checker.py21 macro_checker_file_type, root_path):
28 root_path -- A Path object for the root of this repository.
33 self.root_path = root_path
H A Dshared.py75 def toNameAndLine(context, root_path=None):
78 if root_path:
79 my_fn = my_fn.relative_to(root_path)
H A Dconsole_printer.py179 locations = ', '.join((toNameAndLine(context, root_path=checker.root_path)
/third_party/skia/third_party/externals/abseil-cpp/absl/
H A Dabseil.podspec.gen.py101 def collect_rules(root_path):
104 for cur, _, _ in os.walk(root_path):
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DPath.h245 StringRef root_path(StringRef path);
256 /// @result The path starting after root_path if one exists, otherwise "".
381 /// root_path != ""

Completed in 13 milliseconds

12