Searched refs:read_pos (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | record_file_reader.cpp | 546 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 …]
|
D | record_file.h | 184 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);
|
D | record_file_writer.cpp | 200 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()
|
D | record_file_test.cpp | 225 uint64_t read_pos = 0; in TEST_F() local 234 while (reader->ReadFileFeature(read_pos, file, error)) { in TEST_F()
|
D | cmd_merge.cpp | 384 uint64_t read_pos = 0; in WriteFileFeature() local 386 while (reader->ReadFileFeature(read_pos, file, error)) { in WriteFileFeature()
|
D | cmd_dumprecord.cpp | 526 uint64_t read_pos = 0; in DumpFeatureSection() local 529 while (record_file_reader_->ReadFileFeature(read_pos, file, error)) { in DumpFeatureSection()
|
D | cmd_debug_unwind.cpp | 451 uint64_t read_pos = 0; in WriteFeatureSections() local 454 while (reader_->ReadFileFeature(read_pos, file_feature, error)) { in WriteFeatureSections()
|
D | cmd_record_test.cpp | 391 uint64_t read_pos = 0; in ProcessSymbolsInPerfDataFile() local 393 while (reader->ReadFileFeature(read_pos, file, error)) { in ProcessSymbolsInPerfDataFile()
|