Lines Matching refs:dex_

246   dex_.reset(new DexImage);  in CreateImage()
249 dex_.reset(); in CreateImage()
262 offset += dex_->string_ids.Init(offset, dex_ir_->strings.size()); in CreateImage()
263 offset += dex_->type_ids.Init(offset, dex_ir_->types.size()); in CreateImage()
264 offset += dex_->proto_ids.Init(offset, dex_ir_->protos.size()); in CreateImage()
265 offset += dex_->field_ids.Init(offset, dex_ir_->fields.size()); in CreateImage()
266 offset += dex_->method_ids.Init(offset, dex_ir_->methods.size()); in CreateImage()
267 offset += dex_->class_defs.Init(offset, dex_ir_->classes.size()); 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()
336 CopySection(dex_->string_ids, image, image_size); in CreateImage()
337 CopySection(dex_->type_ids, image, image_size); in CreateImage()
338 CopySection(dex_->proto_ids, image, image_size); in CreateImage()
339 CopySection(dex_->field_ids, image, image_size); in CreateImage()
340 CopySection(dex_->method_ids, image, image_size); in CreateImage()
341 CopySection(dex_->class_defs, image, image_size); in CreateImage()
342 CopySection(dex_->string_data, image, image_size); in CreateImage()
343 CopySection(dex_->type_lists, image, image_size); in CreateImage()
344 CopySection(dex_->debug_info, image, image_size); in CreateImage()
345 CopySection(dex_->encoded_arrays, image, image_size); in CreateImage()
346 CopySection(dex_->code, image, image_size); in CreateImage()
347 CopySection(dex_->class_data, image, image_size); in CreateImage()
348 CopySection(dex_->ann_directories, image, image_size); in CreateImage()
349 CopySection(dex_->ann_set_ref_lists, image, image_size); in CreateImage()
350 CopySection(dex_->ann_sets, image, image_size); in CreateImage()
351 CopySection(dex_->ann_items, image, image_size); in CreateImage()
352 CopySection(dex_->map_list, image, image_size); in CreateImage()
363 auto& section = dex_->string_data; in CreateStringDataSection()
369 auto dexStringId = &dex_->string_ids[i]; in CreateStringDataSection()
395 auto& section = dex_->map_list; in CreateMapSection()
407 AddMapItem(dex_->string_ids, map_items); in CreateMapSection()
408 AddMapItem(dex_->type_ids, map_items); in CreateMapSection()
409 AddMapItem(dex_->proto_ids, map_items); in CreateMapSection()
410 AddMapItem(dex_->field_ids, map_items); in CreateMapSection()
411 AddMapItem(dex_->method_ids, map_items); in CreateMapSection()
412 AddMapItem(dex_->class_defs, map_items); in CreateMapSection()
413 AddMapItem(dex_->string_data, map_items); in CreateMapSection()
414 AddMapItem(dex_->type_lists, map_items); in CreateMapSection()
415 AddMapItem(dex_->debug_info, map_items); in CreateMapSection()
416 AddMapItem(dex_->encoded_arrays, map_items); in CreateMapSection()
417 AddMapItem(dex_->code, map_items); in CreateMapSection()
418 AddMapItem(dex_->class_data, map_items); in CreateMapSection()
419 AddMapItem(dex_->ann_directories, map_items); in CreateMapSection()
420 AddMapItem(dex_->ann_set_ref_lists, map_items); in CreateMapSection()
421 AddMapItem(dex_->ann_sets, map_items); in CreateMapSection()
422 AddMapItem(dex_->ann_items, map_items); in CreateMapSection()
423 AddMapItem(dex_->map_list, map_items); in CreateMapSection()
438 dex_->ann_items.SetOffset(section_offset); in CreateAnnItemSection()
449 return dex_->ann_items.Seal(4); in CreateAnnItemSection()
454 dex_->ann_sets.SetOffset(section_offset); in CreateAnnSetsSection()
462 return dex_->ann_sets.Seal(4); in CreateAnnSetsSection()
467 dex_->ann_set_ref_lists.SetOffset(section_offset); in CreateAnnSetRefListsSection()
475 return dex_->ann_set_ref_lists.Seal(4); in CreateAnnSetRefListsSection()
480 dex_->type_lists.SetOffset(section_offset); in CreateTypeListsSection()
488 return dex_->type_lists.Seal(4); in CreateTypeListsSection()
493 dex_->code.SetOffset(section_offset); in CreateCodeItemSection()
501 dex::u4 size = dex_->code.Seal(4); in CreateCodeItemSection()
507 dex_->debug_info.SetOffset(section_offset); in CreateDebugInfoSection()
515 dex::u4 size = dex_->debug_info.Seal(4); in CreateDebugInfoSection()
521 dex_->class_data.SetOffset(section_offset); in CreateClassDataSection()
526 auto dex_class_def = &dex_->class_defs[i]; in CreateClassDataSection()
530 dex::u4 size = dex_->class_data.Seal(4); in CreateClassDataSection()
536 dex_->ann_directories.SetOffset(section_offset); in CreateAnnDirectoriesSection()
541 auto dex_class_def = &dex_->class_defs[i]; in CreateAnnDirectoriesSection()
545 return dex_->ann_directories.Seal(4); in CreateAnnDirectoriesSection()
550 dex_->encoded_arrays.SetOffset(section_offset); in CreateEncodedArrayItemSection()
555 auto dex_class_def = &dex_->class_defs[i]; in CreateEncodedArrayItemSection()
559 return dex_->encoded_arrays.Seal(4); in CreateEncodedArrayItemSection()
567 auto dexTypeId = &dex_->type_ids[i]; in FillTypes()
578 auto dexProtoId = &dex_->proto_ids[i]; in FillProtos()
590 auto dexFieldId = &dex_->field_ids[i]; in FillFields()
602 auto dexMethodId = &dex_->method_ids[i]; in FillMethods()
614 auto dex_class_def = &dex_->class_defs[i]; in FillClassDefs()
636 auto& data = dex_->type_lists; in WriteTypeList()
649 auto& data = dex_->ann_items; in WriteAnnotationItem()
662 auto& data = dex_->ann_sets; in WriteAnnotationSet()
678 auto& data = dex_->ann_set_ref_lists; in WriteAnnotationSetRefList()
737 auto& data = dex_->ann_directories; in WriteClassAnnotations()
752 auto& data = dex_->debug_info; in WriteDebugInfo()
825 auto offset = dex_->code.Push(instructions); in WriteInstructions()
826 dex::u2* ptr = dex_->code.ptr<dex::u2>(offset); in WriteInstructions()
941 auto& data = dex_->code; in WriteTryBlocks()
967 auto& data = dex_->code; in WriteCode()
989 auto& data = dex_->class_data; in WriteEncodedField()
1007 auto& data = dex_->class_data; in WriteEncodedMethod()
1020 auto& data = dex_->class_data; in WriteClassData()
1059 auto& data = dex_->encoded_arrays; in WriteClassStaticValues()