Lines Matching refs:offset
91 return section<dex::MethodHandle>(mi->offset, mi->size); in MethodHandles()
321 ir::AnnotationsDirectory* Reader::ExtractAnnotations(dex::u4 offset) { in ExtractAnnotations() argument
322 if (offset == 0) { in ExtractAnnotations()
326 SLICER_CHECK_EQ(offset % 4, 0); in ExtractAnnotations()
329 auto& ir_annotations = annotations_directories_[offset]; in ExtractAnnotations()
333 auto dex_annotations = dataPtr<dex::AnnotationsDirectoryItem>(offset); in ExtractAnnotations()
355 ir::Annotation* Reader::ExtractAnnotationItem(dex::u4 offset) { in ExtractAnnotationItem() argument
356 SLICER_CHECK_NE(offset, 0); in ExtractAnnotationItem()
359 auto& ir_annotation = annotations_[offset]; in ExtractAnnotationItem()
361 auto dexAnnotationItem = dataPtr<dex::AnnotationItem>(offset); in ExtractAnnotationItem()
369 ir::AnnotationSet* Reader::ExtractAnnotationSet(dex::u4 offset) { in ExtractAnnotationSet() argument
370 if (offset == 0) { in ExtractAnnotationSet()
374 SLICER_CHECK_EQ(offset % 4, 0); in ExtractAnnotationSet()
377 auto& ir_annotation_set = annotation_sets_[offset]; in ExtractAnnotationSet()
381 auto dex_annotation_set = dataPtr<dex::AnnotationSetItem>(offset); in ExtractAnnotationSet()
391 ir::AnnotationSetRefList* Reader::ExtractAnnotationSetRefList(dex::u4 offset) { in ExtractAnnotationSetRefList() argument
392 SLICER_CHECK_EQ(offset % 4, 0); in ExtractAnnotationSetRefList()
394 auto dex_annotation_set_ref_list = dataPtr<dex::AnnotationSetRefList>(offset); in ExtractAnnotationSetRefList()
634 ir::EncodedArray* Reader::ExtractEncodedArray(dex::u4 offset) { in ExtractEncodedArray() argument
635 if (offset == 0) { in ExtractEncodedArray()
640 auto& ir_encoded_array = encoded_arrays_[offset]; in ExtractEncodedArray()
642 auto ptr = dataPtr<dex::u1>(offset); in ExtractEncodedArray()
648 ir::DebugInfo* Reader::ExtractDebugInfo(dex::u4 offset) { in ExtractDebugInfo() argument
649 if (offset == 0) { in ExtractDebugInfo()
654 const dex::u1* ptr = dataPtr<dex::u1>(offset); in ExtractDebugInfo()
742 ir::Code* Reader::ExtractCode(dex::u4 offset) { in ExtractCode() argument
743 if (offset == 0) { in ExtractCode()
747 SLICER_CHECK_EQ(offset % 4, 0); in ExtractCode()
749 auto dex_code = dataPtr<dex::Code>(offset); in ExtractCode()
882 ir::TypeList* Reader::ExtractTypeList(dex::u4 offset) { in ExtractTypeList() argument
883 if (offset == 0) { in ExtractTypeList()
888 auto& ir_type_list = type_lists_[offset]; in ExtractTypeList()
892 auto dex_type_list = dataPtr<dex::TypeList>(offset); in ExtractTypeList()