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()
243 char header_buf[Record::header_size()]; in ReadRecord() local244 if (!Read(header_buf, Record::header_size())) { in ReadRecord()247 RecordHeader header(header_buf); in ReadRecord()253 char header_buf[Record::header_size()]; in ReadRecord() local262 if (!Read(header_buf, Record::header_size())) { in ReadRecord()265 header = RecordHeader(header_buf); in ReadRecord()277 memcpy(p.get(), header_buf, Record::header_size()); in ReadRecord()
140 char header_buf[Record::header_size()]; in WriteRecord() local145 header_p = header_buf; in WriteRecord()147 if (!WriteData(header_buf, Record::header_size())) { in WriteRecord()158 header_p = header_buf; in WriteRecord()160 return WriteData(header_buf, Record::header_size()); in WriteRecord()