Home
last modified time | relevance | path

Searched refs:current_dir (Results 1 - 25 of 37) sorted by relevance

12

/third_party/gn/src/gn/
H A Dvalue_extractors.cc121 : build_settings(build_settings_in), current_dir(current_dir_in) {} in RelativeFileConverter()
123 *out = current_dir.ResolveRelativeFile(v, err, in operator ()()
128 const SourceDir& current_dir; member
134 : build_settings(build_settings_in), current_dir(current_dir_in) {} in LibFileConverter()
146 *out = LibFile(current_dir.ResolveRelativeFile( in operator ()()
152 const SourceDir& current_dir; member
158 : build_settings(build_settings_in), current_dir(current_dir_in) {} in RelativeDirConverter()
160 *out = current_dir.ResolveRelativeDir(v, err, in operator ()()
165 const SourceDir& current_dir; member
171 : build_settings(build_settings_in), current_dir(current_dir_i in ExternConverter()
204 const SourceDir& current_dir; global() member
224 const SourceDir& current_dir; global() member
269 const SourceDir& current_dir; global() member
291 const SourceDir& current_dir; global() member
321 const SourceDir& current_dir; global() member
336 const SourceDir& current_dir; global() member
356 ExtractListOfRelativeFiles(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, std::vector<SourceFile>* files, Err* err) ExtractListOfRelativeFiles() argument
365 ExtractListOfLibs(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, std::vector<LibFile>* libs, Err* err) ExtractListOfLibs() argument
374 ExtractListOfRelativeDirs(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, std::vector<SourceDir>* dest, Err* err) ExtractListOfRelativeDirs() argument
383 ExtractListOfLabels(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, const Label& current_toolchain, LabelTargetVector* dest, Err* err) ExtractListOfLabels() argument
394 ExtractListOfLabelsMapping(const std::string& label, const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, const Label& current_toolchain, LabelTargetVector* dest, LabelTargetVector* whole_dest, LabelTargetVector* no_whole_dest, Err* err) ExtractListOfLabelsMapping() argument
408 ExtractListOfExternalDeps(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, const Label& current_toolchain, LabelTargetVector* dest, LabelTargetVector* whole_dest, LabelTargetVector* no_whole_dest, Err* err) ExtractListOfExternalDeps() argument
421 ExtractListOfUniqueLabels(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, const Label& current_toolchain, UniqueVector<Label>* dest, Err* err) ExtractListOfUniqueLabels() argument
432 ExtractListOfUniqueLabels(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, const Label& current_toolchain, UniqueVector<LabelConfigPair>* dest, Err* err) ExtractListOfUniqueLabels() argument
443 ExtractListOfUniqueLabels(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, const Label& current_toolchain, UniqueVector<LabelTargetPair>* dest, Err* err) ExtractListOfUniqueLabels() argument
454 ExtractRelativeFile(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, SourceFile* file, Err* err) ExtractRelativeFile() argument
463 ExtractListOfLabelPatterns(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, std::vector<LabelPattern>* patterns, Err* err) ExtractListOfLabelPatterns() argument
472 ExtractListOfExterns(const BuildSettings* build_settings, const Value& value, const SourceDir& current_dir, std::vector<std::pair<std::string, LibFile>>* externs, Err* err) ExtractListOfExterns() argument
[all...]
H A Dvalue_extractors.h31 const SourceDir& current_dir,
39 const SourceDir& current_dir,
46 const SourceDir& current_dir,
54 const SourceDir& current_dir,
62 const SourceDir& current_dir,
71 const SourceDir& current_dir,
84 const SourceDir& current_dir,
90 const SourceDir& current_dir,
96 const SourceDir& current_dir,
103 const SourceDir& current_dir,
[all...]
H A Dfunction_get_path_info.cc30 // |current_dir|), regardless of whether the input is a directory or a file.
32 const SourceDir& current_dir, in DirForInput()
40 return current_dir.ResolveRelativeDir( in DirForInput()
45 return current_dir in DirForInput()
52 const SourceDir& current_dir, in GetOnePathInfo()
95 DirForInput(settings, current_dir, input, err), BuildDirType::GEN)); in GetOnePathInfo()
100 DirForInput(settings, current_dir, input, err), BuildDirType::OBJ)); in GetOnePathInfo()
106 return current_dir.ResolveRelativeAs( in GetOnePathInfo()
230 const SourceDir& current_dir = scope->GetSourceDir();
232 return Value(function, GetOnePathInfo(scope->settings(), current_dir, wha
31 DirForInput(const Settings* settings, const SourceDir& current_dir, const Value& input, Err* err) DirForInput() argument
51 GetOnePathInfo(const Settings* settings, const SourceDir& current_dir, What what, const Value& input, Err* err) GetOnePathInfo() argument
[all...]
H A Dlabel.cc31 const SourceDir& current_dir, in ComputeBuildLocationFromDep()
38 *result = current_dir; in ComputeBuildLocationFromDep()
43 current_dir.ResolveRelativeDir(input_value, input, err, source_root); in ComputeBuildLocationFromDep()
90 bool Resolve(const SourceDir& current_dir, in Resolve() argument
173 if (!ComputeBuildLocationFromDep(original_value, current_dir, source_root, in Resolve()
191 return Resolve(current_dir, source_root, current_toolchain, in Resolve()
272 Label Label::Resolve(const SourceDir& current_dir,
288 if (!::Resolve(current_dir, source_root, current_toolchain, input,
30 ComputeBuildLocationFromDep(const Value& input_value, const SourceDir& current_dir, std::string_view source_root, std::string_view input, SourceDir* result, Err* err) ComputeBuildLocationFromDep() argument
H A Dcommands_unittest.cc15 SourceDir current_dir("//"); in TEST()
23 current_dir, std::string_view(), Value(nullptr, "//a:*"), &err); in TEST()
26 current_dir, std::string_view(), Value(nullptr, "//e:f"), &err); in TEST()
H A Dlabel_pattern_unittest.cc29 SourceDir current_dir("//foo/"); in TEST()
78 current_dir, std::string_view(), Value(nullptr, cur.input), &err); in TEST()
92 SourceDir current_dir("//foo/"); in TEST()
97 current_dir, source_root, Value(nullptr, "../../../*"), &err); in TEST()
H A Dvisibility.cc26 bool Visibility::Set(const SourceDir& current_dir, in Set() argument
39 LabelPattern::GetPattern(current_dir, source_root, item, err)); in Set()
52 void Visibility::SetPrivate(const SourceDir& current_dir) { in SetPrivate() argument
54 patterns_.push_back(LabelPattern(LabelPattern::DIRECTORY, current_dir, in SetPrivate()
H A Dvisibility.h33 bool Set(const SourceDir& current_dir,
42 void SetPrivate(const SourceDir& current_dir);
H A Dpath_output.cc13 PathOutput::PathOutput(const SourceDir& current_dir, in PathOutput() argument
16 : current_dir_(current_dir) { in PathOutput()
17 inverse_current_dir_ = RebasePath("//", current_dir, source_root); in PathOutput()
H A Dpath_output.h36 PathOutput(const SourceDir& current_dir,
44 const SourceDir& current_dir() const { return current_dir_; } in current_dir() function in PathOutput
H A Dsetup.cc248 base::FilePath FindDotFile(const base::FilePath& current_dir) {
249 base::FilePath try_this_file = current_dir.Append(kGnFile);
253 base::FilePath with_no_slash = current_dir.StripTrailingSeparators();
255 if (up_one_dir == current_dir)
950 SourceDir current_dir("//");
951 Label root_target_label(current_dir, "");
1007 root_target_label = Label::Resolve(current_dir, std::string_view(), Label(),
1023 root_target_label = Label::Resolve(current_dir, std::string_view(),
1110 current_dir, check_patterns_.get(), err);
1131 current_dir, no_check_patterns
[all...]
H A Dninja_binary_target_writer.cc313 PathOutput lib_path_output(path_output_.current_dir(), in WriteLibrarySearchPath()
328 path_output_.current_dir(), in WriteLibrarySearchPath()
357 PathOutput lib_path_output(path_output_.current_dir(), in WriteLibs()
399 path_output_.current_dir(), settings_->build_settings()->root_path_utf8(), in WriteSwiftModules()
H A Dcommands.cc78 const SourceDir& current_dir, in ResolveStringFromCommandLineInput()
101 current_dir, setup->build_settings().root_path_utf8(), in ResolveStringFromCommandLineInput()
106 file_matches->push_back(current_dir.ResolveRelativeFile( in ResolveStringFromCommandLineInput()
125 file_matches->push_back(current_dir.ResolveRelativeFile( in ResolveStringFromCommandLineInput()
76 ResolveStringFromCommandLineInput( Setup* setup, const SourceDir& current_dir, const std::string& input, bool default_toolchain_only, UniqueVector<const Target*>* target_matches, UniqueVector<const Config*>* config_matches, UniqueVector<const Toolchain*>* toolchain_matches, UniqueVector<SourceFile>* file_matches) ResolveStringFromCommandLineInput() argument
H A Dlabel_pattern.h42 static LabelPattern GetPattern(const SourceDir& current_dir,
H A Dcreate_bundle_target_generator.cc329 const SourceDir& current_dir = scope_->GetSourceDir(); in FillBundleDepsFilter() local
334 current_dir, scope_->settings()->build_settings()->root_path_utf8(), in FillBundleDepsFilter()
H A Dninja_target_writer.cc285 path_output_.current_dir(), in WriteCCompilerVars()
301 path_output_.current_dir(), in WriteCCompilerVars()
398 path_output_.current_dir(), in WriteCCompilerVars()
/third_party/rust/crates/clap/clap_complete/tests/
H A Ddynamic.rs18 let current_dir = None; in suggest_subcommand_subset()
26 current_dir, in suggest_subcommand_subset()
64 let current_dir = None; in suggest_long_flag_subset()
72 current_dir, in suggest_long_flag_subset()
99 let current_dir = None; in suggest_possible_value_subset()
107 current_dir, in suggest_possible_value_subset()
145 let current_dir = None; in suggest_additional_short_flags()
153 current_dir, in suggest_additional_short_flags()
/third_party/rust/crates/clap/clap_complete/src/
H A Ddynamic.rs99 let current_dir = std::env::current_dir().ok(); in try_complete()
106 current_dir.as_deref(), in try_complete()
296 current_dir: Option<&std::path::Path>, in complete()
320 return complete_arg(&arg, current_cmd, current_dir, pos_index, is_escaped); in complete()
357 current_dir: Option<&std::path::Path>, in complete_arg()
362 "complete_arg: arg={:?}, cmd={:?}, current_dir={:?}, pos_index={}, is_escaped={}", in complete_arg()
365 current_dir, in complete_arg()
378 complete_arg_value(value.to_str().ok_or(value), arg, current_dir) in complete_arg()
420 completions.extend(complete_arg_value(arg.to_value(), positional, current_dir)); in complete_arg()
[all...]
/third_party/skia/buildtools/checkdeps/
H A Dbuilddeps.py315 current_dir = dirs_to_check.pop()
321 if NormalizePath(current_dir) not in self._git_source_directories:
323 elif not os.path.exists(os.path.join(current_dir, '.svn')):
326 current_dir_rules = self.GetDirectoryRules(current_dir)
331 current_dir_contents = sorted(os.listdir(current_dir))
335 full_name = os.path.join(current_dir, file_name)
/third_party/rust/crates/linux-raw-sys/gen/src/
H A Dmain.rs205 .current_dir("linux")
228 .current_dir("linux")
238 .current_dir("linux")
248 .current_dir("linux")
262 .current_dir("linux")
/third_party/skia/platform_tools/android/bin/
H A Dandroid_build_app49 current_dir = os.path.dirname(__file__) variable
50 apk_src = os.path.join(current_dir, "..", "apps", args.app_name, "build", "outputs", "apk",
/third_party/skia/platform_tools/android/tradefed/
H A Dupload_dm_results.py23 current_dir = os.path.dirname(os.path.abspath(__file__))
24 sys.path.insert(0, os.path.join(current_dir, "../../../common/py/utils"))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DPath.cpp889 SmallString<128> current_dir;
890 current_directory.toVector(current_dir);
895 path::append(current_dir, p);
897 path.swap(current_dir);
902 StringRef cdrn = path::root_name(current_dir);
912 StringRef bRootDirectory = path::root_directory(current_dir);
913 StringRef bRelativePath = path::relative_path(current_dir);
930 SmallString<128> current_dir;
931 if (std::error_code ec = current_path(current_dir))
934 make_absolute(current_dir, pat
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DPath.cpp823 SmallString<128> current_dir;
825 current_directory.toVector(current_dir);
826 else if (std::error_code ec = current_path(current_dir))
832 path::append(current_dir, p);
834 path.swap(current_dir);
839 StringRef cdrn = path::root_name(current_dir);
849 StringRef bRootDirectory = path::root_directory(current_dir);
850 StringRef bRelativePath = path::relative_path(current_dir);
/third_party/rust/crates/rustix/tests/
H A Dbackends.rs108 .current_dir(dir); in has_dependency()

Completed in 17 milliseconds

12