Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/frontend/gcastv2/https/
DWebSocketHandler.cpp141 size_t numHeaderBytes = 2 + (kUseMask ? 4 : 0); in sendMessage() local
143 numHeaderBytes += 8; in sendMessage()
145 numHeaderBytes += 2; in sendMessage()
157 std::unique_ptr<uint8_t[]> buffer(new uint8_t[numHeaderBytes + size]); in sendMessage()
182 msg[numHeaderBytes - 4] = (mask >> 24) & 0xff; in sendMessage()
183 msg[numHeaderBytes - 3] = (mask >> 16) & 0xff; in sendMessage()
184 msg[numHeaderBytes - 2] = (mask >> 8) & 0xff; in sendMessage()
185 msg[numHeaderBytes - 1] = mask & 0xff; in sendMessage()
188 msg[numHeaderBytes + i] = in sendMessage()
193 memcpy(&msg[numHeaderBytes], data, size); in sendMessage()
[all …]