Lines Matching refs:output_file
27 with os.fdopen(os.open(tmp_file, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
29 output_file.write('{}\n'.format(item))
31 …ith os.fdopen(os.open(symbols_path, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
33 subprocess.run(cmd.split(), stdout=output_file)
70 … with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
71 subprocess.run(gen_symbols_cmd.split(), stdout=output_file)
73 … with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'r', encoding='utf-8') as output_file:
74 lines = output_file.readlines()
88 … with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
89 subprocess.run(gen_func_symbols_cmd.split(), stdout=output_file)
91 … with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'r', encoding='utf-8') as output_file:
92 lines = output_file.readlines()
104 … with os.fdopen(os.open(keep_path, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
105 subprocess.run(gen_keep_symbols_cmd.split(), stdout=output_file)