Lines Matching refs:in_file
42 def encode(in_file, out_file, name=None, mode=None, *, backtick=False): argument
49 if in_file == '-':
50 in_file = sys.stdin.buffer
51 elif isinstance(in_file, str):
53 name = os.path.basename(in_file)
56 mode = os.stat(in_file).st_mode
59 in_file = open(in_file, 'rb')
60 opened_files.append(in_file)
87 data = in_file.read(45)
90 data = in_file.read(45)
100 def decode(in_file, out_file=None, mode=None, quiet=False): argument
106 if in_file == '-':
107 in_file = sys.stdin.buffer
108 elif isinstance(in_file, str):
109 in_file = open(in_file, 'rb')
110 opened_files.append(in_file)
117 hdr = in_file.readline()
149 s = in_file.readline()
160 s = in_file.readline()