Searched refs:header_ (Results 1 – 5 of 5) sorted by relevance
111 if (!Read(&header_, sizeof(header_))) { in ReadHeader()114 if (memcmp(header_.magic, PERF_MAGIC, sizeof(header_.magic)) != 0) { in ReadHeader()122 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection()123 if (header_.attr_size != sizeof(FileAttr)) { in ReadAttrSection()124 LOG(DEBUG) << "attr size (" << header_.attr_size << ") in " << filename_ in ReadAttrSection()131 if (fseek(record_fp_, header_.attrs.offset, SEEK_SET) != 0) { in ReadAttrSection()136 std::vector<char> buf(header_.attr_size); in ReadAttrSection()145 size_t perf_event_attr_size = header_.attr_size - section_desc_size; in ReadAttrSection()175 for (size_t i = 0; i < sizeof(header_.features); ++i) { in ReadFeatureSectionDescriptors()177 if (header_.features[i] & (1 << j)) { in ReadFeatureSectionDescriptors()[all …]
111 return header_; in FileHeader()187 PerfFileFormat::FileHeader header_; variable
305 memset(&header_, 0, sizeof(header_)); in MetadataBuilder()306 header_.magic = LP_METADATA_HEADER_MAGIC; in MetadataBuilder()307 header_.major_version = LP_METADATA_MAJOR_VERSION; in MetadataBuilder()308 header_.minor_version = LP_METADATA_MINOR_VERSION_MIN; in MetadataBuilder()309 header_.header_size = sizeof(LpMetadataHeaderV1_0); in MetadataBuilder()310 header_.partitions.entry_size = sizeof(LpMetadataPartition); in MetadataBuilder()311 header_.extents.entry_size = sizeof(LpMetadataExtent); in MetadataBuilder()312 header_.groups.entry_size = sizeof(LpMetadataPartitionGroup); in MetadataBuilder()313 header_.block_devices.entry_size = sizeof(LpMetadataBlockDevice); in MetadataBuilder()323 header_.flags = metadata.header.flags; in Init()[all …]
69 header_ = "metadata"; in SetUp()70 joined_names_ = header_ + android::base::Join(names_, separator_); in SetUp()77 size_t offset = header_.size(); in SetUp()91 std::string header_; member in CdEntryMapTest107 uint64_t expected_offset = header_.size(); in TEST_F()
420 LpMetadataHeader header_; variable