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()
28 eWatchpointEventTypeAdded, wp_sp); in Add()
29 wp_sp->GetTarget().BroadcastEvent(Target::eBroadcastBitWatchpointChanged, in Add()
33 return wp_sp->GetID(); in Add()
55 WatchpointSP wp_sp; in FindByAddress() local
63 wp_sp = *pos; in FindByAddress()
69 return wp_sp; in FindByAddress()
73 WatchpointSP wp_sp; in FindBySpec() local
79 wp_sp = *pos; in FindBySpec()
84 return wp_sp; in FindBySpec()
114 WatchpointSP wp_sp; in FindByID() local
118 wp_sp = *pos; in FindByID()
120 return wp_sp; in FindByID()
124 WatchpointSP wp_sp = FindByAddress(addr); in FindIDByAddress() local
125 if (wp_sp) { in FindIDByAddress()
126 return wp_sp->GetID(); in FindIDByAddress()
132 WatchpointSP wp_sp = FindBySpec(spec); in FindIDBySpec() local
133 if (wp_sp) { in FindIDBySpec()
134 return wp_sp->GetID(); in FindIDBySpec()
141 WatchpointSP wp_sp; in GetByIndex() local
145 wp_sp = *pos; in GetByIndex()
147 return wp_sp; in GetByIndex()
152 WatchpointSP wp_sp; in GetByIndex() local
156 wp_sp = *pos; in GetByIndex()
158 return wp_sp; in GetByIndex()
173 WatchpointSP wp_sp = *pos; in Remove() local
175 if (wp_sp->GetTarget().EventTypeHasListeners( in Remove()
178 eWatchpointEventTypeRemoved, wp_sp); in Remove()
179 wp_sp->GetTarget().BroadcastEvent( in Remove()
201 WatchpointSP wp_sp = FindByID(watch_id); in ShouldStop() local
202 if (wp_sp) { in ShouldStop()
206 return wp_sp->ShouldStop(context); in ShouldStop()