Home
last modified time | relevance | path

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

/external/skia/experimental/Networking/
DSkSockets.cpp182 int bytesWrittenInTransfer = 0; in writePacket() local
186 while (bytesWrittenInTransfer < size && fConnected && !failure) { in writePacket()
188 h.done = (size - bytesWrittenInTransfer <= CONTENT_SIZE); in writePacket()
189 h.bytes = (h.done) ? size - bytesWrittenInTransfer : CONTENT_SIZE; in writePacket()
194 memcpy(packet + HEADER_SIZE, (char*)data + bytesWrittenInTransfer, in writePacket()
209 if (bytesWrittenInPacket > 0 || bytesWrittenInTransfer > 0) in writePacket()
230 bytesWrittenInTransfer += h.bytes; in writePacket()
238 totalBytesWritten += bytesWrittenInTransfer; in writePacket()