Lines Matching refs:in_file
42 def encode(in_file, out_file, name=None, mode=None): argument
49 if in_file == '-':
50 in_file = sys.stdin
51 elif isinstance(in_file, basestring):
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)
80 data = in_file.read(45)
83 data = in_file.read(45)
90 def decode(in_file, out_file=None, mode=None, quiet=0): argument
96 if in_file == '-':
97 in_file = sys.stdin
98 elif isinstance(in_file, basestring):
99 in_file = open(in_file)
100 opened_files.append(in_file)
106 hdr = in_file.readline()
140 s = in_file.readline()
151 s = in_file.readline()