Lines Matching refs:fn
33 def md5sum_file(fn, max_length=None): argument
46 with open(fn, 'rb') as fh:
58 def __init__(self, u_boot_console, fn, size): argument
77 self.fn = fn
79 self.abs_fn = u_boot_console.config.persistent_data_dir + '/' + fn
93 def attempt_to_open_file(fn): argument
110 return open(fn, 'rb')
114 def wait_until_open_succeeds(fn): argument
128 fh = attempt_to_open_file(fn)
134 def wait_until_file_open_fails(fn, ignore_errors): argument
151 fh = attempt_to_open_file(fn)