Lines Matching refs:f
27 with self.do_open(tmp_file, mode="w" + mode_suffix) as f:
28 f.write(data)
30 with self.do_open(tmp_file, mode="r" + mode_suffix) as f:
31 read_data = f.read()
59 with tmp_file.open("wb") as f:
60 f.write(b"\x00")
63 with self.do_open(tmp_file, mode="rb", stderr=subprocess.DEVNULL) as f:
64 data = f.read()
75 with bb.compress.lz4.open(*args, **kwargs) as f:
76 yield f
87 with bb.compress.zstd.open(*args, **kwargs) as f:
88 yield f
99 with bb.compress.zstd.open(*args, num_threads=2, **kwargs) as f:
100 yield f