Home
last modified time | relevance | path

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

/developtools/hiperf/src/
Dperf_file_reader.cpp403 perf_file_section sectionHeader; in ReadFeatureSection() local
404 if (!Read((char *)&sectionHeader, featureSectionOffsetRead, sizeof(sectionHeader))) { in ReadFeatureSection()
413 sectionHeader.offset, sectionHeader.size); in ReadFeatureSection()
414 if (sectionHeader.size == 0 or sectionHeader.size > fileSize_) { in ReadFeatureSection()
415 HLOGE("sectionHeader.size %" PRIu64 " is not correct", sectionHeader.size); in ReadFeatureSection()
419 std::vector<char> buf(sectionHeader.size); in ReadFeatureSection()
420 if (!Read(&buf[0], sectionHeader.offset, buf.size())) { in ReadFeatureSection()
423 sectionHeader.offset); in ReadFeatureSection()
443 featureSectionOffsetRead += sizeof(sectionHeader); // next feaure in ReadFeatureSection()