Home
last modified time | relevance | path

Searched refs:dict (Results 1 – 25 of 96) sorted by relevance

1234

/build/tools/component_tools/static_check/bundle_check/
Dbundle_json_check.py96 def to_json(all_errors:dict, argument
215 def check_name(self) -> dict:
216 bundle_error = dict(line=0, contents='"name"')
238 return dict()
241 def check_version(self) -> dict:
242 bundle_error = dict(line=0, contents='version')
257 return dict()
262 bundle_error = dict(line=0, contents='"segment"')
300 bundle_error = dict(line=0, contents='"component"',
318 …def _check_component_name(self, component: dict, component_line: int, bundle_error_component: list… argument
[all …]
Dget_subsystem_with_component.py70 def get_subsystem_components_modified(ohos_root: str) -> dict:
71 ret = dict()
83 def export_to_json(subsystem_item: dict, argument
/build/hb/resolver/
Dargs_factory.py29 def genetic_add_option(parser: argparse.ArgumentParser, arg: dict) -> argparse.ArgumentParser: argument
43 def _add_bool_option(parser: argparse.ArgumentParser, arg: dict) -> argparse.ArgumentParser: argument
51 def _add_str_option(parser: argparse.ArgumentParser, arg: dict) -> argparse.ArgumentParser: argument
64 def _add_list_option(parser: argparse.ArgumentParser, arg: dict) -> argparse.ArgumentParser: argument
72 def _add_bool_abbreviation_option(parser: argparse.ArgumentParser, arg: dict) -> argparse.ArgumentP… argument
77 def _add_str_abbreviation_option(parser: argparse.ArgumentParser, arg: dict) -> argparse.ArgumentPa… argument
82 def _add_str_optional_option(parser: argparse.ArgumentParser, arg: dict) -> argparse.ArgumentParser: argument
87 def _add_str_optional_abbreviation_option(parser: argparse.ArgumentParser, arg: dict) -> argparse.A… argument
92 def _add_list_abbreviation_option(parser: argparse.ArgumentParser, arg: dict) -> argparse.ArgumentP… argument
Dset_args_resolver.py32 def __init__(self, args_dict: dict): argument
38 product_info = dict()
39 device_info = dict()
/build/ohos/packages/
Dresources_collect.py42 def _collect_testcase(resources_dir: str, parts_info: dict, output_base_dir: str): argument
63 def collect_testcase(resources_dir_list: list, parts_info: dict, output_base_dir: str): argument
68 def _collect_test_mlf(resources_dir: str, parts_info: dict, output_base_dir: str): argument
89 def collect_test_mlf(resources_dir_list: list, parts_info: dict, output_base_dir: str): argument
94 def _collect_libs_symbols(resources_dir: str, parts_info: dict, package_output_base_dir: str): argument
120 def collect_libs_symbols(resources_dir_list: list, parts_info: dict, output_base_dir: str): argument
125 def _collect_libs_java(resources_dir: str, parts_info: dict, output_base_dir: str): argument
148 def collect_libs_java(resources_dir_list: str, parts_info: dict, output_base_dir: str): argument
153 def _collect_kits_modules(resources_dir: str, parts_info: dict, output_base_dir: str): argument
166 def collect_kits_modules(resources_dir_list: list, parts_info: dict, output_base_dir: str): argument
[all …]
/build/tools/component_tools/static_check/
Dcsct_online_prehandle.py24 def add2dict(diff_dict: dict, path: str, line_num: str, content): argument
37 def __diff_match_file_start(control_block: dict, line: str): argument
51 def __diff_match_is_newfile(control_block: dict, line: str): argument
60 def __diff_match_filename_with_minus(control_block: dict, line: str): argument
69 def __diff_match_filename_with_plus(control_block: dict, line: str): argument
88 def __diff_match_start_linenum(control_block: dict, line: str): argument
98 def __diff_match_code_line(control_block: dict, line: str): argument
118 def strip_diff(diff_dict: dict, pull_request_url: str, gitee_pr_diff: str): argument
/build/hb/services/interface/
Dmenu_interface.py25 def select_product(self) -> dict:
29 def select_compile_option(self) -> dict:
/build/templates/common/
Dcheck_deps_handler.py27 def check_third_party_deps(args, dep_part: str, parts_deps_info: dict, _tips_info: dict, third_deps… argument
90 def get_part_pattern(cur_part_name: str, parts_path_info: dict, path_parts_info: dict, depfiles: li… argument
106 def get_dep_part(dep_path: str, third_part_info: dict) -> str: argument
116 …heck_part_deps(args, part_pattern: str, path_parts_info: dict, compile_standard_allow_info: dict, … argument
/build/hb/resolver/interface/
Dargs_resolver_interface.py27 def __init__(self, args_dict: dict): argument
28 self._args_to_function = dict()
43 def _map_args_to_function(self, args_dict: dict): argument
/build/ohos/hisysevent/
Dgen_def_from_all_yaml.py242 def _build_header(info_dict: dict): argument
345 def _check_event_domain(yaml_info: dict) -> bool: argument
373 if not isinstance(yaml_info, dict):
400 def _check_event_type(event_name: str, event_base: dict) -> bool: argument
416 def _check_event_level(event_name: str, event_base: dict) -> bool: argument
432 def _check_event_desc(event_name: str, event_base: dict) -> bool: argument
459 def _check_tag_name(event_name: str, event_base: dict, tag_name: str) -> bool: argument
480 tag_dict = dict(Counter(tag_list))
487 def _check_event_tag(event_name: str, event_base: dict) -> bool: argument
510 def _check_event_preserve(event_name: str, event_base: dict) -> bool: argument
[all …]
/build/hb/modules/interface/
Dmodule_interface.py25 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface): argument
34 def args_dict(self) -> dict:
Dclean_module_interface.py26 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface): argument
Dinstall_module_interface.py27 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface): argument
/build/hb/util/preloader/
Dparse_vendor_product_config.py43 pairs = dict()
67 pairs = dict()
73 pairs = dict()
79 parts = dict()
93 parts['{}:{}'.format(ss_name, com_name)] = dict()
Dpreloader_process_data.py294 def _get_device_info_v2(self, device_name, config_dir) -> dict:
304 def _get_device_info_v3(self, config) -> dict:
339 def _get_device_specific_parts(self) -> dict:
347 def _get_device_specific_subsystem(self) -> dict:
357 def _get_base_parts(self, base_config_dir, os_level) -> dict:
365 def _get_inherit_parts(self, inherit, source_root_dir) -> dict:
377 def _get_sys_relate_parts(self, system_component_info, _parts, source_root_dir) -> dict:
389 def _get_product_specific_parts(self) -> dict:
396 def _get_product_specific_subsystem(self) -> dict:
407 def _get_full_product_config(self) -> dict:
/build/config/mac/
Dsdk_info.py49 def FillXcodeVersion(settings: dict): argument
57 def FillMachineOSBuild(settings: dict): argument
63 def FillSDKPathAndVersion(settings: dict, platform: str, xcode_version: str or bytes): argument
/build/hb/util/
Dproduct_util.py334 def get_vendor_parts_list(config: dict): argument
342 def _transform(config: dict): argument
351 def _from_ss_to_parts(subsystems: dict): argument
352 parts = dict()
366 parts['{}:{}'.format(ss_name, com_name)] = dict()
381 def get_features(features: dict): argument
401 pairs = dict()
406 def get_syscap(syscap: dict): argument
425 pairs = dict()
431 pairs = dict()
Dio_util.py32 def read_json_file(input_file: str) -> dict:
41 def dump_json_file(dump_file: str, json_data: dict or list):
/build/tools/component_tools/
Dparse_kconf.py55 def merge(component_subsys_dict: dict, component_deps_dict: dict, subsys_conf: dict): argument
82 def handle_config_feature(items: dict, arr: list, line: str): argument
93 def handle_config_component(items: dict, arr: list, line: str): argument
100 def handle_config_property(items: dict, arr: list, line: str): argument
/build/scripts/
Dbuild_js_assets.py64 def make_my_env(options, js2abc: bool) -> dict:
85 def make_manifest_data(config: dict, options, js2abc: bool, asset_index: int, assets_cnt: int, src_… argument
86 data = dict()
152 data = dict()
178 def enable_compile_cache(asset_index: int, assets_cnt: int, env: dict, use_compile_cache: bool): argument
216 assets_dict = dict()
/build/hb/services/
Dloader.py576 def _get_parts_by_platform(self) -> dict:
599 def _get_platforms_all_parts(self) -> dict:
621 def _get_platforms_all_stubs(self) -> dict:
657 def _get_platforms_parts(self) -> dict:
690 def _get_required_build_targets(self) -> dict:
698 def _get_required_phony_targets(self) -> dict:
714 def _load_component_dist(self) -> dict:
739 …ef _get_real_part_name(self, original_part_name: str, current_platform: str, parts_variants: dict): argument
754 def _output_infos_by_platform(self, part_name_infos: dict, parts_info_dict: dict): argument
861 …lf, subsystem_info: dict, component: dict, build_file: str, all_parts: dict, overrided_components:… argument
[all …]
/build/hb/containers/
Darg.py157 attribute: dict, argtype: ArgType, value, argument
205 def create_instance_by_dict(data: dict): argument
209 arg_attibute = dict(data['arg_attribute'])
221 arg_value = dict(data['argDefault'])
236 arg = dict(arg)
245 def parse_all_args(module_type: ModuleType) -> dict:
251 arg = dict(arg)
/build/tools/component_tools/static_check/gn_check/
Dcheck_gn_online.py33 def __init__(self, gn_data: dict) -> None: argument
38 def merge_line(self) -> dict:
39 ret_dict = dict()
148 ret_dict = dict()
/build/tools/module_dependence/
Ddependence_analysis.py74 def _merge_external_deps_label(deps_data: dict, external_deps_data: dict): argument
/build/
Dgn_helpers.py54 if isinstance(value, dict):
70 def FromGNString(input_string: str) -> dict:
111 def FromGNArgs(input_string: str) -> dict:
206 def ParseArgs(self) -> dict:

1234