Home
last modified time | relevance | path

Searched refs:NewPath (Results 1 – 13 of 13) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Tooling/
H A DFileMatchTrie.cpp59 void insert(StringRef NewPath, unsigned ConsumedLength = 0) { in insert() argument
62 if (llvm::sys::path::is_relative(NewPath)) in insert()
66 Path = std::string(NewPath); in insert()
71 if (NewPath == Path) in insert()
79 StringRef(NewPath).drop_back(ConsumedLength))); in insert()
80 Children[Element].insert(NewPath, ConsumedLength + Element.size() + 1); in insert()
192 void FileMatchTrie::insert(StringRef NewPath) { in insert() argument
193 Root->insert(NewPath); in insert()
/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerIOPosix.cpp126 void RenameFile(const std::string &OldPath, const std::string &NewPath) { in RenameFile() argument
127 rename(OldPath.c_str(), NewPath.c_str()); in RenameFile()
H A DFuzzerFork.cpp240 auto NewPath = DirPlusFile(MainCorpusDir, Hash(U)); in RunOneMergeJob() local
241 WriteToFile(U, NewPath); in RunOneMergeJob()
248 Files.insert(Files.begin() + Idx, NewPath); in RunOneMergeJob()
250 Files.push_back(NewPath); in RunOneMergeJob()
H A DFuzzerIOWindows.cpp233 void RenameFile(const std::string &OldPath, const std::string &NewPath) { in RenameFile() argument
234 rename(OldPath.c_str(), NewPath.c_str()); in RenameFile()
H A DFuzzerIO.h106 void RenameFile(const std::string &OldPath, const std::string &NewPath);
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/
H A DFileMatchTrie.h68 void insert(StringRef NewPath);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp401 void setPath(const PathType &NewPath) { Path = NewPath; } in setPath()
629 PathType NewPath(Path); in paths() local
630 NewPath.push_front(BB); in paths()
631 Res.push_back(NewPath); in paths()
897 PathType NewPath(TPath.getPath()); in createAllExitPaths() local
898 NewPath.push_back(SwitchBlock); in createAllExitPaths()
899 TPath.setPath(NewPath); in createAllExitPaths()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DFileManager.cpp511 SmallString<128> NewPath(FileSystemOpts.WorkingDir); in FixupRelativePath() local
512 llvm::sys::path::append(NewPath, pathRef); in FixupRelativePath()
513 path = NewPath; in FixupRelativePath()
/openbsd-src/gnu/llvm/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp524 SmallString<128> NewPath(Path); in getThinLTOOutputFile() local
525 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
526 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile()
532 return std::string(NewPath.str()); in getThinLTOOutputFile()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DPathDiagnostic.cpp100 PathPieces NewPath; in flattenTo() local
101 Macro.subPieces.flattenTo(Primary, NewPath, ShouldFlattenMacros); in flattenTo()
103 Macro.subPieces = NewPath; in flattenTo()
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DLTO.cpp1404 SmallString<128> NewPath(Path); in getThinLTOOutputFile() local
1405 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
1406 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile()
1413 return std::string(NewPath.str()); in getThinLTOOutputFile()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DPath.cpp534 SmallString<256> NewPath; in replace_path_prefix() local
535 (Twine(NewPrefix) + RelPath).toVector(NewPath); in replace_path_prefix()
536 Path.swap(NewPath); in replace_path_prefix()
H A DVirtualFileSystem.cpp1296 SmallString<128> NewPath(Dir); in setCurrentEntry() local
1297 llvm::sys::path::append(NewPath, DirStyle, File); in setCurrentEntry()
1299 CurrentEntry = directory_entry(std::string(NewPath), ExternalIter->type()); in setCurrentEntry()