Home | History | Annotate | Download | only in jdwp

Lines Matching refs:pReq

514   DebugInvokeReq* pReq = Dbg::GetInvokeReq();
516 pReq->ready = true;
518 pReq->ready = false;
524 if (!pReq
532 /* leave pReq->invoke_needed_ raised so we can check reentrancy */
533 Dbg::ExecuteMethod(pReq);
535 pReq->error = ERR_NONE;
538 pReq->invoke_needed_ = false;
542 MutexLock mu(self, pReq->lock_);
543 pReq->cond_.Signal(self);
547 void JdwpState::SendRequestAndPossiblySuspend(ExpandBuf* pReq, JdwpSuspendPolicy suspend_policy,
552 if (pReq != NULL) {
558 EventFinish(pReq);
572 DebugInvokeReq* pReq = Dbg::GetInvokeReq();
573 return pReq->invoke_needed_;
637 ExpandBuf* pReq = expandBufAlloc();
638 expandBufAddSpace(pReq, kJDWPHeaderLen);
639 return pReq;
645 * Takes ownership of "pReq" (currently discards it).
647 void JdwpState::EventFinish(ExpandBuf* pReq) {
648 uint8_t* buf = expandBufGetBuffer(pReq);
650 Set4BE(buf, expandBufGetLength(pReq));
656 SendRequest(pReq);
658 expandBufFree(pReq);
680 ExpandBuf* pReq = eventPrep();
687 expandBufAdd1(pReq, suspend_policy);
688 expandBufAdd4BE(pReq, 1);
690 expandBufAdd1(pReq, EK_VM_START);
691 expandBufAdd4BE(pReq, 0); /* requestId */
692 expandBufAdd8BE(pReq, threadId);
696 SendRequestAndPossiblySuspend(pReq, suspend_policy, threadId);
757 ExpandBuf* pReq = NULL;
786 pReq = eventPrep();
787 expandBufAdd1(pReq, suspend_policy);
788 expandBufAdd4BE(pReq, match_count);
791 expandBufAdd1(pReq, match_list[i]->eventKind);
792 expandBufAdd4BE(pReq, match_list[i]->requestId);
793 expandBufAdd8BE(pReq, basket.threadId);
794 expandBufAddLocation(pReq, *pLoc);
801 SendRequestAndPossiblySuspend(pReq, suspend_policy, basket.threadId);
825 ExpandBuf* pReq = NULL;
846 pReq = eventPrep();
847 expandBufAdd1(pReq, suspend_policy);
848 expandBufAdd4BE(pReq, match_count);
851 expandBufAdd1(pReq, match_list[i]->eventKind);
852 expandBufAdd4BE(pReq, match_list[i]->requestId);
853 expandBufAdd8BE(pReq, basket.threadId);
860 SendRequestAndPossiblySuspend(pReq, suspend_policy, basket.threadId);
873 ExpandBuf* pReq = eventPrep();
874 expandBufAdd1(pReq, SP_NONE);
875 expandBufAdd4BE(pReq, 1);
877 expandBufAdd1(pReq, EK_VM_DEATH);
878 expandBufAdd4BE(pReq, 0);
879 EventFinish(pReq);
915 ExpandBuf* pReq = NULL;
936 pReq = eventPrep();
937 expandBufAdd1(pReq, suspend_policy);
938 expandBufAdd4BE(pReq, match_count);
941 expandBufAdd1(pReq, match_list[i]->eventKind);
942 expandBufAdd4BE(pReq, match_list[i]->requestId);
943 expandBufAdd8BE(pReq, basket.threadId);
945 expandBufAddLocation(pReq, *pThrowLoc);
946 expandBufAdd1(pReq, JT_OBJECT);
947 expandBufAdd8BE(pReq, exceptionId);
948 expandBufAddLocation(pReq, *pCatchLoc);
955 SendRequestAndPossiblySuspend(pReq, suspend_policy, basket.threadId);
980 ExpandBuf* pReq = NULL;
1007 pReq = eventPrep();
1008 expandBufAdd1(pReq, suspend_policy);
1009 expandBufAdd4BE(pReq, match_count);
1012 expandBufAdd1(pReq, match_list[i]->eventKind);
1013 expandBufAdd4BE(pReq, match_list[i]->requestId);
1014 expandBufAdd8BE(pReq, basket.threadId);
1016 expandBufAdd1(pReq, tag);
1017 expandBufAdd8BE(pReq, refTypeId);
1018 expandBufAddUtf8String(pReq, signature);
1019 expandBufAdd4BE(pReq, status);
1025 SendRequestAndPossiblySuspend(pReq, suspend_policy, basket.threadId);