Searched refs:kPacketHeaderSize (Results 1 – 8 of 8) sorted by relevance
38 constexpr size_t kPacketHeaderSize = SharedMemoryABI::kPacketHeaderSize; variable90 static_assert(kPacketHeaderSize == kMessageLengthFieldSize, in NewTracePacket()97 protobuf_stream_writer_.bytes_available() < kPacketHeaderSize + 8; in NewTracePacket()111 uint8_t* header = protobuf_stream_writer_.ReserveBytes(kPacketHeaderSize); in NewTracePacket()112 memset(header, 0, kPacketHeaderSize); in NewTracePacket()211 memset(payload_begin, 0, kPacketHeaderSize); in GetNewBuffer()212 payload_begin += kPacketHeaderSize; in GetNewBuffer()
336 SharedMemoryABI::kPacketHeaderSize)); in CommitLocalBufferChunks()340 cur_payload_size += SharedMemoryABI::kPacketHeaderSize; in CommitLocalBufferChunks()357 max_payload_size - SharedMemoryABI::kPacketHeaderSize || in CommitLocalBufferChunks()
37 using PatchContent = std::array<uint8_t, SharedMemoryABI::kPacketHeaderSize>;
428 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