Searched refs:kPacketHeaderSize (Results 1 – 7 of 7) sorted by relevance
38 constexpr size_t kPacketHeaderSize = SharedMemoryABI::kPacketHeaderSize; variable88 static_assert(kPacketHeaderSize == kMessageLengthFieldSize, in NewTracePacket()94 if (protobuf_stream_writer_.bytes_available() < kPacketHeaderSize + 8) in NewTracePacket()98 uint8_t* header = protobuf_stream_writer_.ReserveBytes(kPacketHeaderSize); in NewTracePacket()99 memset(header, 0, kPacketHeaderSize); in NewTracePacket()190 memset(payload_begin, 0, kPacketHeaderSize); in GetNewBuffer()191 payload_begin += kPacketHeaderSize; in GetNewBuffer()
35 using PatchContent = std::array<uint8_t, SharedMemoryABI::kPacketHeaderSize>;
294 static_assert(Patch::kSize == SharedMemoryABI::kPacketHeaderSize, in TryPatchChunkContents()
23 static const uint16_t kPacketHeaderSize = 8; variable42 uint16_t len = static_cast<uint16_t>(packet->length + kPacketHeaderSize); in WritePacket()
28 static uint16_t kPacketHeaderSize = 8; variable186 len -= kPacketHeaderSize; in NextPacket()
53 static const size_t kPacketHeaderSize = 8; variable
155 static constexpr size_t kPacketHeaderSize = 4; variable