Searched refs:dex_annotations (Results 1 – 2 of 2) sorted by relevance
292 auto dex_annotations = dataPtr<dex::AnnotationsDirectoryItem>(offset); in ExtractAnnotations() local295 ExtractAnnotationSet(dex_annotations->class_annotations_off); in ExtractAnnotations()297 const dex::u1* ptr = reinterpret_cast<const dex::u1*>(dex_annotations + 1); in ExtractAnnotations()299 for (dex::u4 i = 0; i < dex_annotations->fields_size; ++i) { in ExtractAnnotations()303 for (dex::u4 i = 0; i < dex_annotations->methods_size; ++i) { in ExtractAnnotations()307 for (dex::u4 i = 0; i < dex_annotations->parameters_size; ++i) { in ExtractAnnotations()
731 dex::AnnotationsDirectoryItem dex_annotations = {}; in WriteClassAnnotations() local732 dex_annotations.class_annotations_off = class_annotations_offset; 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()739 data.Push(dex_annotations); in WriteClassAnnotations()