Home
last modified time | relevance | path

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

/tools/dexter/slicer/
Dreader.cc288 auto& ir_annotations = annotations_directories_[offset]; in ExtractAnnotations() local
289 if (ir_annotations == nullptr) { in ExtractAnnotations()
290 ir_annotations = dex_ir_->Alloc<ir::AnnotationsDirectory>(); in ExtractAnnotations()
294 ir_annotations->class_annotation = in ExtractAnnotations()
300 ir_annotations->field_annotations.push_back(ParseFieldAnnotation(&ptr)); in ExtractAnnotations()
304 ir_annotations->method_annotations.push_back(ParseMethodAnnotation(&ptr)); in ExtractAnnotations()
308 ir_annotations->param_annotations.push_back(ParseParamAnnotation(&ptr)); in ExtractAnnotations()
311 return ir_annotations; in ExtractAnnotations()
Dwriter.cc693 auto ir_annotations = ir_class->annotations; in WriteClassAnnotations() local
695 dex::u4& offset = node_offset_[ir_annotations]; in WriteClassAnnotations()
705 for (auto irItem : ir_annotations->field_annotations) { in WriteClassAnnotations()
712 for (auto irItem : ir_annotations->method_annotations) { in WriteClassAnnotations()
719 for (auto irItem : ir_annotations->param_annotations) { in WriteClassAnnotations()
727 FilePointer(ir_annotations->class_annotation); in WriteClassAnnotations()
733 dex_annotations.fields_size = ir_annotations->field_annotations.size(); in WriteClassAnnotations()
734 dex_annotations.methods_size = ir_annotations->method_annotations.size(); in WriteClassAnnotations()
735 dex_annotations.parameters_size = ir_annotations->param_annotations.size(); in WriteClassAnnotations()