Lines Matching refs:match_list
448 void JdwpState::CleanupMatchList(const std::vector<JdwpEvent*>& match_list) { in CleanupMatchList() argument
449 for (JdwpEvent* pEvent : match_list) { in CleanupMatchList()
575 std::vector<JdwpEvent*>* match_list) { in FindMatchingEventsLocked() argument
578 match_list->push_back(pEvent); in FindMatchingEventsLocked()
595 std::vector<JdwpEvent*>* match_list) { in FindMatchingEvents() argument
597 match_list->reserve(event_list_size_); in FindMatchingEvents()
598 FindMatchingEventsLocked(event_kind, basket, match_list); in FindMatchingEvents()
599 return !match_list->empty(); in FindMatchingEvents()
606 static JdwpSuspendPolicy ScanSuspendPolicy(const std::vector<JdwpEvent*>& match_list) { in ScanSuspendPolicy() argument
609 for (JdwpEvent* pEvent : match_list) { in ScanSuspendPolicy()
826 static void LogMatchingEventsAndThread(const std::vector<JdwpEvent*>& match_list, in LogMatchingEventsAndThread() argument
829 for (size_t i = 0, e = match_list.size(); i < e; ++i) { in LogMatchingEventsAndThread()
830 JdwpEvent* pEvent = match_list[i]; in LogMatchingEventsAndThread()
908 std::vector<JdwpEvent*> match_list; in PostLocationEvent() local
912 match_list.reserve(event_list_size_); in PostLocationEvent()
914 FindMatchingEventsLocked(EK_BREAKPOINT, basket, &match_list); in PostLocationEvent()
917 FindMatchingEventsLocked(EK_SINGLE_STEP, basket, &match_list); in PostLocationEvent()
920 FindMatchingEventsLocked(EK_METHOD_ENTRY, basket, &match_list); in PostLocationEvent()
923 FindMatchingEventsLocked(EK_METHOD_EXIT, basket, &match_list); in PostLocationEvent()
924 FindMatchingEventsLocked(EK_METHOD_EXIT_WITH_RETURN_VALUE, basket, &match_list); in PostLocationEvent()
927 if (match_list.empty()) { in PostLocationEvent()
931 JdwpSuspendPolicy suspend_policy = ScanSuspendPolicy(match_list); in PostLocationEvent()
938 LogMatchingEventsAndThread(match_list, thread_id); in PostLocationEvent()
945 expandBufAdd4BE(pReq, match_list.size()); in PostLocationEvent()
947 for (const JdwpEvent* pEvent : match_list) { in PostLocationEvent()
959 CleanupMatchList(match_list); in PostLocationEvent()
987 std::vector<JdwpEvent*> match_list; in PostFieldEvent() local
989 if (!FindMatchingEvents(match_kind, basket, &match_list)) { in PostFieldEvent()
994 JdwpSuspendPolicy suspend_policy = ScanSuspendPolicy(match_list); in PostFieldEvent()
1004 LogMatchingEventsAndThread(match_list, thread_id); in PostFieldEvent()
1016 expandBufAdd4BE(pReq, match_list.size()); in PostFieldEvent()
1028 for (const JdwpEvent* pEvent : match_list) { in PostFieldEvent()
1045 CleanupMatchList(match_list); in PostFieldEvent()
1080 std::vector<JdwpEvent*> match_list; in PostThreadChange() local
1082 if (!FindMatchingEvents(match_kind, basket, &match_list)) { in PostThreadChange()
1087 JdwpSuspendPolicy suspend_policy = ScanSuspendPolicy(match_list); in PostThreadChange()
1091 LogMatchingEventsAndThread(match_list, thread_id); in PostThreadChange()
1097 expandBufAdd4BE(pReq, match_list.size()); in PostThreadChange()
1099 for (const JdwpEvent* pEvent : match_list) { in PostThreadChange()
1107 CleanupMatchList(match_list); in PostThreadChange()
1171 std::vector<JdwpEvent*> match_list; in PostException() local
1172 if (!FindMatchingEvents(EK_EXCEPTION, basket, &match_list)) { in PostException()
1177 JdwpSuspendPolicy suspend_policy = ScanSuspendPolicy(match_list); in PostException()
1189 LogMatchingEventsAndThread(match_list, thread_id); in PostException()
1203 expandBufAdd4BE(pReq, match_list.size()); in PostException()
1205 for (const JdwpEvent* pEvent : match_list) { in PostException()
1217 CleanupMatchList(match_list); in PostException()
1244 std::vector<JdwpEvent*> match_list; in PostClassPrepare() local
1245 if (!FindMatchingEvents(EK_CLASS_PREPARE, basket, &match_list)) { in PostClassPrepare()
1250 JdwpSuspendPolicy suspend_policy = ScanSuspendPolicy(match_list); in PostClassPrepare()
1264 LogMatchingEventsAndThread(match_list, thread_id); in PostClassPrepare()
1285 expandBufAdd4BE(pReq, match_list.size()); in PostClassPrepare()
1287 for (const JdwpEvent* pEvent : match_list) { in PostClassPrepare()
1299 CleanupMatchList(match_list); in PostClassPrepare()