Lines Matching refs:out_file
28 with open(temp_uncompressed, 'wb') as out_file:
30 out_file.write(brotli.decompress(in_file.read()))
36 with open(temp_compressed, 'wb') as out_file:
38 out_file.write(self.compressor.process(in_file.read()))
39 out_file.write(self.compressor.finish())
45 with open(temp_compressed, 'wb') as out_file:
49 out_file.write(self.compressor.process(data))
50 out_file.write(self.compressor.finish())
56 with open(temp_compressed, 'wb') as out_file:
60 out_file.write(self.compressor.process(data))
61 out_file.write(self.compressor.flush())
62 out_file.write(self.compressor.finish())