Searched refs:kPacketHeaderSize (Results 1 – 7 of 7) sorted by relevance
39 constexpr size_t kPacketHeaderSize = SharedMemoryABI::kPacketHeaderSize; variable103 static_assert(kPacketHeaderSize == kMessageLengthFieldSize, in NewTracePacket()112 protobuf_stream_writer_.bytes_available() < kPacketHeaderSize + 8; in NewTracePacket()127 uint8_t* header = protobuf_stream_writer_.ReserveBytes(kPacketHeaderSize); in NewTracePacket()128 memset(header, 0, kPacketHeaderSize); in NewTracePacket()349 memset(payload_begin, 0, kPacketHeaderSize); in GetNewBuffer()350 payload_begin += kPacketHeaderSize; in GetNewBuffer()
37 using PatchContent = std::array<uint8_t, SharedMemoryABI::kPacketHeaderSize>;
435 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
156 static constexpr size_t kPacketHeaderSize = 4; variable