Home | History | Annotate | Download | only in jdwp

Lines Matching refs:match_list

403 void JdwpState::CleanupMatchList(JdwpEvent** match_list, size_t match_count) {
404 JdwpEvent** ppEvent = match_list;
422 delete[] match_list;
530 * Found events are appended to "match_list", and "*pMatchCount" is advanced,
537 JdwpEvent** match_list, size_t* pMatchCount) {
539 match_list += *pMatchCount;
543 *match_list++ = pEvent;
553 static JdwpSuspendPolicy scanSuspendPolicy(JdwpEvent** match_list, int match_count) {
557 if ((*match_list)->suspend_policy > policy) {
558 policy = (*match_list)->suspend_policy;
560 match_list++;
777 static void LogMatchingEventsAndThread(JdwpEvent** match_list, size_t match_count,
781 JdwpEvent* pEvent = match_list[i];
863 JdwpEvent** match_list = nullptr;
868 match_list = AllocMatchList(event_list_size_);
870 FindMatchingEvents(EK_BREAKPOINT, basket, match_list, &match_count);
873 FindMatchingEvents(EK_SINGLE_STEP, basket, match_list, &match_count);
876 FindMatchingEvents(EK_METHOD_ENTRY, basket, match_list, &match_count);
879 FindMatchingEvents(EK_METHOD_EXIT, basket, match_list, &match_count);
880 FindMatchingEvents(EK_METHOD_EXIT_WITH_RETURN_VALUE, basket, match_list, &match_count);
884 suspend_policy = scanSuspendPolicy(match_list, match_count);
891 LogMatchingEventsAndThread(match_list, match_count, thread_id);
901 expandBufAdd1(pReq, match_list[i]->eventKind);
902 expandBufAdd4BE(pReq, match_list[i]->requestId);
905 if (match_list[i]->eventKind == EK_METHOD_EXIT_WITH_RETURN_VALUE) {
913 CleanupMatchList(match_list, match_count);
947 JdwpEvent** match_list = nullptr;
952 match_list = AllocMatchList(event_list_size_);
954 FindMatchingEvents(EK_FIELD_MODIFICATION, basket, match_list, &match_count);
956 FindMatchingEvents(EK_FIELD_ACCESS, basket, match_list, &match_count);
960 suspend_policy = scanSuspendPolicy(match_list, match_count);
971 LogMatchingEventsAndThread(match_list, match_count, thread_id);
996 expandBufAdd1(pReq, match_list[i]->eventKind);
997 expandBufAdd4BE(pReq, match_list[i]->requestId);
1013 CleanupMatchList(match_list, match_count);
1045 JdwpEvent** match_list = nullptr;
1052 match_list = AllocMatchList(event_list_size_);
1054 FindMatchingEvents(EK_THREAD_START, basket, match_list, &match_count);
1056 FindMatchingEvents(EK_THREAD_DEATH, basket, match_list, &match_count);
1061 suspend_policy = scanSuspendPolicy(match_list, match_count);
1066 LogMatchingEventsAndThread(match_list, match_count, thread_id);
1075 expandBufAdd1(pReq, match_list[i]->eventKind);
1076 expandBufAdd4BE(pReq, match_list[i]->requestId);
1083 CleanupMatchList(match_list, match_count);
1156 JdwpEvent** match_list = nullptr;
1161 match_list = AllocMatchList(event_list_size_);
1162 FindMatchingEvents(EK_EXCEPTION, basket, match_list, &match_count);
1165 suspend_policy = scanSuspendPolicy(match_list, match_count);
1178 LogMatchingEventsAndThread(match_list, match_count, thread_id);
1195 expandBufAdd1(pReq, match_list[i]->eventKind);
1196 expandBufAdd4BE(pReq, match_list[i]->requestId);
1207 CleanupMatchList(match_list, match_count);
1240 JdwpEvent** match_list = nullptr;
1246 match_list = AllocMatchList(event_list_size_);
1247 FindMatchingEvents(EK_CLASS_PREPARE, basket, match_list, &match_count);
1250 suspend_policy = scanSuspendPolicy(match_list, match_count);
1265 LogMatchingEventsAndThread(match_list, match_count, thread_id);
1288 expandBufAdd1(pReq, match_list[i]->eventKind);
1289 expandBufAdd4BE(pReq, match_list[i]->requestId);
1300 CleanupMatchList(match_list, match_count);