Home
last modified time | relevance | path

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

/external/skia/experimental/Networking/
DSkSockets.cpp90 char packet[PACKET_SIZE]; in readPacket()
95 memset(packet, 0, PACKET_SIZE); in readPacket()
106 PACKET_SIZE - bytesReadInPacket); in readPacket()
131 if (bytesReadInPacket < PACKET_SIZE) { in readPacket()
136 SkASSERT((bytesReadInPacket == PACKET_SIZE) && !failure); in readPacket()
177 char packet[PACKET_SIZE]; in writePacket()
187 memset(packet, 0, PACKET_SIZE); in writePacket()
198 PACKET_SIZE - bytesWrittenInPacket); in writePacket()
224 if (bytesWrittenInPacket < PACKET_SIZE) in writePacket()
227 SkASSERT(bytesWrittenInPacket == PACKET_SIZE); in writePacket()
DSkSockets.h16 #define PACKET_SIZE 1024 macro