Lines Matching refs:fn
29 def md5sum_file(fn, max_length=None): argument
42 with open(fn, 'rb') as fh:
54 def __init__(self, u_boot_console, fn, size): argument
73 self.fn = fn
75 self.abs_fn = u_boot_console.config.persistent_data_dir + '/' + fn
89 def attempt_to_open_file(fn): argument
106 return open(fn, 'rb')
110 def wait_until_open_succeeds(fn): argument
124 fh = attempt_to_open_file(fn)
130 def wait_until_file_open_fails(fn, ignore_errors): argument
147 fh = attempt_to_open_file(fn)