Home
last modified time | relevance | path

Searched refs:CanonicalPath (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/which/src/
Dlib.rs221 pub struct CanonicalPath { struct
225 impl CanonicalPath { impl
229 pub fn new<T: AsRef<OsStr>>(binary_name: T) -> Result<CanonicalPath> { in new() argument
232 .map(|inner| CanonicalPath { inner }) in new()
240 ) -> Result<impl Iterator<Item = Result<CanonicalPath>>> { in all()
246 .map(|inner| CanonicalPath { inner }) in all()
255 pub fn new_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<CanonicalPath> in new_in()
263 .map(|inner| CanonicalPath { inner }) in new_in()
274 ) -> Result<impl Iterator<Item = Result<CanonicalPath>>> in all_in()
285 .map(|inner| CanonicalPath { inner }) in all_in()
[all …]
/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp86 char CanonicalPath[PATH_MAX]; in real_path() local
89 if (!realpath(SrcPath.str().c_str(), CanonicalPath)) in real_path()
92 SmallString<256> RPath(CanonicalPath); in real_path()
193 SmallString<256> CanonicalPath = AbsoluteSrc; in copyToRoot() local
194 path::remove_dots(CanonicalPath, /*remove_dot_dot=*/true); in copyToRoot()
201 RealPath = CanonicalPath; in copyToRoot()
217 addFileMapping(CanonicalPath, Dest); in copyToRoot()
/external/llvm-project/clang-tools-extra/modularize/
DPreprocessorTracker.cpp919 std::string CanonicalPath(path); in getCanonicalPath() local
920 std::replace(CanonicalPath.begin(), CanonicalPath.end(), '\\', '/'); in getCanonicalPath()
921 return CanonicalPath; in getCanonicalPath()
926 std::string CanonicalPath = getCanonicalPath(HeaderPath); in isHeaderListHeader() local
930 if (*I == CanonicalPath) in isHeaderListHeader()
939 std::string CanonicalPath = getCanonicalPath(HeaderPath); in findHeaderHandle() local
943 if (*I == CanonicalPath) in findHeaderHandle()
952 std::string CanonicalPath = getCanonicalPath(HeaderPath); in addHeader() local
953 HeaderHandle H = findHeaderHandle(CanonicalPath); in addHeader()
956 HeaderPaths.push_back(addString(CanonicalPath)); in addHeader()
/external/rust/crates/which/tests/
Dbasic.rs86 fn _which<T: AsRef<OsStr>>(f: &TestFixture, path: T) -> which::Result<which::CanonicalPath> { in _which() argument
87 which::CanonicalPath::new_in(path, Some(f.paths.clone()), f.tempdir.path()) in _which()
93 ) -> which::Result<impl Iterator<Item = which::Result<which::CanonicalPath>>> { in _which_all()
94 which::CanonicalPath::all_in(path, Some(f.paths.clone()), f.tempdir.path().to_path_buf()) in _which_all()
/external/llvm-project/clang-tools-extra/clangd/index/
DCanonicalIncludes.cpp23 llvm::StringRef CanonicalPath) { in addMapping() argument
24 FullPathMapping[Path] = std::string(CanonicalPath); in addMapping()
DCanonicalIncludes.h39 void addMapping(llvm::StringRef Path, llvm::StringRef CanonicalPath);
/external/ImageMagick/MagickCore/
Dutility.h35 CanonicalPath, enumerator
Dutility.c1400 case CanonicalPath: in GetPathComponent()
Dxml-tree.c248 GetPathComponent(components[i],CanonicalPath,tag); in AddPathToXMLTree()
1034 GetPathComponent(components[i],CanonicalPath,tag); in GetXMLTreePath()
Dimage.c2880 GetPathComponent(image_info->filename,CanonicalPath,component); in SetImageInfo()
2917 GetPathComponent(image_info->filename,CanonicalPath,component); in SetImageInfo()
/external/llvm-project/clang-tools-extra/clangd/
DGlobalCompilationDatabase.cpp252 std::string CanonicalPath = removeDots(Request.FileName); in lookupCDB() local
254 actOnAllParentDirectories(CanonicalPath, [&](PathRef Path) { in lookupCDB()