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);
647 DebugInvokeReq* pReq = Dbg::GetInvokeReq();
648 return pReq != nullptr;
732 ExpandBuf* pReq = expandBufAlloc();
733 expandBufAddSpace(pReq, kJDWPHeaderLen);
734 return pReq;
740 * Takes ownership of "pReq" (currently discards it).
742 void JdwpState::EventFinish(ExpandBuf* pReq) {
743 uint8_t* buf = expandBufGetBuffer(pReq);
745 Set4BE(buf + kJDWPHeaderSizeOffset, expandBufGetLength(pReq));
751 SendRequest(pReq);
753 expandBufFree(pReq);
772 ExpandBuf* pReq = eventPrep();
773 expandBufAdd1(pReq, suspend_policy);
774 expandBufAdd4BE(pReq, 1);
775 expandBufAdd1(pReq, EK_VM_START);
776 expandBufAdd4BE(pReq, 0); /* requestId */
777 expandBufAddObjectId(pReq, threadId);
782 SendRequestAndPossiblySuspend(pReq, suspend_policy, threadId);
902 ExpandBuf* pReq = eventPrep();
903 expandBufAdd1(pReq, suspend_policy);
904 expandBufAdd4BE(pReq, match_list.size());
907 expandBufAdd1(pReq, pEvent->eventKind);
908 expandBufAdd4BE(pReq, pEvent->requestId);
909 expandBufAddObjectId(pReq, thread_id);
910 expandBufAddLocation(pReq, jdwp_location);
912 Dbg::OutputMethodReturnValue(jdwp_location.method_id, returnValue, pReq);
923 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
973 ExpandBuf* pReq = eventPrep();
974 expandBufAdd1(pReq, suspend_policy);
975 expandBufAdd4BE(pReq, match_list.size());
988 expandBufAdd1(pReq, pEvent->eventKind);
989 expandBufAdd4BE(pReq, pEvent->requestId);
990 expandBufAddObjectId(pReq, thread_id);
991 expandBufAddLocation(pReq, jdwp_location);
992 expandBufAdd1(pReq, type_tag);
993 expandBufAddRefTypeId(pReq, field_type_id);
994 expandBufAddFieldId(pReq, field_id);
995 expandBufAdd1(pReq, tag);
996 expandBufAddObjectId(pReq, instance_id);
998 Dbg::OutputFieldValue(field_id, fieldValue, pReq);
1009 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1054 ExpandBuf* pReq = eventPrep();
1055 expandBufAdd1(pReq, suspend_policy);
1056 expandBufAdd4BE(pReq, match_list.size());
1059 expandBufAdd1(pReq, pEvent->eventKind);
1060 expandBufAdd4BE(pReq, pEvent->requestId);
1061 expandBufAdd8BE(pReq, thread_id);
1071 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1082 ExpandBuf* pReq = eventPrep();
1083 expandBufAdd1(pReq, SP_NONE);
1084 expandBufAdd4BE(pReq, 1);
1086 expandBufAdd1(pReq, EK_VM_DEATH);
1087 expandBufAdd4BE(pReq, 0);
1088 EventFinish(pReq);
1160 ExpandBuf* pReq = eventPrep();
1161 expandBufAdd1(pReq, suspend_policy);
1162 expandBufAdd4BE(pReq, match_list.size());
1165 expandBufAdd1(pReq, pEvent->eventKind);
1166 expandBufAdd4BE(pReq, pEvent->requestId);
1167 expandBufAddObjectId(pReq, thread_id);
1168 expandBufAddLocation(pReq, jdwp_throw_location);
1169 expandBufAdd1(pReq, JT_OBJECT);
1170 expandBufAddObjectId(pReq, exceptionId);
1171 expandBufAddLocation(pReq, jdwp_catch_location);
1181 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);
1241 ExpandBuf* pReq = eventPrep();
1242 expandBufAdd1(pReq, suspend_policy);
1243 expandBufAdd4BE(pReq, match_list.size());
1246 expandBufAdd1(pReq, pEvent->eventKind);
1247 expandBufAdd4BE(pReq, pEvent->requestId);
1248 expandBufAddObjectId(pReq, thread_id);
1249 expandBufAdd1(pReq, tag);
1250 expandBufAddRefTypeId(pReq, class_id);
1251 expandBufAddUtf8String(pReq, signature);
1252 expandBufAdd4BE(pReq, status);
1262 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id);