Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 6 of 6) sorted by relevance

/build/hb/helper/
Dsingleton.py21 def __call__(cls, *args, **kwargs): argument
22 if cls not in cls._instances:
23 cls._instances[cls] = super(Singleton,
24 cls).__call__(*args, **kwargs)
25 return cls._instances[cls]
/build/templates/common/
Dinclude_relative_path_check.py27 def __get_need_scan_path(cls, components, project, components_info_path): argument
47 def __get_components(cls, config: str, project: str): argument
53 cls.get_components_from_inherit_attr(components, inherit, project)
62 def get_components_from_inherit_attr(cls, components, inherit, project): argument
72 def check(cls, include): argument
78 def scan_files(cls, components, proj_path): argument
89 cls.scan_each_file(component, file, proj_path, results)
95 def scan_each_file(cls, component, file, project_path, results): argument
102 if cls.check(include):
109 def analysis(cls, config: str, project_path: str, components_info: str, output_path: str): argument
[all …]
/build/scripts/util/
Dpycache.py29 def retrieve_object(cls, cache_artifact, obj): argument
54 def add_object(cls, cache_artifact, obj): argument
116 def cache_key(cls, path): argument
Dmd5_check.py278 def from_file(cls, fileobj): argument
280 ret = cls()
/build/ohos/packages/
Dfs_process.py59 def is_lib(cls, lib): argument
63 def is_incr(cls, fs_incr): argument
127 def chmod(cls, file, mode): argument
133 def filter(cls, files, ignore_list): argument
/build/hb/util/loader/
Dload_ohos_build.py132 def _parsing_kits_lib(cls, kit_lib, is_inner_kits=False): argument