Lines Matching refs:buf
103 const u1* buf, int dataLen, ExpandBuf* pReply,
109 u4 numArgs = read4BE(&buf);
123 u1 typeTag = read1(&buf);
125 u8 value = jdwpReadValue(&buf, width);
131 u4 options = read4BE(&buf); /* enum InvokeOptions bit flags */
184 static JdwpError handleVM_Version(JdwpState* state, const u1* buf,
210 const u1* buf, int dataLen, ExpandBuf* pReply)
213 char* classDescriptor = readNewUtf8String(&buf, &strLen);
259 const u1* buf, int dataLen, ExpandBuf* pReply)
281 const u1* buf, int dataLen, ExpandBuf* pReply)
305 const u1* buf, int dataLen, ExpandBuf* pReply)
322 const u1* buf, int dataLen, ExpandBuf* pReply)
334 const u1* buf, int dataLen, ExpandBuf* pReply)
344 const u1* buf, int dataLen, ExpandBuf* pReply)
354 const u1* buf, int dataLen, ExpandBuf* pReply)
356 u4 exitCode = get4BE(buf);
371 const u1* buf, int dataLen, ExpandBuf* pReply)
374 char* str = readNewUtf8String(&buf, &strLen);
390 const u1* buf, int dataLen, ExpandBuf* pReply)
406 const u1* buf, int dataLen, ExpandBuf* pReply)
437 const u1* buf, int dataLen, ExpandBuf* pReply)
446 const u1* buf, int dataLen, ExpandBuf* pReply)
480 const u1* buf, int dataLen, ExpandBuf* pReply)
514 const u1* buf, int dataLen, ExpandBuf* pReply)
516 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
529 const u1* buf, int dataLen, ExpandBuf* pReply)
531 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
543 const u1* buf, int dataLen, ExpandBuf* pReply)
545 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
546 u4 numFields = read4BE(&buf);
552 FieldId fieldId = dvmReadFieldId(&buf);
563 const u1* buf, int dataLen, ExpandBuf* pReply)
565 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
580 const u1* buf, int dataLen, ExpandBuf* pReply)
582 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
596 const u1* buf, int dataLen, ExpandBuf* pReply)
598 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
612 const u1* buf, int dataLen, ExpandBuf* pReply)
614 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
630 const u1* buf, int dataLen, ExpandBuf* pReply)
640 const u1* buf, int dataLen, ExpandBuf* pReply)
644 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
664 const u1* buf, int dataLen, ExpandBuf* pReply)
666 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
678 const u1* buf, int dataLen, ExpandBuf* pReply)
680 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
694 const u1* buf, int dataLen, ExpandBuf* pReply)
696 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
710 const u1* buf, int dataLen, ExpandBuf* pReply)
712 RefTypeId classId = dvmReadRefTypeId(&buf);
725 const u1* buf, int dataLen, ExpandBuf* pReply)
727 RefTypeId classId = dvmReadRefTypeId(&buf);
728 u4 values = read4BE(&buf);
733 FieldId fieldId = dvmReadFieldId(&buf);
736 u8 value = jdwpReadValue(&buf, width);
752 const u1* buf, int dataLen, ExpandBuf* pReply)
754 RefTypeId classId = dvmReadRefTypeId(&buf);
755 ObjectId threadId = dvmReadObjectId(&buf);
756 MethodId methodId = dvmReadMethodId(&buf);
758 return finishInvoke(state, buf, dataLen, pReply,
770 const u1* buf, int dataLen, ExpandBuf* pReply)
772 RefTypeId classId = dvmReadRefTypeId(&buf);
773 ObjectId threadId = dvmReadObjectId(&buf);
774 MethodId methodId = dvmReadMethodId(&buf);
781 return finishInvoke(state, buf, dataLen, pReply,
789 const u1* buf, int dataLen, ExpandBuf* pReply)
791 RefTypeId arrayTypeId = dvmReadRefTypeId(&buf);
792 u4 length = read4BE(&buf);
809 const u1* buf, int dataLen, ExpandBuf* pReply)
811 RefTypeId refTypeId = dvmReadRefTypeId(&buf);
812 MethodId methodId = dvmReadMethodId(&buf);
827 const u1* buf, int dataLen, ExpandBuf* pReply)
829 RefTypeId classId = dvmReadRefTypeId(&buf);
830 MethodId methodId = dvmReadMethodId(&buf);
855 const u1* buf, int dataLen, ExpandBuf* pReply)
857 ObjectId objectId = dvmReadObjectId(&buf);
874 const u1* buf, int dataLen, ExpandBuf* pReply)
876 ObjectId objectId = dvmReadObjectId(&buf);
877 u4 numFields = read4BE(&buf);
884 FieldId fieldId = dvmReadFieldId(&buf);
895 const u1* buf, int dataLen, ExpandBuf* pReply)
897 ObjectId objectId = dvmReadObjectId(&buf);
898 u4 numFields = read4BE(&buf);
903 FieldId fieldId = dvmReadFieldId(&buf);
907 u8 value = jdwpReadValue(&buf, width);
930 const u1* buf, int dataLen, ExpandBuf* pReply)
932 ObjectId objectId = dvmReadObjectId(&buf);
933 ObjectId threadId = dvmReadObjectId(&buf);
934 RefTypeId classId = dvmReadRefTypeId(&buf);
935 MethodId methodId = dvmReadMethodId(&buf);
937 return finishInvoke(state, buf, dataLen, pReply,
945 const u1* buf, int dataLen, ExpandBuf* pReply)
955 const u1* buf, int dataLen, ExpandBuf* pReply)
965 const u1* buf, int dataLen, ExpandBuf* pReply)
969 objectId = dvmReadObjectId(&buf);
982 const u1* buf, int dataLen, ExpandBuf* pReply)
984 ObjectId stringObject = dvmReadObjectId(&buf);
999 const u1* buf, int dataLen, ExpandBuf* pReply)
1001 ObjectId threadId = dvmReadObjectId(&buf);
1021 const u1* buf, int dataLen, ExpandBuf* pReply)
1023 ObjectId threadId = dvmReadObjectId(&buf);
1040 const u1* buf, int dataLen, ExpandBuf* pReply)
1042 ObjectId threadId = dvmReadObjectId(&buf);
1059 const u1* buf, int dataLen, ExpandBuf* pReply)
1061 ObjectId threadId = dvmReadObjectId(&buf);
1083 const u1* buf, int dataLen, ExpandBuf* pReply)
1085 ObjectId threadId = dvmReadObjectId(&buf);
1101 const u1* buf, int dataLen, ExpandBuf* pReply)
1103 ObjectId threadId = dvmReadObjectId(&buf);
1104 u4 startFrame = read4BE(&buf);
1105 u4 length = read4BE(&buf);
1149 const u1* buf, int dataLen, ExpandBuf* pReply)
1151 ObjectId threadId = dvmReadObjectId(&buf);
1173 const u1* buf, int dataLen, ExpandBuf* pReply)
1177 threadId = dvmReadObjectId(&buf);
1192 const u1* buf, int dataLen, ExpandBuf* pReply)
1194 ObjectId threadId = dvmReadObjectId(&buf);
1208 const u1* buf, int dataLen, ExpandBuf* pReply)
1210 ObjectId threadGroupId = dvmReadObjectId(&buf);
1231 const u1* buf, int dataLen, ExpandBuf* pReply)
1233 ObjectId groupId = dvmReadObjectId(&buf);
1246 const u1* buf, int dataLen, ExpandBuf* pReply)
1248 ObjectId threadGroupId = dvmReadObjectId(&buf);
1280 const u1* buf, int dataLen, ExpandBuf* pReply)
1282 ObjectId arrayId = dvmReadObjectId(&buf);
1298 const u1* buf, int dataLen, ExpandBuf* pReply)
1300 ObjectId arrayId = dvmReadObjectId(&buf);
1301 u4 firstIndex = read4BE(&buf);
1302 u4 length = read4BE(&buf);
1321 const u1* buf, int dataLen, ExpandBuf* pReply)
1323 ObjectId arrayId = dvmReadObjectId(&buf);
1324 u4 firstIndex = read4BE(&buf);
1325 u4 values = read4BE(&buf);
1330 if (!dvmDbgSetArrayElements(arrayId, firstIndex, values, buf))
1341 const u1* buf, int dataLen, ExpandBuf* pReply)
1348 classLoaderObject = dvmReadObjectId(&buf);
1371 const u1* buf, int dataLen, ExpandBuf* pReply)
1373 const u1* origBuf = buf;
1375 u1 eventKind = read1(&buf);
1376 u1 suspendPolicy = read1(&buf);
1377 u4 modifierCount = read4BE(&buf);
1396 u1 modKind = read1(&buf);
1403 u4 count = read4BE(&buf);
1412 u4 exprId = read4BE(&buf);
1419 ObjectId threadId = dvmReadObjectId(&buf);
1426 RefTypeId clazzId = dvmReadRefTypeId(&buf);
1437 pattern = readNewUtf8String(&buf, &strLen);
1450 pattern = readNewUtf8String(&buf, &strLen);
1461 jdwpReadLocation(&buf, &loc);
1472 exceptionOrNull = dvmReadRefTypeId(&buf);
1473 caught = read1(&buf);
1474 uncaught = read1(&buf);
1487 RefTypeId declaring = dvmReadRefTypeId(&buf);
1488 FieldId fieldId = dvmReadFieldId(&buf);
1499 threadId = dvmReadObjectId(&buf);
1500 size = read4BE(&buf);
1501 depth = read4BE(&buf);
1513 ObjectId instance = dvmReadObjectId(&buf);
1528 if (buf != origBuf + dataLen) {
1530 (int) (buf - origBuf));
1558 const u1* buf, int dataLen, ExpandBuf* pReply)
1561 eventKind = read1(&buf);
1562 u4 requestId = read4BE(&buf);
1575 const u1* buf, int dataLen, ExpandBuf* pReply)
1577 ObjectId threadId = dvmReadObjectId(&buf);
1578 FrameId frameId = dvmReadFrameId(&buf);
1579 u4 slots = read4BE(&buf);
1586 u4 slot = read4BE(&buf);
1587 u1 reqSigByte = read1(&buf);
1603 const u1* buf, int dataLen, ExpandBuf* pReply)
1605 ObjectId threadId = dvmReadObjectId(&buf);
1606 FrameId frameId = dvmReadFrameId(&buf);
1607 u4 slots = read4BE(&buf);
1613 u4 slot = read4BE(&buf);
1614 u1 sigByte = read1(&buf);
1616 u8 value = jdwpReadValue(&buf, width);
1629 const u1* buf, int dataLen, ExpandBuf* pReply)
1631 ObjectId threadId = dvmReadObjectId(&buf);
1632 FrameId frameId = dvmReadFrameId(&buf);
1657 const u1* buf, int dataLen, ExpandBuf* pReply)
1659 RefTypeId classObjectId = dvmReadRefTypeId(&buf);
1678 const u1* buf, int dataLen, ExpandBuf* pReply)
1683 ALOGV(" Handling DDM packet (%.4s)", buf);
1702 if (dvmDbgDdmHandlePacket(buf, dataLen, &replyBuf, &replyLen)) {
1714 const u1* buf, int dataLen, ExpandBuf* reply);
1877 const u1* buf, int dataLen, ExpandBuf* pReply)
1925 result = (*gHandlerMap[i].func)(state, buf, dataLen, pReply);
1933 dvmPrintHexDumpDbg(buf, dataLen, LOG_TAG);