Home
last modified time | relevance | path

Searched refs:parent_dir (Results 1 – 9 of 9) sorted by relevance

/tools/asuite/aidegen/lib/
Dclion_project_file_gen.py132 def __init__(self, mod_info, parent_dir=None): argument
145 mod_info, parent_dir)
170 def get_module_path(mod_info, parent_dir=None): argument
203 if parent_dir and len(mod_paths) > 1:
205 if common_util.is_source_under_relative_path(path, parent_dir):
436 parent_dir = os.path.relpath(abs_project_path, root_dir)
440 mod_info, parent_dir)
Dnative_util.py60 parent_dir, targets = _get_merged_native_target(cc_module_info, targets)
61 rel_path = os.path.relpath(parent_dir, common_util.get_android_root_dir())
/tools/acloud/internal/lib/
Dlocal_instance_lock.py103 parent_dir = os.path.dirname(self._file_path)
104 if not os.path.exists(parent_dir):
105 os.makedirs(parent_dir)
Dgoldfish_utils.py42 def _FindFileByNames(parent_dir, names): argument
56 path = os.path.join(parent_dir, name)
60 (", ".join(names), parent_dir))
Dota_tools_test.py93 parent_dir = os.path.dirname(path)
94 if not os.path.exists(parent_dir):
95 os.makedirs(parent_dir)
Dutils.py1567 for parent_dir, _, file_names in os.walk(dir_path):
1569 SetExecutable(os.path.join(parent_dir, name))
/tools/asuite/atest-py2/test_finders/
Dtest_finder_utils.py467 def is_equal_or_sub_dir(sub_dir, parent_dir): argument
479 parent_dir = os.path.realpath(parent_dir)
481 if not os.path.isdir(sub_dir) or not os.path.isdir(parent_dir):
483 return os.path.commonprefix([sub_dir, parent_dir]) == parent_dir
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py588 def is_equal_or_sub_dir(sub_dir, parent_dir): argument
600 parent_dir = os.path.realpath(parent_dir)
602 if not os.path.isdir(sub_dir) or not os.path.isdir(parent_dir):
604 return os.path.commonprefix([sub_dir, parent_dir]) == parent_dir
/tools/acloud/create/
Dgoldfish_local_image_local_instance_test.py57 parent_dir = os.path.dirname(path)
58 if not os.path.exists(parent_dir):
59 os.makedirs(parent_dir)