Home | History | Annotate | Download | only in jdwp

Lines Matching defs:pReq

649     DebugInvokeReq* const pReq = Dbg::GetInvokeReq();
650 if (pReq == nullptr) {
655 Dbg::ExecuteMethod(pReq);
659 void JdwpState::SendRequestAndPossiblySuspend(ExpandBuf* pReq, JdwpSuspendPolicy suspend_policy,
663 CHECK(pReq != nullptr);
670 EventFinish(pReq);
686 DebugInvokeReq* pReq = Dbg::GetInvokeReq();
687 return pReq != nullptr;
773 ExpandBuf* pReq = expandBufAlloc();
774 expandBufAddSpace(pReq, kJDWPHeaderLen);
775 return pReq;
781 * Takes ownership of "pReq" (currently discards it).
783 void JdwpState::EventFinish(ExpandBuf* pReq) {
784 uint8_t* buf = expandBufGetBuffer(pReq);
786 Set4BE(buf + kJDWPHeaderSizeOffset, expandBufGetLength(pReq));
792 SendRequest(pReq);
794 expandBufFree(pReq);
813 ExpandBuf* pReq = eventPrep();
814 expandBufAdd1(pReq, suspend_policy);
815 expandBufAdd4BE(pReq, 1);
816 expandBufAdd1(pReq, EK_VM_START);
817 expandBufAdd4BE(pReq, 0); /* requestId */
818 expandBufAddObjectId(pReq, threadId);
823 SendRequestAndPossiblySuspend(pReq, suspend_policy, threadId);
943 ExpandBuf* pReq = eventPrep();
944 expandBufAdd1(pReq, suspend_policy);
945 expandBufAdd4BE(pReq, match_list.size());
948 expandBufAdd1(pReq, pEvent->eventKind);
949 expandBufAdd4BE(pReq, pEvent->requestId);
950 expandBufAddObjectId(pReq, thread_id);
951 expandBufAddLocation(pReq, jdwp_location);
953 Dbg::OutputMethodReturnValue(jdwp_location.method_id, returnValue, pReq);
964 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1014 ExpandBuf* pReq = eventPrep();
1015 expandBufAdd1(pReq, suspend_policy);
1016 expandBufAdd4BE(pReq, match_list.size());
1029 expandBufAdd1(pReq, pEvent->eventKind);
1030 expandBufAdd4BE(pReq, pEvent->requestId);
1031 expandBufAddObjectId(pReq, thread_id);
1032 expandBufAddLocation(pReq, jdwp_location);
1033 expandBufAdd1(pReq, type_tag);
1034 expandBufAddRefTypeId(pReq, field_type_id);
1035 expandBufAddFieldId(pReq, field_id);
1036 expandBufAdd1(pReq, tag);
1037 expandBufAddObjectId(pReq, instance_id);
1039 Dbg::OutputFieldValue(field_id, fieldValue, pReq);
1050 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1095 ExpandBuf* pReq = eventPrep();
1096 expandBufAdd1(pReq, suspend_policy);
1097 expandBufAdd4BE(pReq, match_list.size());
1100 expandBufAdd1(pReq, pEvent->eventKind);
1101 expandBufAdd4BE(pReq, pEvent->requestId);
1102 expandBufAdd8BE(pReq, thread_id);
1112 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1123 ExpandBuf* pReq = eventPrep();
1124 expandBufAdd1(pReq, SP_NONE);
1125 expandBufAdd4BE(pReq, 1);
1127 expandBufAdd1(pReq, EK_VM_DEATH);
1128 expandBufAdd4BE(pReq, 0);
1129 EventFinish(pReq);
1201 ExpandBuf* pReq = eventPrep();
1202 expandBufAdd1(pReq, suspend_policy);
1203 expandBufAdd4BE(pReq, match_list.size());
1206 expandBufAdd1(pReq, pEvent->eventKind);
1207 expandBufAdd4BE(pReq, pEvent->requestId);
1208 expandBufAddObjectId(pReq, thread_id);
1209 expandBufAddLocation(pReq, jdwp_throw_location);
1210 expandBufAdd1(pReq, JT_OBJECT);
1211 expandBufAddObjectId(pReq, exceptionId);
1212 expandBufAddLocation(pReq, jdwp_catch_location);
1222 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1283 ExpandBuf* pReq = eventPrep();
1284 expandBufAdd1(pReq, suspend_policy);
1285 expandBufAdd4BE(pReq, match_list.size());
1288 expandBufAdd1(pReq, pEvent->eventKind);
1289 expandBufAdd4BE(pReq, pEvent->requestId);
1290 expandBufAddObjectId(pReq, reported_thread_id);
1291 expandBufAdd1(pReq, tag);
1292 expandBufAddRefTypeId(pReq, class_id);
1293 expandBufAddUtf8String(pReq, signature);
1294 expandBufAdd4BE(pReq, status);
1304 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);