Home
last modified time | relevance | path

Searched refs:current_dir (Results 1 – 25 of 39) sorted by relevance

12

/third_party/gn/src/gn/
Dvalue_extractors.cc67 : build_settings(build_settings_in), current_dir(current_dir_in) {} in RelativeFileConverter()
69 *out = current_dir.ResolveRelativeFile(v, err, in operator ()()
74 const SourceDir& current_dir; member
80 : build_settings(build_settings_in), current_dir(current_dir_in) {} in LibFileConverter()
92 *out = LibFile(current_dir.ResolveRelativeFile( in operator ()()
98 const SourceDir& current_dir; member
104 : build_settings(build_settings_in), current_dir(current_dir_in) {} in RelativeDirConverter()
106 *out = current_dir.ResolveRelativeDir(v, err, in operator ()()
111 const SourceDir& current_dir; member
117 : build_settings(build_settings_in), current_dir(current_dir_in) {} in ExternConverter()
[all …]
Dvalue_extractors.h31 const SourceDir& current_dir,
39 const SourceDir& current_dir,
46 const SourceDir& current_dir,
54 const SourceDir& current_dir,
65 const SourceDir& current_dir,
71 const SourceDir& current_dir,
77 const SourceDir& current_dir,
84 const SourceDir& current_dir,
90 const SourceDir& current_dir,
96 const SourceDir& current_dir,
Dfunction_get_path_info.cc32 const SourceDir& current_dir, in DirForInput() argument
40 return current_dir.ResolveRelativeDir( in DirForInput()
45 return current_dir in DirForInput()
52 const SourceDir& current_dir, in GetOnePathInfo() argument
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()
Dlabel_pattern_unittest.cc29 SourceDir current_dir("//foo/"); in TEST() local
78 current_dir, std::string_view(), Value(nullptr, cur.input), &err); in TEST()
92 SourceDir current_dir("//foo/"); in TEST() local
97 current_dir, source_root, Value(nullptr, "../../../*"), &err); in TEST()
Dlabel.cc31 const SourceDir& current_dir, in ComputeBuildLocationFromDep() argument
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()
Dcommands_unittest.cc15 SourceDir current_dir("//"); in TEST() local
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()
Dvisibility.cc24 bool Visibility::Set(const SourceDir& current_dir, in Set() argument
37 LabelPattern::GetPattern(current_dir, source_root, item, err)); in Set()
50 void Visibility::SetPrivate(const SourceDir& current_dir) { in SetPrivate() argument
52 patterns_.push_back(LabelPattern(LabelPattern::DIRECTORY, current_dir, in SetPrivate()
Dvisibility.h33 bool Set(const SourceDir& current_dir,
42 void SetPrivate(const SourceDir& current_dir);
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()
Dpath_output.h36 PathOutput(const SourceDir& current_dir,
44 const SourceDir& current_dir() const { return current_dir_; } in current_dir() function
Dsetup.cc855 SourceDir current_dir("//"); in FillOtherConfig() local
856 Label root_target_label(current_dir, ""); in FillOtherConfig()
911 root_target_label = Label::Resolve(current_dir, std::string_view(), Label(), in FillOtherConfig()
927 root_target_label = Label::Resolve(current_dir, std::string_view(), in FillOtherConfig()
961 current_dir, check_patterns_.get(), err); in FillOtherConfig()
982 current_dir, no_check_patterns_.get(), err); in FillOtherConfig()
1011 whitelist->insert(current_dir.ResolveRelativeFile(item, err)); in FillOtherConfig()
Dninja_binary_target_writer.cc329 PathOutput lib_path_output(path_output_.current_dir(), in WriteLibrarySearchPath()
344 path_output_.current_dir(), in WriteLibrarySearchPath()
374 path_output_.current_dir(), settings_->build_settings()->root_path_utf8(), in WriteLibs()
415 path_output_.current_dir(), settings_->build_settings()->root_path_utf8(), in WriteSwiftModules()
/third_party/flatbuffers/grpc/examples/
Dgenerate.sh19 current_dir=`pwd`
25 cd ${current_dir}
38 generator="--grpc $current_dir/greeter.fbs"
46 cd ${current_dir}
55 cd ${current_dir}
63 cd ${current_dir}
71 cd ${current_dir}
/third_party/mindspore/mindspore/lite/micro/coder/utils/
Ddir_utils.cc100 std::string current_dir; in InitProjDirs() local
103 current_dir = project_root_dir + slashCh; in InitProjDirs()
105 current_dir += proj_name; in InitProjDirs()
106 std::string work_dir = current_dir; in InitProjDirs()
107 STATUS ret = MkMicroDir(current_dir); in InitProjDirs()
114 current_dir = work_dir + slashCh + work; in InitProjDirs()
115 ret = MkMicroDir(current_dir); in InitProjDirs()
/third_party/boost/libs/multi_index/example/
Dcomposite_keys.cpp102 static const file_entry* current_dir=0; /* root directory */ variable
136 if(current_dir)current_dir=current_dir->dir; in execute()
141 boost::make_tuple(current_dir,dir)); in execute()
150 current_dir=&*it; in execute()
176 boost::make_tuple(current_dir)); in execute()
185 boost::tie(it0,it1)=fs.equal_range(boost::make_tuple(current_dir)); in execute()
212 if(!fs.insert(file_entry(dir,0,true,current_dir)).second){ in execute()
263 if(current_dir)std::cout<<current_dir->name; in main()
/third_party/boost/boost/wave/util/
Dcpp_include_paths.hpp153 current_dir(initial_path()), in include_paths()
167 { return current_dir; } in get_current_directory()
178 boost::filesystem::path current_dir; member in boost::wave::util::include_paths
276 fs::path newpath = util::complete_path(create_path(path_), current_dir); in add_include_path()
361 currpath = create_path(current_dir.string()); in find_include_file()
444 fs::path filename = util::complete_path(filepath, current_dir); in set_current_directory()
449 if (!as_relative_to(branch_path(filepath), current_dir, current_rel_dir)) in set_current_directory()
451 current_dir = branch_path(filename); in set_current_directory()
/third_party/skia/buildtools/checkdeps/
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/flutter/skia/platform_tools/android/bin/
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/bin/
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/
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/flutter/skia/platform_tools/android/tradefed/
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/cef/tools/cefbuilds/
Dcef_json_builder_example.py99 current_dir = os.path.dirname(__file__) variable
100 json_file = os.path.join(current_dir, 'index.json')
/third_party/glib/gio/xdgmime/
Dxdgmime.c229 size_t i, current_dir; in xdg_init_dirs() local
249 current_dir = 0; in xdg_init_dirs()
260 xdg_dirs[current_dir++] = mime_subdir; in xdg_init_dirs()
270 xdg_dirs[current_dir++] = guessed_xdg_home; in xdg_init_dirs()
301 xdg_dirs[current_dir++] = dir; in xdg_init_dirs()
307 xdg_dirs[current_dir] = NULL; in xdg_init_dirs()
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/model_utils/
Dconfig.py117 current_dir = os.path.dirname(os.path.abspath(__file__))
118 …parser.add_argument("--config_path", type=str, default=os.path.join(current_dir, "../../default_co…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DPath.cpp889 SmallString<128> current_dir; in make_absolute() local
890 current_directory.toVector(current_dir); in make_absolute()
895 path::append(current_dir, p); in make_absolute()
897 path.swap(current_dir); in make_absolute()
902 StringRef cdrn = path::root_name(current_dir); in make_absolute()
912 StringRef bRootDirectory = path::root_directory(current_dir); in make_absolute()
913 StringRef bRelativePath = path::relative_path(current_dir); in make_absolute()
930 SmallString<128> current_dir; in make_absolute() local
931 if (std::error_code ec = current_path(current_dir)) in make_absolute()
934 make_absolute(current_dir, path); in make_absolute()

12