Lines Matching refs:os
5 import os
64 if not os.path.exists(dst_dir):
65 os.makedirs(dst_dir)
70 split_name = os.path.splitext(filename)
73 with open(os.path.join(src_dir, filename)) as in_file:
74 with open(os.path.join(dst_dir, out_filename), 'w') as out_file:
86 for root, dirs, files in os.walk(src_dir, followlinks=True):
87 relroot = os.path.relpath(root,src_dir)
100 outroot = os.path.join(dest_dir, relroot)
124 if not os.path.exists(build_dir):
125 os.makedirs(build_dir)
129 working_dir=os.getcwd()
131 os.chdir(build_dir)
142 os.chdir(working_dir)
145 basename, suffix = os.path.splitext(header_name)
154 basename, suffix = os.path.splitext(header_name)
155 with open(os.path.join('ios/include', header_name), 'w') as header: