Lines Matching refs:wp_sp
20 lldb::watch_id_t WatchpointList::Add(const WatchpointSP &wp_sp, bool notify) { in Add() argument
22 wp_sp->SetID(++m_next_wp_id); in Add()
23 m_watchpoints.push_back(wp_sp); in Add()
25 if (wp_sp->GetTarget().EventTypeHasListeners( in Add()
27 wp_sp->GetTarget().BroadcastEvent(Target::eBroadcastBitWatchpointChanged, in Add()
29 eWatchpointEventTypeAdded, wp_sp)); in Add()
31 return wp_sp->GetID(); in Add()
53 WatchpointSP wp_sp; in FindByAddress() local
61 wp_sp = *pos; in FindByAddress()
67 return wp_sp; in FindByAddress()
71 WatchpointSP wp_sp; in FindBySpec() local
77 wp_sp = *pos; in FindBySpec()
82 return wp_sp; in FindBySpec()
112 WatchpointSP wp_sp; in FindByID() local
116 wp_sp = *pos; in FindByID()
118 return wp_sp; in FindByID()
122 WatchpointSP wp_sp = FindByAddress(addr); in FindIDByAddress() local
123 if (wp_sp) { in FindIDByAddress()
124 return wp_sp->GetID(); in FindIDByAddress()
130 WatchpointSP wp_sp = FindBySpec(spec); in FindIDBySpec() local
131 if (wp_sp) { in FindIDBySpec()
132 return wp_sp->GetID(); in FindIDBySpec()
139 WatchpointSP wp_sp; in GetByIndex() local
143 wp_sp = *pos; in GetByIndex()
145 return wp_sp; in GetByIndex()
150 WatchpointSP wp_sp; in GetByIndex() local
154 wp_sp = *pos; in GetByIndex()
156 return wp_sp; in GetByIndex()
171 WatchpointSP wp_sp = *pos; in Remove() local
173 if (wp_sp->GetTarget().EventTypeHasListeners( in Remove()
175 wp_sp->GetTarget().BroadcastEvent( in Remove()
178 wp_sp)); in Remove()
198 WatchpointSP wp_sp = FindByID(watch_id); in ShouldStop() local
199 if (wp_sp) { in ShouldStop()
203 return wp_sp->ShouldStop(context); in ShouldStop()