Lines Matching refs:header
44 dex::u1 header = dex::u1(type | (arg << dex::kEncodedValueArgShift)); in WriteEncodedValueHeader() local
45 data.Push<dex::u1>(header); in WriteEncodedValueHeader()
307 dex::Header* header = reinterpret_cast<dex::Header*>(image + 0); in CreateImage() local
310 memcpy(header->magic, dex_ir_->magic.ptr(), dex_ir_->magic.size()); in CreateImage()
312 header->file_size = image_size; in CreateImage()
313 header->header_size = sizeof(dex::Header); in CreateImage()
314 header->endian_tag = dex::kEndianConstant; in CreateImage()
316 header->link_size = 0; in CreateImage()
317 header->link_off = 0; in CreateImage()
319 header->map_off = dex_->map_list.SectionOffset(); in CreateImage()
320 header->string_ids_size = dex_->string_ids.ItemsCount(); in CreateImage()
321 header->string_ids_off = dex_->string_ids.SectionOffset(); in CreateImage()
322 header->type_ids_size = dex_->type_ids.ItemsCount(); in CreateImage()
323 header->type_ids_off = dex_->type_ids.SectionOffset(); in CreateImage()
324 header->proto_ids_size = dex_->proto_ids.ItemsCount(); in CreateImage()
325 header->proto_ids_off = dex_->proto_ids.SectionOffset(); in CreateImage()
326 header->field_ids_size = dex_->field_ids.ItemsCount(); in CreateImage()
327 header->field_ids_off = dex_->field_ids.SectionOffset(); in CreateImage()
328 header->method_ids_size = dex_->method_ids.ItemsCount(); in CreateImage()
329 header->method_ids_off = dex_->method_ids.SectionOffset(); in CreateImage()
330 header->class_defs_size = dex_->class_defs.ItemsCount(); in CreateImage()
331 header->class_defs_off = dex_->class_defs.SectionOffset(); in CreateImage()
332 header->data_size = image_size - data_offset; in CreateImage()
333 header->data_off = data_offset; in CreateImage()
355 header->checksum = dex::ComputeChecksum(header); in CreateImage()