Searched refs:record_fp_ (Results 1 – 3 of 3) sorted by relevance
/system/extras/simpleperf/ |
D | record_file_writer.cpp | 58 record_fp_(fp), in RecordFileWriter() 68 if (record_fp_ != nullptr) { in ~RecordFileWriter() 69 fclose(record_fp_); in ~RecordFileWriter() 80 if (fseek(record_fp_, sizeof(FileHeader), SEEK_SET) == -1) { in WriteAttrSection() 172 if (len != 0u && fwrite(buf, len, 1, record_fp_) != 1) { in Write() 180 if (len != 0u && fread(buf, len, 1, record_fp_) != 1) { in Read() 188 if (fseek(record_fp_, data_section_offset_, SEEK_SET) == -1) { in ReadDataSection() 213 off_t offset = ftello(record_fp_); in GetFilePos() 229 if (fseek(record_fp_, feature_section_offset_, SEEK_SET) == -1) { in BeginWriteFeatures() 424 if (fseek(record_fp_, feature_section_offset_, SEEK_SET) == -1) { in EndWriteFeatures() [all …]
|
D | record_file_reader.cpp | 88 : filename_(filename), record_fp_(fp), event_id_pos_in_sample_records_(0), in RecordFileReader() 93 if (record_fp_ != nullptr) { in ~RecordFileReader() 100 if (fclose(record_fp_) != 0) { in Close() 104 record_fp_ = nullptr; in Close() 129 if (fseek(record_fp_, header_.attrs.offset, SEEK_SET) != 0) { in ReadAttrSection() 181 if (fseek(record_fp_, feature_section_offset, SEEK_SET) != 0) { in ReadFeatureSectionDescriptors() 197 if (fseek(record_fp_, attr.ids.offset, SEEK_SET) != 0) { in ReadIdsForAttr() 224 if (fseek(record_fp_, header_.data.offset, SEEK_SET) != 0) { in ReadRecord() 312 if (len != 0 && fread(buf, len, 1, record_fp_) != 1) { in Read() 345 if (fseek(record_fp_, section.offset, SEEK_SET) != 0) { in ReadFeatureSection() [all …]
|
D | record_file.h | 86 FILE* record_fp_; variable 175 FILE* record_fp_; variable
|