Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Ddex_file.h793 const AnnotationSetItem* GetClassAnnotationSet(const AnnotationsDirectoryItem* anno_dir) const { in GetClassAnnotationSet() argument
794 return DataPointer<AnnotationSetItem>(anno_dir->class_annotations_off_); in GetClassAnnotationSet()
797 const FieldAnnotationsItem* GetFieldAnnotations(const AnnotationsDirectoryItem* anno_dir) const { in GetFieldAnnotations() argument
798 return (anno_dir->fields_size_ == 0) in GetFieldAnnotations()
800 : reinterpret_cast<const FieldAnnotationsItem*>(&anno_dir[1]); in GetFieldAnnotations()
803 const MethodAnnotationsItem* GetMethodAnnotations(const AnnotationsDirectoryItem* anno_dir) in GetMethodAnnotations() argument
805 if (anno_dir->methods_size_ == 0) { in GetMethodAnnotations()
809 const uint8_t* addr = reinterpret_cast<const uint8_t*>(&anno_dir[1]); in GetMethodAnnotations()
810 addr += anno_dir->fields_size_ * sizeof(FieldAnnotationsItem); in GetMethodAnnotations()
814 const ParameterAnnotationsItem* GetParameterAnnotations(const AnnotationsDirectoryItem* anno_dir) in GetParameterAnnotations() argument
[all …]