Home
last modified time | relevance | path

Searched refs:ir_annotation (Results 1 – 3 of 3) sorted by relevance

/tools/dexter/slicer/
Dreader.cc318 auto& ir_annotation = annotations_[offset]; in ExtractAnnotationItem() local
319 if (ir_annotation == nullptr) { in ExtractAnnotationItem()
322 ir_annotation = ParseAnnotation(&ptr); in ExtractAnnotationItem()
323 ir_annotation->visibility = dexAnnotationItem->visibility; in ExtractAnnotationItem()
325 return ir_annotation; in ExtractAnnotationItem()
342 auto ir_annotation = ExtractAnnotationItem(dex_annotation_set->entries[i]); in ExtractAnnotationSet() local
343 assert(ir_annotation != nullptr); in ExtractAnnotationSet()
344 ir_annotation_set->annotations.push_back(ir_annotation); in ExtractAnnotationSet()
562 auto ir_annotation = dex_ir_->Alloc<ir::Annotation>(); in ParseAnnotation() local
567 ir_annotation->type = GetType(type_index); in ParseAnnotation()
[all …]
Dwriter.cc98 static void WriteAnnotation(const ir::Annotation* ir_annotation, Section& data);
200 static void WriteAnnotation(const ir::Annotation* ir_annotation, Section& data) { in WriteAnnotation() argument
201 data.PushULeb128(ir_annotation->type->index); in WriteAnnotation()
202 data.PushULeb128(ir_annotation->elements.size()); in WriteAnnotation()
203 for (auto irAnnotationElement : ir_annotation->elements) { in WriteAnnotation()
646 dex::u4 Writer::WriteAnnotationItem(const ir::Annotation* ir_annotation) { in WriteAnnotationItem() argument
647 SLICER_CHECK(ir_annotation->visibility != dex::kVisibilityEncoded); in WriteAnnotationItem()
651 data.Push<dex::u1>(ir_annotation->visibility); in WriteAnnotationItem()
652 WriteAnnotation(ir_annotation, data); in WriteAnnotationItem()
665 for (auto ir_annotation : annotations) { in WriteAnnotationSet() local
[all …]
/tools/dexter/slicer/export/slicer/
Dwriter.h211 dex::u4 WriteAnnotationItem(const ir::Annotation* ir_annotation);