Lines Matching refs:out_file
25 with open(temp_uncompressed, 'wb') as out_file:
27 out_file.write(brotli.decompress(in_file.read()))
33 with open(temp_compressed, 'wb') as out_file:
35 out_file.write(self.compressor.process(in_file.read()))
36 out_file.write(self.compressor.finish())
42 with open(temp_compressed, 'wb') as out_file:
46 out_file.write(self.compressor.process(data))
47 out_file.write(self.compressor.finish())
53 with open(temp_compressed, 'wb') as out_file:
57 out_file.write(self.compressor.process(data))
58 out_file.write(self.compressor.flush())
59 out_file.write(self.compressor.finish())