Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 68) sorted by relevance

123

/build/hb/resources/
Dconfig.py40 def __init__(self): argument
67 def __post__init(self): argument
97 def component_type(self): argument
101 def component_type(self, value): argument
106 def target_os(self): argument
110 def target_os(self, value): argument
115 def target_cpu(self): argument
119 def target_cpu(self, value): argument
124 def version(self): argument
128 def version(self, value): argument
[all …]
/build/hb/services/
Dloader.py34 def __init__(self): argument
59 def __post_init__(self): argument
151 def _check_args(self): argument
180 def _check_product_part_feature(self): argument
203 def _check_parts_config_info(self): argument
224 def _generate_syscap_files(self): argument
332 def _generate_infos_for_testfwk(self): argument
355 def _generate_target_platform_parts(self): argument
370 def _generate_part_different_info(self): argument
386 def _generate_platforms_list(self): argument
[all …]
Dpreloader.py30 def __init__(self): argument
44 def __post_init__(self): argument
64 def _generate_platforms_build(self): argument
82 def _generate_build_gnargs_prop(self): argument
111 def _generate_features_json(self): argument
134 def _generate_syscap_json(self): argument
155 def _generate_exclusion_modules_json(self): argument
172 def _generate_build_config_json(self): argument
183 def _generate_build_prop(self): argument
198 def _generate_parts_json(self): argument
[all …]
Dninja.py32 def __init__(self): argument
37 def run(self): argument
40 def _execute_ninja_cmd(self): argument
54 def _convert_args(self) -> list: argument
70 def _regist_ninja_path(self): argument
Dgn.py46 def __init__(self): argument
51 def run(self): argument
55 def execute_gn_cmd(self, cmd_type: int, **kwargs): argument
80 def _regist_gn_path(self): argument
94 def _convert_args(self) -> list: argument
117 def _convert_flags(self) -> list: argument
136 def _check_options_validity(self, option: str, args_file: dict): argument
164 def _execute_gn_gen_cmd(self, **kwargs): argument
186 def _execute_gn_path_cmd(self, **kwargs): argument
211 def _execute_gn_desc_cmd(self, **kwargs): argument
[all …]
/build/hb/services/interface/
Dpreload_interface.py26 def __init__(self): argument
31 def outputs(self): argument
35 def config(self): argument
38 def regist_arg(self, arg_name: str, arg_value: str): argument
45 def run(self): argument
61 def __post_init__(self): argument
65 def _generate_build_prop(self): argument
69 def _generate_build_config_json(self): argument
73 def _generate_parts_json(self): argument
77 def _generate_parts_config_json(self): argument
[all …]
Dservice_interface.py23 def __init__(self): argument
28 def args_dict(self) -> dict: argument
32 def exec(self) -> str: argument
36 def exec(self, value): argument
40 def regist_arg(self, arg_name: str, arg_value): argument
44 def run(self): argument
Dbuild_file_generator_interface.py25 def __init__(self): argument
30 def flags_dict(self): argument
33 def regist_flag(self, flag_name: str, flag_value): argument
36 def regist_arg(self, arg_name: str, arg_value: str): argument
40 def run(self): argument
/build/hb/test/unitTest/services/
Dpreloader_test.py26 def setUp(self): argument
30 def tearDown(self): argument
33 def test_generate_build_prop(self): argument
36 def test_generate_build_config_json(self): argument
39 def test_generate_parts_json(self): argument
42 def test_generate_parts_config_json(self): argument
45 def test_generate_build_gnargs_prop(self): argument
48 def test_generate_features_json(self): argument
51 def test_generate_syscap_json(self): argument
54 def test_generate_exclusion_modules_json(self): argument
[all …]
/build/hb/modules/interface/
Dbuild_module_interface.py31 def __init__(self, argument
46 def preloader(self): argument
50 def loader(self): argument
54 def target_generator(self): argument
58 def target_compiler(self): argument
61 def run(self): argument
79 def _prebuild(self): argument
83 def _preload(self): argument
87 def _load(self): argument
91 def _pre_target_generate(self): argument
[all …]
Dtool_module_interface.py28 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface): argument
32 def list_targets(self): argument
36 def desc_targets(self): argument
40 def path_targets(self): argument
44 def refs_targets(self): argument
48 def format_targets(self): argument
52 def clean_targets(self): argument
55 def run(self): argument
/build/hb/util/preloader/
Dpreloader_process_data.py27 def __init__(self, output_dir): argument
30 def __post_init__(self, output_dir): argument
52 def __init__(self, config): argument
55 def __post_init__(self, config): argument
80 def __init__(self, config_dirs: Dirs, ohos_config: Config): argument
94 def __post_init__(self, config_dirs: Dirs, config: Config): argument
104 def _do_parse(self): argument
114 def _update_syscap_info(self): argument
131 def _update_device(self): argument
151 def _update_parts(self): argument
[all …]
/build/hb/modules/
Dohos_build_module.py37 def __init__(self, argument
51 def build_time(self): argument
63 def run(self): argument
73 def _prebuild(self): argument
76 def _preload(self): argument
81 def _load(self): argument
86 def _pre_target_generate(self): argument
89 def _target_generate(self): argument
94 def _post_target_generate(self): argument
97 def _pre_target_compilation(self): argument
[all …]
Dohos_tool_module.py29 …def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, gn: BuildFileGeneratorIn… argument
43 def gn(self): argument
46 def list_targets(self): argument
49 def desc_targets(self): argument
52 def path_targets(self): argument
55 def refs_targets(self): argument
58 def format_targets(self): argument
61 def clean_targets(self): argument
/build/tools/component_tools/
Dcomponent_node.py22 def __init__(self, module_name, subsystem_name, part_name, deps, external_deps, raw_data): argument
31 def module_name(self): argument
35 def module_name(self, value): argument
39 def subsystem_name(self): argument
43 def subsystem_name(self, value): argument
47 def part_name(self): argument
51 def part_name(self, value): argument
55 def deps(self): argument
59 def deps(self, value): argument
63 def external_deps(self): argument
[all …]
/build/scripts/
Dcargo2gn.py135 def __init__(self, runner, outfile_name): argument
175 def write(self, s): argument
179 def parse_rustc(self, line_num, line): argument
227 def parse_args(self, args): argument
277 def deal_cfg(self, arg): argument
287 def add_ignore_options_flag(self, flag): argument
298 def deal_extern(self, arg): argument
303 def set_root_pkg_name(self, arg): argument
313 def deal_static_and_dylib(self, arg): argument
321 def set_main_src(self, arg): argument
[all …]
Dninja2trace.py27 def __init__(self, start, end): argument
32 def __str__(self): argument
37 def __init__(self): argument
41 def parse_file(self, filename, ninja_start_time): argument
66 def save_durations(self, duration_file): argument
76 def trans_to_trace_json(self, dest_file_name): argument
105 def __init__(self): argument
108 def counting_the_new_tid(self, storingdataline): argument
/build/tools/component_tools/static_check/gn_check/
Dcheck_gn.py41 def __init__(self, ohos_root: str, black_dir: tuple = tuple(), check_path='') -> None: argument
61 def get_all_gn_data(self) -> dict: argument
90 def get_all_abs_path(self) -> list: argument
113 def check_have_product_name(self) -> pd.DataFrame: argument
144 def check_have_product_name_all(self) -> pd.DataFrame: argument
187 def check_pn_sn(self) -> pd.DataFrame: argument
233 def check_pn_sn_all(self) -> pd.DataFrame: argument
284 def check_abs_path(self) -> pd.DataFrame: argument
314 def check_abs_path_all(self) -> pd.DataFrame: argument
354 def output(self): argument
Dcheck_gn_online.py33 def __init__(self, gn_data: dict) -> None: argument
38 def merge_line(self) -> dict: argument
68 def check_have_product_name(self, key: str, line: list) -> None: argument
85 def check_abs_path(self, key: str, line: list) -> None: argument
106 def iter_modified_line(self, key, modified_line, target_pattern) -> None: argument
133 def check_pn_sn(self) -> None: argument
147 def load_ohos_xml(self, path): argument
159 def is_checked(self, file, xml_dict): argument
174 def pre_check(self): argument
180 def check(self): argument
[all …]
/build/hb/
Dmain.py62 def _init_build_module(self) -> BuildModuleInterface: argument
79 def _init_set_module(self) -> SetModuleInterface: argument
87 def _init_env_module(self) -> EnvModuleInterface: argument
92 def _init_clean_module(self) -> CleanModuleInterface: argument
97 def _init_tool_module(self) -> ToolModuleInterface: argument
/build/
Dgn_helpers.py170 def __init__(self, string): argument
174 def IsDone(self): argument
177 def ConsumeWhitespace(self): argument
181 def Parse(self): argument
206 def ParseArgs(self): argument
227 def _ParseAllowTrailing(self): argument
247 def _ParseIdent(self): argument
265 def ParseNumber(self): argument
283 def ParseString(self): argument
310 def ParseList(self): argument
[all …]
/build/ohos/sa_profile/sa_info_process/
Dmerge_sa_info.py30 def __init__(self, process_name, wdir): argument
36 def output_filename(self): argument
40 def add_systemability_info(self, systemability): argument
43 def merge_sa_info(self): argument
56 def __init__(self): argument
60 def __add_to_output_filelist(self, infile): argument
63 def __parse_json_file(self, file): argument
89 def __merge(self, sa_info_filelist, path_merges): argument
126 def merge(self, sa_info_filelist, output_dir): argument
/build/scripts/util/
Dmd5_check.py135 def __init__(self, old_metadata, new_metadata, force, missing_outputs): argument
141 def _get_old_tag(self, path, subpath=None): argument
144 def has_changes(self): argument
151 def added_or_modified_only(self): argument
167 def iter_all_paths(self): argument
171 def iter_all_subpaths(self, path): argument
175 def iter_added_paths(self): argument
181 def iter_added_subpaths(self, path): argument
187 def iter_removed_paths(self): argument
194 def iter_removed_subpaths(self, path): argument
[all …]
Dpyd.py34 def log_message(self, format, *args): # pylint: disable=redefined-builtin argument
40 def do_cache_hit(self): argument
44 def do_cache_miss(self): argument
48 def do_cache_manage(self): argument
52 def do_show_statistics(self): argument
56 def do_stop_service(self): argument
62 def __init__(self, *args, **kargs): argument
70 def serve_forever(self, poll_interval=0.5): argument
75 def record_pycache_config(self, pycache_dir): argument
91 def cache_manage(self): argument
[all …]
/build/hb/util/loader/
Dload_ohos_build.py110 def __init__(self, part_name, variant_name, part_config, toolchain, argument
160 def _parsing_inner_kits(self, part_name, inner_kits_info, build_gn_content, argument
212 def _parsing_system_kits(self, part_name, system_kits_info, argument
230 def _parsing_config(self, part_name, part_config, subsystem_name): argument
287 def part_name(self): argument
291 def part_variant(self): argument
295 def toolchain(self): argument
299 def part_inner_kits(self): argument
303 def part_kits(self): argument
307 def write_build_gn(self, config_output_dir): argument
[all …]

123