Lines Matching refs:path

104     if not os.path.exists(input_file):
113 file_dir = os.path.dirname(os.path.abspath(output_file))
114 if not os.path.exists(file_dir):
139 _parent_output = os.path.dirname(_output)
141 if to_dir and not os.path.exists(_output):
143 if not to_dir and not os.path.exists(_parent_output):
146 if not os.path.isdir(_output):
163 if os.path.isfile(source_file) and os.path.exists(source_file):
164 # if same file name exist, add dir path
165 if os.path.basename(source_file) in copy_set:
166 new_output = os.path.join(output, os.path.dirname(source_file).
168 if not os.path.exists(new_output):
173 copy_set.add(os.path.basename(source_file))
179 if os.path.isdir(source_file):
188 path = "%s%s/%s" % (
190 outputs.append(path)
191 print(path)
195 def get_subsystem_name(path):
199 _path = path.lower()
212 if not os.path.exists(module_list_file):
223 def glob(path, filename_pattern):
225 for dir_path, _, files in os.walk(path):
227 files.append(os.path.join(dir_path, filename))
236 if os.path.exists(product_json):
262 def get_subsystem_name_no_output(path):
266 _path = path.lower()
277 def check_component(path, components):
282 if component_name in path or "{}_hal".format(component_name) in path \
283 or "{}_posix".format(component_name) in path:
304 module_info_list_file = os.path.join(suite_out_dir, 'module_info.json')
306 module_info_list_file = os.path.join(suite_out_dir,
310 if os.path.exists(module_info_list_file):
324 if not os.path.exists(out_dir):
326 all_module_file = os.path.join(out_dir, 'module_info.json')
331 with open(os.path.join(root, file), 'r') as json_data:
334 os.remove(os.path.join(root, file))
338 test_component_file = os.path.join(out_dir, 'test_component.json')
365 gradle_dir = os.path.join(project_path, "gradle")
371 gralde_output_dir = os.path.join(gradle_dir, "entry", "build", "outputs")
372 if os.path.exists(gralde_output_dir):
376 file_util.copy_file(os.path.join(root, file),
377 os.path.join(out_put_dir.rstrip(','),
398 if not os.path.exists(tmpl_file):
401 "path %s " % os.path.dirname(