Lines Matching refs:entry_header
140 const IdmapEntry_header* entry_header = reinterpret_cast<const IdmapEntry_header*>(data_ptr); in Load() local
141 …if (!is_valid_type_id(dtohs(entry_header->target_type_id)) || !is_valid_type_id(dtohs(entry_header… in Load()
143 dtohs(entry_header->target_type_id), in Load()
144 dtohs(entry_header->overlay_type_id)); in Load()
149 if ((data_size - sizeof(*entry_header)) / sizeof(uint32_t) < in Load()
150 static_cast<size_t>(dtohs(entry_header->entry_count))) { in Load()
152 (int)dtohs(entry_header->entry_count)); in Load()
157 if (dtohs(entry_header->entry_count != 0)) { in Load()
158 loaded_idmap->type_map_[static_cast<uint8_t>(dtohs(entry_header->overlay_type_id))] = in Load()
159 entry_header; in Load()
163 sizeof(*entry_header) + (dtohs(entry_header->entry_count) * sizeof(uint32_t)); in Load()