Searched defs:RelPath (Results 1 – 8 of 8) sorted by relevance
36 pub(crate) enum RelPath { enum41 impl RelPath { implementation50 pub(crate) const fn join(&'static self, suffix: &'static str) -> RelPath { in join()
112 pub(crate) const fn source_dir(&self) -> RelPath { in source_dir()
60 pub(crate) const fn new(path: &'static RelPath, target: &'static str) -> CargoProject { in new()
181 pub fn strip_prefix(&self, base: &AbsPath) -> Option<&RelPath> { in strip_prefix()242 fn deref(&self) -> &RelPath { in deref()274 pub fn as_path(&self) -> &RelPath { in as_path()282 pub struct RelPath(Path); struct284 impl AsRef<Path> for RelPath { implementation290 impl RelPath { impl292 pub fn new_unchecked(path: &Path) -> &RelPath { in new_unchecked()293 unsafe { &*(path as *const Path as *const RelPath) } in new_unchecked() constant
87 pub fn strip_prefix(&self, other: &VfsPath) -> Option<&RelPath> { in strip_prefix()
193 StringRef RelPath = SP->getFilename(); in getFilename() local
541 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix() local
530 StringRef RelPath = OrigPath.substr(OldPrefixDir.size()); in replace_path_prefix() local