Home | History | Annotate | Download | only in jdwp

Lines Matching refs:pReq

609     DebugInvokeReq* const pReq = Dbg::GetInvokeReq();
610 if (pReq == nullptr) {
615 Dbg::ExecuteMethod(pReq);
619 void JdwpState::SendRequestAndPossiblySuspend(ExpandBuf* pReq, JdwpSuspendPolicy suspend_policy,
623 CHECK(pReq != nullptr);
630 EventFinish(pReq);
646 DebugInvokeReq* pReq = Dbg::GetInvokeReq();
647 return pReq != nullptr;
731 ExpandBuf* pReq = expandBufAlloc();
732 expandBufAddSpace(pReq, kJDWPHeaderLen);
733 return pReq;
739 * Takes ownership of "pReq" (currently discards it).
741 void JdwpState::EventFinish(ExpandBuf* pReq) {
742 uint8_t* buf = expandBufGetBuffer(pReq);
744 Set4BE(buf + kJDWPHeaderSizeOffset, expandBufGetLength(pReq));
750 SendRequest(pReq);
752 expandBufFree(pReq);
771 ExpandBuf* pReq = eventPrep();
772 expandBufAdd1(pReq, suspend_policy);
773 expandBufAdd4BE(pReq, 1);
774 expandBufAdd1(pReq, EK_VM_START);
775 expandBufAdd4BE(pReq, 0); /* requestId */
776 expandBufAddObjectId(pReq, threadId);
781 SendRequestAndPossiblySuspend(pReq, suspend_policy, threadId);
901 ExpandBuf* pReq = eventPrep();
902 expandBufAdd1(pReq, suspend_policy);
903 expandBufAdd4BE(pReq, match_list.size());
906 expandBufAdd1(pReq, pEvent->eventKind);
907 expandBufAdd4BE(pReq, pEvent->requestId);
908 expandBufAddObjectId(pReq, thread_id);
909 expandBufAddLocation(pReq, jdwp_location);
911 Dbg::OutputMethodReturnValue(jdwp_location.method_id, returnValue, pReq);
922 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
972 ExpandBuf* pReq = eventPrep();
973 expandBufAdd1(pReq, suspend_policy);
974 expandBufAdd4BE(pReq, match_list.size());
987 expandBufAdd1(pReq, pEvent->eventKind);
988 expandBufAdd4BE(pReq, pEvent->requestId);
989 expandBufAddObjectId(pReq, thread_id);
990 expandBufAddLocation(pReq, jdwp_location);
991 expandBufAdd1(pReq, type_tag);
992 expandBufAddRefTypeId(pReq, field_type_id);
993 expandBufAddFieldId(pReq, field_id);
994 expandBufAdd1(pReq, tag);
995 expandBufAddObjectId(pReq, instance_id);
997 Dbg::OutputFieldValue(field_id, fieldValue, pReq);
1008 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1053 ExpandBuf* pReq = eventPrep();
1054 expandBufAdd1(pReq, suspend_policy);
1055 expandBufAdd4BE(pReq, match_list.size());
1058 expandBufAdd1(pReq, pEvent->eventKind);
1059 expandBufAdd4BE(pReq, pEvent->requestId);
1060 expandBufAdd8BE(pReq, thread_id);
1070 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1081 ExpandBuf* pReq = eventPrep();
1082 expandBufAdd1(pReq, SP_NONE);
1083 expandBufAdd4BE(pReq, 1);
1085 expandBufAdd1(pReq, EK_VM_DEATH);
1086 expandBufAdd4BE(pReq, 0);
1087 EventFinish(pReq);
1159 ExpandBuf* pReq = eventPrep();
1160 expandBufAdd1(pReq, suspend_policy);
1161 expandBufAdd4BE(pReq, match_list.size());
1164 expandBufAdd1(pReq, pEvent->eventKind);
1165 expandBufAdd4BE(pReq, pEvent->requestId);
1166 expandBufAddObjectId(pReq, thread_id);
1167 expandBufAddLocation(pReq, jdwp_throw_location);
1168 expandBufAdd1(pReq, JT_OBJECT);
1169 expandBufAddObjectId(pReq, exceptionId);
1170 expandBufAddLocation(pReq, jdwp_catch_location);
1180 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1240 ExpandBuf* pReq = eventPrep();
1241 expandBufAdd1(pReq, suspend_policy);
1242 expandBufAdd4BE(pReq, match_list.size());
1245 expandBufAdd1(pReq, pEvent->eventKind);
1246 expandBufAdd4BE(pReq, pEvent->requestId);
1247 expandBufAddObjectId(pReq, thread_id);
1248 expandBufAdd1(pReq, tag);
1249 expandBufAddRefTypeId(pReq, class_id);
1250 expandBufAddUtf8String(pReq, signature);
1251 expandBufAdd4BE(pReq, status);
1261 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);