Home
last modified time | relevance | path

Searched refs:pPeer (Results 1 – 1 of 1) sorted by relevance

/art/jdwpspy/
DNet.cpp417 static bool haveFullPacket(Peer* pPeer) in haveFullPacket() argument
421 if (pPeer->awaitingHandshake) in haveFullPacket()
422 return (pPeer->inputCount >= kMagicHandshakeLen); in haveFullPacket()
424 if (pPeer->inputCount < 4) in haveFullPacket()
427 length = get4BE(pPeer->inputBuffer); in haveFullPacket()
428 return (pPeer->inputCount >= length); in haveFullPacket()
437 static void consumeBytes(Peer* pPeer, int count) in consumeBytes() argument
440 assert(count <= pPeer->inputCount); in consumeBytes()
442 if (count == pPeer->inputCount) { in consumeBytes()
443 pPeer->inputCount = 0; in consumeBytes()
[all …]