Lines Matching refs:regions
100 regions = Regions()
103 regions.extend(Region(i1, i2))
104 return regions
168 def apply(self, filename, regions=all_regions):
169 """Possibly apply to specified regions of file 'filename'.
180 errors = self.check(filename, regions)
183 self.fix(filename, regions)
188 self.fix(filename, regions)
195 def check(self, filename, regions=all_regions, fobj=None, silent=False):
196 """Check specified regions of file 'filename'.
220 def fix(self, filename, regions=all_regions):
221 """Fix specified regions of file 'filename'.
230 def check(self, filename, regions=all_regions, fobj=None, silent=False):
241 if num not in regions:
256 def fix(self, filename, regions=all_regions):
269 if i in regions:
348 def check(self, filename, regions=all_regions, fobj=None, silent=False):
365 modified = _modified_regions(old, new) & regions
372 for start, end in modified.regions:
379 def fix(self, filename, regions=all_regions):
423 def fix(self, filename, regions=all_regions, **kwargs):