Home
last modified time | relevance | path

Searched refs:record_fp_ (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Drecord_file_writer.cpp61 record_fp_(fp), in RecordFileWriter()
71 if (record_fp_ != nullptr && own_fp_) { in ~RecordFileWriter()
72 fclose(record_fp_); in ~RecordFileWriter()
83 if (fseek(record_fp_, sizeof(FileHeader), SEEK_SET) == -1) { in WriteAttrSection()
179 if (len != 0u && fwrite(buf, len, 1, record_fp_) != 1) { in Write()
187 if (len != 0u && fread(buf, len, 1, record_fp_) != 1) { in Read()
195 if (fseek(record_fp_, data_section_offset_, SEEK_SET) == -1) { in ReadDataSection()
217 if (fseek(record_fp_, auxtrace->data->aux_size, SEEK_CUR) != 0) { in ReadDataSection()
229 off_t offset = ftello(record_fp_); in GetFilePos()
245 if (fseek(record_fp_, feature_section_offset_, SEEK_SET) == -1) { in BeginWriteFeatures()
[all …]
Drecord_file_reader.cpp96 record_fp_(fp), in RecordFileReader()
102 if (record_fp_ != nullptr) { in ~RecordFileReader()
109 if (fclose(record_fp_) != 0) { in Close()
113 record_fp_ = nullptr; in Close()
138 if (fseek(record_fp_, header_.attrs.offset, SEEK_SET) != 0) { in ReadAttrSection()
190 if (fseek(record_fp_, feature_section_offset, SEEK_SET) != 0) { in ReadFeatureSectionDescriptors()
206 if (fseek(record_fp_, attr.ids.offset, SEEK_SET) != 0) { in ReadIdsForAttr()
246 if (fseek(record_fp_, header_.data.offset, SEEK_SET) != 0) { in ReadRecord()
336 if (fseek(record_fp_, auxtrace->data->aux_size, SEEK_CUR) != 0) { in ReadRecord()
345 if (len != 0 && fread(buf, len, 1, record_fp_) != 1) { in Read()
[all …]
Drecord_file.h109 FILE* record_fp_; variable
207 FILE* record_fp_; variable