Lines Matching refs:buf
548 const unsigned char* buf = packetBuf;
557 length = read4BE(&buf);
558 id = read4BE(&buf);
559 flags = read1(&buf);
562 error = read2BE(&buf);
565 cmdSet = read1(&buf);
566 cmd = read1(&buf);
569 dataLen = length - (buf - packetBuf);
575 dvmPrintHexDumpDbg(buf, dataLen, LOG_TAG);
585 const unsigned char* buf = netState->inputBuffer; in handlePacket() local
597 length = read4BE(&buf); in handlePacket()
598 id = read4BE(&buf); in handlePacket()
599 flags = read1(&buf); in handlePacket()
602 error = read2BE(&buf); in handlePacket()
605 cmdSet = read1(&buf); in handlePacket()
606 cmd = read1(&buf); in handlePacket()
610 dataLen = length - (buf - netState->inputBuffer); in handlePacket()
619 dvmJdwpProcessRequest(state, &hdr, buf, dataLen, pReply); in handlePacket()