Home
last modified time | relevance | path

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

/developtools/hdc/src/common/
Dchannel.cpp139 while (hChannel->availTailIndex > DWORD_SERIALIZE_SIZE) { in ReadStream()
146 if (hChannel->availTailIndex - DWORD_SERIALIZE_SIZE < size) { in ReadStream()
150 DWORD_SERIALIZE_SIZE + indexBuf, size); in ReadStream()
160 hChannel->availTailIndex -= (DWORD_SERIALIZE_SIZE + size); in ReadStream()
161 indexBuf += DWORD_SERIALIZE_SIZE + size; in ReadStream()
315 int sizeNewBuf = size + DWORD_SERIALIZE_SIZE; in SendChannel()
321 if (memcpy_s(data + DWORD_SERIALIZE_SIZE, sizeNewBuf - DWORD_SERIALIZE_SIZE, bufPtr, size)) { in SendChannel()
549 int sizeNewBuf = size + DWORD_SERIALIZE_SIZE; in EchoToClient()
555 if (memcpy_s(data + DWORD_SERIALIZE_SIZE, sizeNewBuf - DWORD_SERIALIZE_SIZE, bufPtr, size)) { in EchoToClient()
Ddefine.h40 constexpr uint8_t DWORD_SERIALIZE_SIZE = 4; variable
Dforward.cpp599 *pContentBuf = bufCmdIn + DWORD_SERIALIZE_SIZE; in FilterCommand()
795 sizeContent = payloadSize - DWORD_SERIALIZE_SIZE; in ForwardCommandDispatch()
/developtools/hdc/src/host/
Dserver_for_client.cpp72 buf->len = sizeof(struct ChannelHandShake) + DWORD_SERIALIZE_SIZE; // only recv static size in AcceptClient()
74 buf->len = offsetof(struct ChannelHandShake, version) + DWORD_SERIALIZE_SIZE; in AcceptClient()