Home | History | Annotate | Download | only in jdwp

Lines Matching defs:pReq

595     DebugInvokeReq* pReq = dvmDbgGetInvokeReq();
597 pReq->ready = true;
599 pReq->ready = false;
605 if (!pReq->invokeNeeded) {
613 /* leave pReq->invokeNeeded raised so we can check reentrancy */
615 dvmDbgExecuteMethod(pReq);
617 pReq->err = ERR_NONE;
620 pReq->invokeNeeded = false;
623 dvmDbgLockMutex(&pReq->lock);
624 dvmDbgCondSignal(&pReq->cv);
625 dvmDbgUnlockMutex(&pReq->lock);
638 DebugInvokeReq* pReq = dvmDbgGetInvokeReq();
639 return pReq->invokeNeeded;
707 ExpandBuf* pReq;
709 pReq = expandBufAlloc();
710 expandBufAddSpace(pReq, kJDWPHeaderLen);
712 return pReq;
718 * Takes ownership of "pReq" (currently discards it).
720 static void eventFinish(JdwpState* state, ExpandBuf* pReq)
722 u1* buf = expandBufGetBuffer(pReq);
724 set4BE(buf, expandBufGetLength(pReq));
730 dvmJdwpSendRequest(state, pReq);
732 expandBufFree(pReq);
757 ExpandBuf* pReq = NULL;
762 pReq = eventPrep();
763 expandBufAdd1(pReq, suspendPolicy);
764 expandBufAdd4BE(pReq, 1);
766 expandBufAdd1(pReq, EK_VM_START);
767 expandBufAdd4BE(pReq, 0); /* requestId */
768 expandBufAdd8BE(pReq, threadId);
774 if (pReq != NULL) {
779 eventFinish(state, pReq);
872 ExpandBuf* pReq = NULL;
886 pReq = eventPrep();
887 expandBufAdd1(pReq, suspendPolicy);
888 expandBufAdd4BE(pReq, matchCount);
891 expandBufAdd1(pReq, matchList[i]->eventKind);
892 expandBufAdd4BE(pReq, matchList[i]->requestId);
893 expandBufAdd8BE(pReq, basket.threadId);
894 dvmJdwpAddLocation(pReq, pLoc);
902 if (pReq != NULL) {
907 eventFinish(state, pReq);
956 ExpandBuf* pReq = NULL;
968 pReq = eventPrep();
969 expandBufAdd1(pReq, suspendPolicy);
970 expandBufAdd4BE(pReq, matchCount);
973 expandBufAdd1(pReq, matchList[i]->eventKind);
974 expandBufAdd4BE(pReq, matchList[i]->requestId);
975 expandBufAdd8BE(pReq, basket.threadId);
984 if (pReq != NULL) {
989 eventFinish(state, pReq);
1005 ExpandBuf* pReq;
1009 pReq = eventPrep();
1010 expandBufAdd1(pReq, SP_NONE);
1011 expandBufAdd4BE(pReq, 1);
1013 expandBufAdd1(pReq, EK_VM_DEATH);
1014 expandBufAdd4BE(pReq, 0);
1015 eventFinish(state, pReq);
1066 ExpandBuf* pReq = NULL;
1090 pReq = eventPrep();
1091 expandBufAdd1(pReq, suspendPolicy);
1092 expandBufAdd4BE(pReq, matchCount);
1095 expandBufAdd1(pReq, matchList[i]->eventKind);
1096 expandBufAdd4BE(pReq, matchList[i]->requestId);
1097 expandBufAdd8BE(pReq, basket.threadId);
1099 dvmJdwpAddLocation(pReq, pThrowLoc);
1100 expandBufAdd1(pReq, JT_OBJECT);
1101 expandBufAdd8BE(pReq, exceptionId);
1102 dvmJdwpAddLocation(pReq, pCatchLoc);
1113 if (pReq != NULL) {
1118 eventFinish(state, pReq);
1165 ExpandBuf* pReq = NULL;
1189 pReq = eventPrep();
1190 expandBufAdd1(pReq, suspendPolicy);
1191 expandBufAdd4BE(pReq, matchCount);
1194 expandBufAdd1(pReq, matchList[i]->eventKind);
1195 expandBufAdd4BE(pReq, matchList[i]->requestId);
1196 expandBufAdd8BE(pReq, basket.threadId);
1198 expandBufAdd1(pReq, tag);
1199 expandBufAdd8BE(pReq, refTypeId);
1200 expandBufAddUtf8String(pReq, (const u1*) signature);
1201 expandBufAdd4BE(pReq, status);
1210 if (pReq != NULL) {
1215 eventFinish(state, pReq);