Searched refs:header_buf (Results 1 – 3 of 3) sorted by relevance
109 auto header_buf = read_buffer_.take_front(sizeof(amessage)).coalesce(); in Run() local110 CHECK_EQ(sizeof(amessage), header_buf.size()); in Run()112 memcpy(read_header_.get(), header_buf.data(), sizeof(amessage)); in Run()
144 char header_buf[Record::header_size()]; in WriteRecord() local149 header_p = header_buf; in WriteRecord()151 if (!WriteData(header_buf, Record::header_size())) { in WriteRecord()162 header_p = header_buf; in WriteRecord()164 return WriteData(header_buf, Record::header_size()); in WriteRecord()
256 char header_buf[Record::header_size()]; in ReadRecord() local257 if (!Read(header_buf, Record::header_size())) { in ReadRecord()260 RecordHeader header(header_buf); in ReadRecord()266 char header_buf[Record::header_size()]; in ReadRecord() local275 if (!Read(header_buf, Record::header_size())) { in ReadRecord()278 header = RecordHeader(header_buf); in ReadRecord()290 memcpy(p.get(), header_buf, Record::header_size()); in ReadRecord()