Home
last modified time | relevance | path

Searched defs:RelPath (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/rust/compiler/rustc_codegen_cranelift/build_system/
Dpath.rs36 pub(crate) enum RelPath { enum
41 impl RelPath { implementation
50 pub(crate) const fn join(&'static self, suffix: &'static str) -> RelPath { in join()
Dprepare.rs112 pub(crate) const fn source_dir(&self) -> RelPath { in source_dir()
Dutils.rs60 pub(crate) const fn new(path: &'static RelPath, target: &'static str) -> CargoProject { in new()
/third_party/rust/rust/src/tools/rust-analyzer/crates/paths/src/
Dlib.rs181 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); struct
284 impl AsRef<Path> for RelPath { implementation
290 impl RelPath { impl
292 pub fn new_unchecked(path: &Path) -> &RelPath { in new_unchecked()
293 unsafe { &*(path as *const Path as *const RelPath) } in new_unchecked() constant
/third_party/rust/rust/src/tools/rust-analyzer/crates/vfs/src/
Dvfs_path.rs87 pub fn strip_prefix(&self, other: &VfsPath) -> Option<&RelPath> { in strip_prefix()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp193 StringRef RelPath = SP->getFilename(); in getFilename() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp541 StringRef RelPath = OrigPath.substr(OldPrefix.size()); in replace_path_prefix() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DPath.cpp530 StringRef RelPath = OrigPath.substr(OldPrefixDir.size()); in replace_path_prefix() local