Lines Matching refs:fname
73 def FromFile(cls, fname): argument
85 data = tools.ReadFile(fname)
115 image._filename = fname
116 image.image_name, _ = os.path.splitext(fname)
147 fname = tools.GetOutputFilename(self._filename)
148 tout.Info("Writing image to '%s'" % fname)
149 with open(fname, 'wb') as fd:
161 fname = tools.GetOutputFilename(filename)
162 with open(fname, 'w') as fd:
166 return fname
264 def _NameInPaths(fname, entry_paths): argument
278 if fnmatch.fnmatch(fname, path):