Lines Matching refs:failure
98 bool failure = false; in readPacket() local
104 while (!h.done && fConnected && !failure) { in readPacket()
119 failure = true; in readPacket()
125 failure = true; in readPacket()
136 SkASSERT((bytesReadInPacket == PACKET_SIZE) && !failure); in readPacket()
142 failure = true; in readPacket()
153 if (failure) { in readPacket()
185 bool failure = false; in writePacket() local
186 while (bytesWrittenInTransfer < size && fConnected && !failure) { in writePacket()
204 failure = true; in writePacket()
218 failure = true; in writePacket()
235 if (failure) in writePacket()