Lines Matching refs:num_sections
413 for (i = 0; i < fmap->num_sections; i++) in macho_find_segment_section()
445 …if (ism->sidx < 0 || ism->sidx >= ism->fmap->u.macho.num_sections || fmap->sect[ism->sidx].ignored) in macho_map_section()
459 …if (ism->sidx >= 0 && ism->sidx < fmap->num_sections && fmap->sect[ism->sidx].mapped != IMAGE_NO_M… in macho_unmap_section()
471 if (ism->sidx < 0 || ism->sidx >= ism->fmap->u.macho.num_sections || in macho_get_map_rva()
482 if (ism->sidx < 0 || ism->sidx >= ism->fmap->u.macho.num_sections || in macho_get_map_size()
609 ifm->u.macho.num_sections += nsects; in macho_count_sections()
729 fmap->num_sections = 0; in reset_file_map()
841 fmap->num_sections = 0; in macho_map_file()
844 TRACE("%d sections\n", fmap->num_sections); in macho_map_file()
846 fmap->sect = HeapAlloc(GetProcessHeap(), 0, fmap->num_sections * sizeof(fmap->sect[0])); in macho_map_file()
857 fmap->num_sections = 0; in macho_map_file()
904 for (ism.sidx = 0; ism.sidx < ifm->u.macho.num_sections; ism.sidx++) in macho_unmap_file()
936 if (sectidx >= fmap->num_sections || fmap->sect[sectidx].ignored) return FALSE; in macho_sect_is_code()