Home
last modified time | relevance | path

Searched refs:PathStr (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFileList.cpp120 StringRef PathStr = *Path; in parseHeaders() local
123 HeaderFile{PathStr, *Type, /*IncludeName=*/"", Language}); in parseHeaders()
128 if (!FM->getOptionalFileRef(PathStr)) in parseHeaders()
130 PathStr, make_error_code(std::errc::no_such_file_or_directory)); in parseHeaders()
132 auto IncludeName = createIncludeHeaderName(PathStr); in parseHeaders()
133 HeaderList.emplace_back(PathStr, *Type, in parseHeaders()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c410 lprofApplyPathPrefix(char *Dest, const char *PathStr, const char *Prefix, in lprofApplyPathPrefix() argument
415 const char *StrippedPathStr = PathStr; in lprofApplyPathPrefix()
417 for (Level = 0, Ptr = PathStr + 1; Level < PrefixStrip; ++Ptr) { in lprofApplyPathPrefix()
H A DInstrProfilingUtil.h73 void lprofApplyPathPrefix(char *Dest, const char *PathStr, const char *Prefix,
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc309 std::string PathStr = std::string(Program);
311 execve(PathStr.c_str(), const_cast<char **>(Argv),
314 execv(PathStr.c_str(), const_cast<char **>(Argv));
H A DPath.inc654 StringRef PathStr(Path.begin(), Path.size());
655 if (PathStr.empty() || !PathStr.starts_with("~"))
658 PathStr = PathStr.drop_front();
660 PathStr.take_until([](char c) { return path::is_separator(c); });
661 StringRef Remainder = PathStr.substr(Expr.size() + 1);
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp1144 SmallString<128> PathStr = path::parent_path(Path); in replace_filename() local
1145 path::append(PathStr, Filename); in replace_filename()
1146 this->Path = std::string(PathStr); in replace_filename()
H A DVirtualFileSystem.cpp1278 SmallString<128> PathStr(Dir); in incrementImpl() local
1279 llvm::sys::path::append(PathStr, (*Current)->getName()); in incrementImpl()
1291 CurrentEntry = directory_entry(std::string(PathStr), Type); in incrementImpl()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc1432 StringRef PathStr(Path.begin(), Path.size());
1433 PathStr = PathStr.drop_front();
1435 PathStr.take_until([](char c) { return path::is_separator(c); });
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp5304 StringRef PathStr(Path.data(), Path.size()); in PreparePathForOutput() local
5305 if (PathStr == "<built-in>" || PathStr == "<command line>") in PreparePathForOutput()
H A DASTReader.cpp5837 std::string PathStr = ReadString(Record, Idx); in readASTFileControlBlock() local
5838 auto Path = ResolveImportedPath(PathBuf, PathStr, ModuleDir); in readASTFileControlBlock()