Searched refs:header_buf (Results 1 – 2 of 2) sorted by relevance
265 char header_buf[Record::header_size()]; in ReadRecord() local266 if (!Read(header_buf, Record::header_size())) { in ReadRecord()269 RecordHeader header(header_buf); in ReadRecord()275 char header_buf[Record::header_size()]; in ReadRecord() local284 if (!Read(header_buf, Record::header_size())) { in ReadRecord()287 header = RecordHeader(header_buf); in ReadRecord()299 memcpy(p.get(), header_buf, Record::header_size()); in ReadRecord()
147 char header_buf[Record::header_size()]; in WriteRecord() local152 header_p = header_buf; in WriteRecord()154 if (!WriteData(header_buf, Record::header_size())) { in WriteRecord()165 header_p = header_buf; in WriteRecord()167 return WriteData(header_buf, Record::header_size()); in WriteRecord()