Home
last modified time | relevance | path

Searched refs:read_pos (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/
Drecord_file_reader.cpp546 bool RecordFileReader::ReadFileFeature(uint64_t& read_pos, FileFeature& file, bool& error) { in ReadFileFeature() argument
563 if (read_pos >= desc.size) { in ReadFileFeature()
566 if (read_pos == 0) { in ReadFileFeature()
576 result = ReadFileV1Feature(read_pos, desc.size - read_pos, file); in ReadFileFeature()
578 result = ReadFileV2Feature(read_pos, desc.size - read_pos, file); in ReadFileFeature()
587 bool RecordFileReader::ReadFileV1Feature(uint64_t& read_pos, uint64_t max_size, FileFeature& file) { in ReadFileV1Feature() argument
592 read_pos += 4; in ReadFileV1Feature()
597 read_pos += size; in ReadFileV1Feature()
640 bool RecordFileReader::ReadFileV2Feature(uint64_t& read_pos, uint64_t max_size, FileFeature& file) { in ReadFileV2Feature() argument
645 read_pos += 4; in ReadFileV2Feature()
[all …]
Drecord_file.h184 bool ReadFileFeature(uint64_t& read_pos, FileFeature& file, bool& error);
212 bool ReadFileV1Feature(uint64_t& read_pos, uint64_t max_size, FileFeature& file);
213 bool ReadFileV2Feature(uint64_t& read_pos, uint64_t max_size, FileFeature& file);
Drecord_file_writer.cpp200 uint64_t read_pos = 0; in ReadDataSection() local
201 while (read_pos < data_section_size_) { in ReadDataSection()
215 read_pos += header.size; in ReadDataSection()
221 auxtrace->location.file_offset = data_section_offset_ + read_pos; in ReadDataSection()
226 read_pos += auxtrace->data->aux_size; in ReadDataSection()
Drecord_file_test.cpp225 uint64_t read_pos = 0; in TEST_F() local
234 while (reader->ReadFileFeature(read_pos, file, error)) { in TEST_F()
Dcmd_merge.cpp384 uint64_t read_pos = 0; in WriteFileFeature() local
386 while (reader->ReadFileFeature(read_pos, file, error)) { in WriteFileFeature()
Dcmd_dumprecord.cpp526 uint64_t read_pos = 0; in DumpFeatureSection() local
529 while (record_file_reader_->ReadFileFeature(read_pos, file, error)) { in DumpFeatureSection()
Dcmd_debug_unwind.cpp451 uint64_t read_pos = 0; in WriteFeatureSections() local
454 while (reader_->ReadFileFeature(read_pos, file_feature, error)) { in WriteFeatureSections()
Dcmd_record_test.cpp391 uint64_t read_pos = 0; in ProcessSymbolsInPerfDataFile() local
393 while (reader->ReadFileFeature(read_pos, file, error)) { in ProcessSymbolsInPerfDataFile()