Home
last modified time | relevance | path

Searched refs:header_buf (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Drecord_file_reader.cpp265 char header_buf[Record::header_size()]; in ReadRecord() local
266 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() local
284 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()
Drecord_file_writer.cpp147 char header_buf[Record::header_size()]; in WriteRecord() local
152 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()