Searched refs:anno_dir (Results 1 – 1 of 1) sorted by relevance
887 const AnnotationSetItem* GetClassAnnotationSet(const AnnotationsDirectoryItem* anno_dir) const { in GetClassAnnotationSet() argument888 if (anno_dir->class_annotations_off_ == 0) { in GetClassAnnotationSet()891 return reinterpret_cast<const AnnotationSetItem*>(begin_ + anno_dir->class_annotations_off_); in GetClassAnnotationSet()895 const FieldAnnotationsItem* GetFieldAnnotations(const AnnotationsDirectoryItem* anno_dir) const { in GetFieldAnnotations() argument896 if (anno_dir->fields_size_ == 0) { in GetFieldAnnotations()899 return reinterpret_cast<const FieldAnnotationsItem*>(&anno_dir[1]); in GetFieldAnnotations()903 const MethodAnnotationsItem* GetMethodAnnotations(const AnnotationsDirectoryItem* anno_dir) in GetMethodAnnotations() argument905 if (anno_dir->methods_size_ == 0) { in GetMethodAnnotations()909 const uint8_t* addr = reinterpret_cast<const uint8_t*>(&anno_dir[1]); in GetMethodAnnotations()910 addr += anno_dir->fields_size_ * sizeof(FieldAnnotationsItem); in GetMethodAnnotations()[all …]