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.cpp128 size_t numHeaderBytes = 2 + (kUseMask ? 4 : 0); in sendMessage() local
130 numHeaderBytes += 8; in sendMessage()
132 numHeaderBytes += 2; in sendMessage()
143 std::unique_ptr<uint8_t[]> buffer(new uint8_t[numHeaderBytes + size]); in sendMessage()
168 msg[numHeaderBytes - 4] = (mask >> 24) & 0xff; in sendMessage()
169 msg[numHeaderBytes - 3] = (mask >> 16) & 0xff; in sendMessage()
170 msg[numHeaderBytes - 2] = (mask >> 8) & 0xff; in sendMessage()
171 msg[numHeaderBytes - 1] = mask & 0xff; in sendMessage()
174 msg[numHeaderBytes + i] = in sendMessage()
179 memcpy(&msg[numHeaderBytes], data, size); in sendMessage()
[all …]