Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 53) sorted by relevance

123

/build/tools/component_tools/static_check/bundle_check/
Dbundle_check_online.py68 key = match.group(1)
71 if key == 'name':
73 if key == 'version':
78 if key == 'destPath':
82 if key == 'subsystem':
85 if key == 'rom' or key == 'ram':
86 return _check_line_rom_ram(key, value)
87 if key == 'syscap':
89 if key == 'features':
123 def _check_line_rom_ram(key, value): argument
[all …]
/build/hb/util/preloader/
Dparse_vendor_product_config.py32 key = feat[:match].strip()
35 feats[key] = True
37 feats[key] = False
39 feats[key] = int(val)
41 feats[key] = val.replace('\"', '"')
56 key = feat[:match].strip()
59 feats[key] = True
61 feats[key] = False
63 feats[key] = int(val)
65 feats[key] = val.replace('\"', '"')
[all …]
/build/tools/component_tools/static_check/gn_check/
Dcheck_gn_online.py40 for key, values in self.gn_data.items():
65 ret_dict.update({key: row_range})
68 def check_have_product_name(self, key: str, line: list) -> None:
81 self.err_info.append([key, pos, rules, issue])
85 def check_abs_path(self, key: str, line: list) -> None:
102 self.err_info.append([key, pos, rules, issue])
106 def iter_modified_line(self, key, modified_line, target_pattern) -> None: argument
129 self.err_info.append([key, pos, rules, issue])
143 for key, values in gn_data_merge.items():
144 self.iter_modified_line(key, values, target_pattern)
[all …]
Dcheck_gn.py201 for key, values in all_gn_data.items():
214 self.ohos_root, key), grep_parameter='n')
222 [key[len(self.check_path) + 1:], pos, rules, issue])
247 for key, values in all_gn_data.items():
260 self.ohos_root, key), grep_parameter='n')
268 ['null', 'null', key, pos, rules, issue])
273 … bad_target_to_excel[index][:2] = [content['subsystem'], content['component']] if key.startswith(
/build/hb/services/
Dhpm.py96 for key, value in self.args_dict.items():
98 args_list.append('{}={}'.format(key, str(value).lower()))
101 args_list.append('{}="{}"'.format(key, value))
104 args_list.append('{}={}'.format(key, value))
107 args_list.append('{}="{}"'.format(key, "&&".join(value)))
119 for key, value in self.flags_dict.items():
121 if key == "part_name":
125 flags_list.append('--{}'.format(key))
126 elif key == 'path':
127 flags_list.extend(['--{}'.format(key), '{}'.format(str(value))])
[all …]
Dninja.py86 for key, value in self._args_dict.items():
87 if key == 'build_target' and isinstance(value, list):
89 elif key == 'ninja_args' and isinstance(value, list):
93 args_list.insert(0, key)
95 args_list.insert(0, ' {}{} '.format(key, value))
Dgn.py99 for key, value in self.args_dict.items():
101 args_list.append('{}={}'.format(key, str(value).lower()))
104 args_list.append('{}="{}"'.format(key, value))
107 args_list.append('{}={}'.format(key, value))
110 args_list.append('{}="{}"'.format(key, "&&".join(value)))
122 for key, value in self.flags_dict.items():
123 if key == 'gn_flags' and isinstance(value, list):
126 flags_list.append('{}'.format(key))
128 flags_list.append('{}={}'.format(key, str(value)).lower())
218 gn_path_cmd.sort(key=sort_index)
[all …]
/build/hb/util/loader/
Dsubsystem_info.py34 for key, val in subsystem_configs.get('subsystem').items():
35 src_subsystem[key] = val.get('path')
46 def merge_subsystem_overlay(subsystem_configs, subsystem_config_overlay, key): argument
47 subsystem_info = subsystem_configs[key]
48 overlay_info = subsystem_config_overlay[key]
62 subsystem_configs[key].setdefault(subsystem, subsystem_config_overlay[key][subsystem])
Dsubsystem_scan.py44 for key, val in subsystem_config.items():
47 "subsystem '{}' not config path.".format(key), "2013")
48 subsystem_info[key] = val.get('path')
83 for key, val in subsystem_infos.items():
91 key), "2013")
99 _build_configs[key] = _info
101 no_src_subsystem[key] = val
Dload_ohos_build.py622 key: value for key, value in self._parts_variants.items() if key in save_part}
624 key: value for key, value in self._part_list.items() if key in save_part}
626 key: value for key, value in self._part_targets_label.items() if key in save_part}
628 key: value for key, value in self._parts_info_dict.items() if key in save_part}
630 key: value for key, value in self._phony_targets.items() if key in save_part}
632 key: value for key, value in self._parts_path_dict.items() if key in save_part}
634 key: value for key, value in self._part_hisysevent_config.items() if key in save_part}
636 key: value for key, value in self._parts_module_list.items() if key in save_part}
638 key: value for key, value in self._parts_deps.items() if key in save_part}
791 for key, value in parts_modules_info.items():
[all …]
/build/config/mac/
Dsdk_info.py98 for key in sorted(settings):
99 value = settings[key]
102 if key != 'xcode_version_int':
104 print('%s=%s' % (key, value))
106 print('%s=%d' % (key, value))
/build/hb/util/
Dproduct_util.py254 for key, val in value["features"].items():
276 for key, val in value["features"].items():
278 features_dict[key] = val
374 for key, val in com.items():
375 if key in ['component', 'features', 'syscap', 'exclusions']:
377 parts.get('{}:{}'.format(ss_name, com_name)).update(key=val)
390 key = feat[:match].strip()
393 feats[key] = True
395 feats[key] = False
397 feats[key] = int(val)
[all …]
/build/tools/component_tools/static_check/
Dcsct_online_prehandle.py25 key = path
28 if key in diff_dict:
29 value_list = diff_dict.pop(key)
34 diff_dict.update({key: value_list})
74 for key in control_block["diff_dict"]:
75 if re.search(key, line) is not None:
76 control_block["curr_key"] = key
Dcsct.py64 for key, vlaues in xml_dict.items():
65 if key.startswith('third_party'):
68 ret_list.append(key)
70 ret_list.append(key)
/build/ohos/sa_profile/
Dsa_profile_archive.py65 for key, value in all_sa_info_files_dict.items():
66 subsystem_out_dir = os.path.join(archive_output_dir, key)
74 os.path.join(_relative_path, key, os.path.basename(_file)))
75 info_dict[key] = _file_list
/build/lite/
Dhap_pack.py82 for key, value in cmd_dict.items():
84 packing_cmd.extend([key, value])
147 for key, value in cmd_dict.items():
149 signing_cmd.extend([key, value])
/build/ohos/statistics/
Dbuild_overlap_statistics.py58 for key in data.keys():
59 path = data.get(key).get('path')
61 paths[key] = path
132 for item in sorted(statistics, key=overlap_rate_key, reverse=True):
/build/toolchain/
Drustc_wrapper.py62 (key, value) = item.split("=", 1)
63 env[key] = value
64 fixed_env_vars.append(key)
/build/scripts/
Dasan_backup.py35 for key, val in platform_toolchain.items():
36 if key == 'phone':
/build/lite/ndk/doc/
Dgen_doc.py50 for (key, value) in list(keys.items()):
52 contents = re.sub(key, value, contents)
/build/
Dgn_helpers.py58 for key in sorted(value):
59 if not isinstance(key, str):
61 result += "%s = %s\n" % (key, ToGNString(value[key], False))
/build/ohos/hisysevent/
Dgen_def_from_all_yaml.py231 key = self.construct_object(key_node, deep=deep)
232 if (key in mapping):
234 (key, key_node.start_mark))
238 mapping.append(key)
481 for key, value in tag_dict.items():
483 return key
632 for key in param_info.keys():
633 if not key in key_list:
635 (event_name, param_name, key))
/build/tools/
Dproduct_config_version_convert.py63 for key in parts:
64 substr = str(key).split(":")
/build/docs/
Dhow-to-build-a-hap.md44 | key_alias | key的别名。|
136 1 2009-01-01 00:00 assets/entry/resources/base/media/attributes.key ------> resources
137 1 2009-01-01 00:00 assets/entry/resources/base/media/constants.key ------> resources
138 1 2009-01-01 00:00 assets/entry/resources/base/media/contents.key ------> resources
140 1 2009-01-01 00:00 assets/entry/resources/base/media/nodes.key ------> resources
/build/ohos/sdk/
Dparse_sdk_description.py54 for key in keys:
55 if key not in KEYS:
58 .format(key))

123