Lines Matching refs:predicate
54 auto predicate = [&location]() REQUIRES(eventMutex_) { return lastEventLocation_ == location; };
60 WaitForEvent(DebugEvent::BREAKPOINT, predicate, onSuccess);
65 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::DROPFRAME; };
66 return WaitForEvent(DebugEvent::DROPFRAME, predicate, [] {});
71 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::CHECK_COMPLETE; };
72 return WaitForEvent(DebugEvent::CHECK_COMPLETE, predicate, [] {});
85 auto predicate = [&location]() REQUIRES(eventMutex_) { return lastEventLocation_ == location; };
91 WaitForEvent(DebugEvent::STEP_COMPLETE, predicate, onSuccess);
96 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::EXCEPTION; };
97 return WaitForEvent(DebugEvent::EXCEPTION, predicate, [] {});
110 auto predicate = []() REQUIRES(eventMutex_) { return lastEvent_ == DebugEvent::LOAD_MODULE; };
111 return WaitForEvent(DebugEvent::LOAD_MODULE, predicate, [] {});
198 static bool WaitForEvent(DebugEvent event, Predicate predicate, OnSuccessAction action)
201 while (!predicate()) {