Lines Matching refs:fn
310 def read_helper(fn): argument
312 return input_file.read(fn)
314 path = os.path.join(input_file, *fn.split("/"))
320 raise KeyError(fn)
619 fn = os.path.join(sourcedir, "second")
620 if os.access(fn, os.F_OK):
622 cmd.append(fn)
624 fn = os.path.join(sourcedir, "dtb")
625 if os.access(fn, os.F_OK):
627 cmd.append(fn)
629 fn = os.path.join(sourcedir, "cmdline")
630 if os.access(fn, os.F_OK):
632 cmd.append(open(fn).read().rstrip("\n"))
634 fn = os.path.join(sourcedir, "base")
635 if os.access(fn, os.F_OK):
637 cmd.append(open(fn).read().rstrip("\n"))
639 fn = os.path.join(sourcedir, "pagesize")
640 if os.access(fn, os.F_OK):
642 cmd.append(open(fn).read().rstrip("\n"))
667 fn = os.path.join(sourcedir, "recovery_dtbo")
668 cmd.extend(["--recovery_dtbo", fn])
670 fn = os.path.join(sourcedir, "recovery_acpio")
671 cmd.extend(["--recovery_acpio", fn])
1372 fd, fn = tempfile.mkstemp(prefix=prefix, suffix=suffix)
1374 OPTIONS.tempfiles.append(fn)
1375 return fn