Lines Matching refs:os
21 import os
27 with os.fdopen(os.open(tmp_file, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
31 …with os.fdopen(os.open(symbols_path, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_fil…
47 llvm_dir_path = os.path.join(
49 if not os.path.exists(llvm_dir_path):
50 llvm_dir_path = os.path.join(root_path, 'out/llvm-install/bin')
51 llvm_nm_path = os.path.join(llvm_dir_path, "llvm-nm")
52 llvm_objcopy_path = os.path.join(llvm_dir_path, "llvm-objcopy")
70 … with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
73 … with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'r', encoding='utf-8') as output_file:
82 os.remove(tmp_file1)
83 os.remove(tmp_file2)
88 … with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
91 … with os.fdopen(os.open(tmp_file1, os.O_RDWR | os.O_CREAT), 'r', encoding='utf-8') as output_file:
100 os.remove(tmp_file1)
101 os.remove(tmp_file2)
104 … with os.fdopen(os.open(keep_path, os.O_RDWR | os.O_CREAT), 'w', encoding='utf-8') as output_file:
119 os.remove(dynsyms_path)
120 os.remove(funcsysms_path)
121 os.remove(keep_path)
122 os.remove(debug_path)
123 os.remove(mini_debug_path + ".xz")