Lines Matching defs:PathMappingList
1 //===-- PathMappingList.cpp -----------------------------------------------===//
15 #include "lldb/Target/PathMappingList.h"
30 // When PathMappingList::RemapPath() is called, it expects the path to start
40 // PathMappingList constructor
41 PathMappingList::PathMappingList() : m_pairs() {}
43 PathMappingList::PathMappingList(ChangedCallback callback, void *callback_baton)
46 PathMappingList::PathMappingList(const PathMappingList &rhs)
49 const PathMappingList &PathMappingList::operator=(const PathMappingList &rhs) {
60 PathMappingList::~PathMappingList() = default;
62 void PathMappingList::Append(llvm::StringRef path, llvm::StringRef replacement,
71 void PathMappingList::Append(const PathMappingList &rhs, bool notify) {
83 bool PathMappingList::AppendUnique(llvm::StringRef path,
97 void PathMappingList::Insert(llvm::StringRef path, llvm::StringRef replacement,
112 bool PathMappingList::Replace(llvm::StringRef path, llvm::StringRef replacement,
124 bool PathMappingList::Remove(size_t index, bool notify) {
139 void PathMappingList::Dump(Stream *s, int pair_index) {
156 llvm::json::Value PathMappingList::ToJSON() {
167 void PathMappingList::Clear(bool notify) {
176 bool PathMappingList::RemapPath(ConstString path,
197 std::optional<FileSpec> PathMappingList::RemapPath(llvm::StringRef mapping_path,
235 PathMappingList::ReverseRemapPath(const FileSpec &file, FileSpec &fixed) const {
254 PathMappingList::FindFile(const FileSpec &orig_spec) const {
265 bool PathMappingList::Replace(llvm::StringRef path, llvm::StringRef new_path,
279 bool PathMappingList::Remove(ConstString path, bool notify) {
292 PathMappingList::const_iterator
293 PathMappingList::FindIteratorForPath(ConstString path) const {
306 PathMappingList::iterator
307 PathMappingList::FindIteratorForPath(ConstString path) {
320 bool PathMappingList::GetPathsAtIndex(uint32_t idx, ConstString &path,
331 uint32_t PathMappingList::FindIndexForPath(llvm::StringRef orig_path) const {