Home
last modified time | relevance | path

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

/external/skia/experimental/Networking/
DSkSockets.cpp100 int bytesReadInPacket = 0; in readPacket() local
105 int retval = read(i, packet + bytesReadInPacket, in readPacket()
106 PACKET_SIZE - bytesReadInPacket); in readPacket()
112 if (bytesReadInPacket > 0 || bytesReadInTransfer > 0) in readPacket()
130 bytesReadInPacket += retval; in readPacket()
131 if (bytesReadInPacket < PACKET_SIZE) { in readPacket()
136 SkASSERT((bytesReadInPacket == PACKET_SIZE) && !failure); in readPacket()
148 bytesReadInPacket = 0; in readPacket()