Lines Matching refs:m_opaque_sp
68 m_opaque_sp () in SBBreakpoint()
73 m_opaque_sp (rhs.m_opaque_sp) in SBBreakpoint()
79 m_opaque_sp (bp_sp) in SBBreakpoint()
91 m_opaque_sp = rhs.m_opaque_sp; in operator =()
98 if (m_opaque_sp && rhs.m_opaque_sp) in operator ==()
99 return m_opaque_sp.get() == rhs.m_opaque_sp.get(); in operator ==()
106 if (m_opaque_sp && rhs.m_opaque_sp) in operator !=()
107 return m_opaque_sp.get() != rhs.m_opaque_sp.get(); in operator !=()
108 return (m_opaque_sp && !rhs.m_opaque_sp) || (rhs.m_opaque_sp && !m_opaque_sp); in operator !=()
117 if (m_opaque_sp) in GetID()
118 break_id = m_opaque_sp->GetID(); in GetID()
123 log->Printf ("SBBreakpoint(%p)::GetID () => LLDB_INVALID_BREAK_ID", m_opaque_sp.get()); in GetID()
125 log->Printf ("SBBreakpoint(%p)::GetID () => %u", m_opaque_sp.get(), break_id); in GetID()
135 return (bool) m_opaque_sp; in IsValid()
141 if (m_opaque_sp) in ClearAllBreakpointSites()
143 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in ClearAllBreakpointSites()
144 m_opaque_sp->ClearAllBreakpointSites (); in ClearAllBreakpointSites()
153 if (m_opaque_sp) in FindLocationByAddress()
157 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in FindLocationByAddress()
159 Target &target = m_opaque_sp->GetTarget(); in FindLocationByAddress()
164 sb_bp_location.SetLocation (m_opaque_sp->FindLocationByAddress (address)); in FindLocationByAddress()
175 if (m_opaque_sp && vm_addr != LLDB_INVALID_ADDRESS) in FindLocationIDByAddress()
177 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in FindLocationIDByAddress()
179 Target &target = m_opaque_sp->GetTarget(); in FindLocationIDByAddress()
184 break_id = m_opaque_sp->FindLocationIDByAddress (address); in FindLocationIDByAddress()
195 if (m_opaque_sp) in FindLocationByID()
197 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in FindLocationByID()
198 sb_bp_location.SetLocation (m_opaque_sp->FindLocationByID (bp_loc_id)); in FindLocationByID()
209 if (m_opaque_sp) in GetLocationAtIndex()
211 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetLocationAtIndex()
212 sb_bp_location.SetLocation (m_opaque_sp->GetLocationAtIndex (index)); in GetLocationAtIndex()
224 log->Printf ("SBBreakpoint(%p)::SetEnabled (enabled=%i)", m_opaque_sp.get(), enable); in SetEnabled()
226 if (m_opaque_sp) in SetEnabled()
228 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in SetEnabled()
229 m_opaque_sp->SetEnabled (enable); in SetEnabled()
236 if (m_opaque_sp) in IsEnabled()
238 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in IsEnabled()
239 return m_opaque_sp->IsEnabled(); in IsEnabled()
251 log->Printf ("SBBreakpoint(%p)::SetOneShot (one_shot=%i)", m_opaque_sp.get(), one_shot); in SetOneShot()
253 if (m_opaque_sp) in SetOneShot()
255 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in SetOneShot()
256 m_opaque_sp->SetOneShot (one_shot); in SetOneShot()
263 if (m_opaque_sp) in IsOneShot()
265 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in IsOneShot()
266 return m_opaque_sp->IsOneShot(); in IsOneShot()
275 if (m_opaque_sp) in IsInternal()
277 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in IsInternal()
278 return m_opaque_sp->IsInternal(); in IsInternal()
290 log->Printf ("SBBreakpoint(%p)::SetIgnoreCount (count=%u)", m_opaque_sp.get(), count); in SetIgnoreCount()
292 if (m_opaque_sp) in SetIgnoreCount()
294 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in SetIgnoreCount()
295 m_opaque_sp->SetIgnoreCount (count); in SetIgnoreCount()
302 if (m_opaque_sp) in SetCondition()
304 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in SetCondition()
305 m_opaque_sp->SetCondition (condition); in SetCondition()
312 if (m_opaque_sp) in GetCondition()
314 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetCondition()
315 return m_opaque_sp->GetConditionText (); in GetCondition()
324 if (m_opaque_sp) in GetHitCount()
326 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetHitCount()
327 count = m_opaque_sp->GetHitCount(); in GetHitCount()
332 log->Printf ("SBBreakpoint(%p)::GetHitCount () => %u", m_opaque_sp.get(), count); in GetHitCount()
341 if (m_opaque_sp) in GetIgnoreCount()
343 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetIgnoreCount()
344 count = m_opaque_sp->GetIgnoreCount(); in GetIgnoreCount()
349 log->Printf ("SBBreakpoint(%p)::GetIgnoreCount () => %u", m_opaque_sp.get(), count); in GetIgnoreCount()
357 if (m_opaque_sp) in SetThreadID()
359 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in SetThreadID()
360 m_opaque_sp->SetThreadID (tid); in SetThreadID()
364 … log->Printf ("SBBreakpoint(%p)::SetThreadID (tid=0x%4.4" PRIx64 ")", m_opaque_sp.get(), tid); in SetThreadID()
372 if (m_opaque_sp) in GetThreadID()
374 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetThreadID()
375 tid = m_opaque_sp->GetThreadID(); in GetThreadID()
380 log->Printf ("SBBreakpoint(%p)::GetThreadID () => 0x%4.4" PRIx64, m_opaque_sp.get(), tid); in GetThreadID()
389 log->Printf ("SBBreakpoint(%p)::SetThreadIndex (%u)", m_opaque_sp.get(), index); in SetThreadIndex()
390 if (m_opaque_sp) in SetThreadIndex()
392 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in SetThreadIndex()
393 m_opaque_sp->GetOptions()->GetThreadSpec()->SetIndex (index); in SetThreadIndex()
401 if (m_opaque_sp) in GetThreadIndex()
403 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetThreadIndex()
404 const ThreadSpec *thread_spec = m_opaque_sp->GetOptions()->GetThreadSpecNoCreate(); in GetThreadIndex()
410 log->Printf ("SBBreakpoint(%p)::GetThreadIndex () => %u", m_opaque_sp.get(), thread_idx); in GetThreadIndex()
421 log->Printf ("SBBreakpoint(%p)::SetThreadName (%s)", m_opaque_sp.get(), thread_name); in SetThreadName()
423 if (m_opaque_sp) in SetThreadName()
425 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in SetThreadName()
426 m_opaque_sp->GetOptions()->GetThreadSpec()->SetName (thread_name); in SetThreadName()
434 if (m_opaque_sp) in GetThreadName()
436 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetThreadName()
437 const ThreadSpec *thread_spec = m_opaque_sp->GetOptions()->GetThreadSpecNoCreate(); in GetThreadName()
443 log->Printf ("SBBreakpoint(%p)::GetThreadName () => %s", m_opaque_sp.get(), name); in GetThreadName()
453 log->Printf ("SBBreakpoint(%p)::SetQueueName (%s)", m_opaque_sp.get(), queue_name); in SetQueueName()
454 if (m_opaque_sp) in SetQueueName()
456 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in SetQueueName()
457 m_opaque_sp->GetOptions()->GetThreadSpec()->SetQueueName (queue_name); in SetQueueName()
465 if (m_opaque_sp) in GetQueueName()
467 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetQueueName()
468 const ThreadSpec *thread_spec = m_opaque_sp->GetOptions()->GetThreadSpecNoCreate(); in GetQueueName()
474 log->Printf ("SBBreakpoint(%p)::GetQueueName () => %s", m_opaque_sp.get(), name); in GetQueueName()
483 if (m_opaque_sp) in GetNumResolvedLocations()
485 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetNumResolvedLocations()
486 num_resolved = m_opaque_sp->GetNumResolvedLocations(); in GetNumResolvedLocations()
490 …log->Printf ("SBBreakpoint(%p)::GetNumResolvedLocations () => %" PRIu64, m_opaque_sp.get(), (uint6… in GetNumResolvedLocations()
498 if (m_opaque_sp) in GetNumLocations()
500 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetNumLocations()
501 num_locs = m_opaque_sp->GetNumLocations(); in GetNumLocations()
505 …log->Printf ("SBBreakpoint(%p)::GetNumLocations () => %" PRIu64, m_opaque_sp.get(), (uint64_t)num_… in GetNumLocations()
512 if (m_opaque_sp) in GetDescription()
514 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in GetDescription()
515 s.Printf("SBBreakpoint: id = %i, ", m_opaque_sp->GetID()); in GetDescription()
516 m_opaque_sp->GetResolverDescription (s.get()); in GetDescription()
517 m_opaque_sp->GetFilterDescription (s.get()); in GetDescription()
518 const size_t num_locations = m_opaque_sp->GetNumLocations (); in GetDescription()
571 …log->Printf ("SBBreakpoint(%p)::SetCallback (callback=%p, baton=%p)", m_opaque_sp.get(), callback,… in SetCallback()
573 if (m_opaque_sp) in SetCallback()
575 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex()); in SetCallback()
577 m_opaque_sp->SetCallback (SBBreakpoint::PrivateBreakpointHitCallback, baton_sp, false); in SetCallback()
585 return m_opaque_sp.get(); in operator ->()
591 return m_opaque_sp.get(); in get()
597 return m_opaque_sp; in operator *()
603 return m_opaque_sp; in operator *()
626 …sb_breakpoint.m_opaque_sp = Breakpoint::BreakpointEventData::GetBreakpointFromEvent (event.GetSP()… in GetBreakpointFromEvent()