Searched refs:bytesWrittenInPacket (Results 1 – 1 of 1) sorted by relevance
183 int bytesWrittenInPacket = 0; in writePacket() local197 int retval = write(i, packet + bytesWrittenInPacket, in writePacket()198 PACKET_SIZE - bytesWrittenInPacket); in writePacket()209 if (bytesWrittenInPacket > 0 || bytesWrittenInTransfer > 0) in writePacket()223 bytesWrittenInPacket += retval; in writePacket()224 if (bytesWrittenInPacket < PACKET_SIZE) in writePacket()227 SkASSERT(bytesWrittenInPacket == PACKET_SIZE); in writePacket()231 bytesWrittenInPacket = 0; in writePacket()