Home
last modified time | relevance | path

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

/build/scripts/
Dcopy_ex.py50 for item in items:
51 srcname = os.path.join(src, item.name)
52 destname = os.path.join(dest, item.name)
53 is_symlink = item.is_symlink()
58 linkto = os.path.join(os.path.dirname(item), org_linkto)
66 if item.is_dir():
67 copy_tree(item,
72 shutil.copy(item, destname)
73 shutil.copymode(item, destname)
81 if item.is_dir():
[all …]
Dhapbuilder.py84 for item in assets:
85 if os.path.isfile(item):
87 item, os.path.join(assets_dir, os.path.basename(item)))
88 elif os.path.isdir(item):
90 item, os.path.join(assets_dir, os.path.basename(item)))
Dninja2trace.py69 for item in self.durations:
70 duration = item.end - item.start
72 file.write('{}: {}\n'.format(item.target_obj_names[0],
Dentry.py68 for item in args.export_para:
69 key, value = item.split(':')
/build/tools/component_tools/static_check/gn_check/
Dcheck_gn.py104 for item in row_info:
105 abs_info = item.split(':')
298 for item in abs_path:
299 if item['content'].startswith('//third_party'):
301 if item['content'].startswith('//build'):
303 if item['content'].startswith('//prebuilts'):
305 if item['content'].startswith('//out'):
307 bad_targets_to_excel.append([item['path'][len(
308 … self.check_path) + 1:], 'line {}:{}'.format(item['line_number'], item['content']), rules, issue])
328 for item in abs_path:
[all …]
/build/rust/tests/test_proc_macro_crate/test_attribute_macro/src/
Dlib.rs22 pub fn show_streams(attr: TokenStream, item: TokenStream) -> TokenStream { in show_streams()
24 println!("item: \"{}\"", item); in show_streams()
25 item in show_streams()
/build/lite/
Dcopy_files.py28 for item in os.listdir(src):
29 if '.git' in item or '.repo' in item:
31 src_path = os.path.join(src, item)
32 dst_path = os.path.join(dst, item)
/build/ohos/statistics/
Dbuild_overlap_statistics.py132 for item in sorted(statistics, key=overlap_rate_key, reverse=True):
134 item.get('subsystem'), item.get('files'),
135 item.get('files_percentage'), item.get('builds'),
136 item.get('builds_percentage'), item.get('overlap_rate')))
/build/hb/util/preloader/
Dparse_lite_subsystems_config.py36 for item in targets:
37 target_names = item.strip('"').split(':')
39 test_targets.append(item)
41 non_test_targets.append(item)
Dpreloader_process_data.py278 for item in items_to_remove:
279 del self._parts[item]
/build/toolchain/
Dgcc_link_wrapper.py50 for item in command:
51 if str(item).find("crtbegin_dynamic.o") >= 0:
52 index = command.index(item)
53 new_crtbegin = str(item).replace("crtbegin_dynamic.o",
Drustc_wrapper.py60 for item in rustenv:
61 (key, value) = item.split("=", 1)
/build/ohos/testfwk/
Dtest_js_file_copy.py44 for item in files:
45 if item.endswith('.js'):
46 name_list.append(item)
47 file_list.append(os.path.join(root, item))
/build/ohos/sdk/
Dparse_sdk_description.py70 def add_target(item, target, sdk_systems): argument
73 item.get('targets').get('linux').add_target('"%s",' % target)
75 item.get('targets').get('windows').add_target('"%s",' % target)
77 item.get('targets').get('darwin').add_target('"%s",' % target)
203 for item in sdk_targets:
204 if item['type'] == sdk_type:
206 add_target(item, m, target_os)
Dcopy_sdk_modules.py126 for item in archive_paths:
127 if sdk_label == item.get('label'):
128 dest = os.path.join(sdk_out_dir, item.get('install_dir'),
132 cp_info['install_dir'] = item.get('install_dir')
/build/tools/component_tools/static_check/bundle_check/
Dbundle_json_check.py61 for item in bundle_error:
62 item['rule'] = BCWarnInfo.CHECK_RULE_2_1
63 item['path'] = bundle_path
64 item['component'] = component_name
65 item['subsystem'] = subsystem_name
123 for item in all_errors:
125 item['subsystem'],
126 item['component'],
127 item['path'],
128 item['rule'],
[all …]
/build/ohos/notice/
Dcollect_system_notice_files.py32 for item in install_info:
33 subsystem_info_files.append(item['part_info_file'])
40 for item in subsystem_info:
41 module_info_files.append(item['module_info_file'])
/build/hb/util/
Dproduct_util.py114 for item in os.listdir(bip_path):
115 if item[0] in ".":
118 product_name = item[0:-len('.json')
119 ] if item.endswith('.json') else item
120 config_path = os.path.join(bip_path, item)
/build/ohos/packages/
Dprocess_field_validate.py111 for item in i["gid"]:
112 self.append_gid(item)
283 for item in field["gid"]:
284 cfg_item.append_gid(item)
Dmodules_install.py257 depfiles.extend([item for item in depfiles if item not in sa_files])
/build/tools/component_tools/
Dparse_kconf.py40 for item in data.get(SUBSYS_LIST):
41 subsys_name = item.get(SUBSYS)
42 for component in item.get(COMPONENT_LIST):
/build/ohos/hisysevent/
Dgen_def_from_all_yaml.py262 def _build_warning_info(item, values): argument
263 detail = _WARNING_MAP[item] % values
264 content = item.ljust(50) + "| " + detail
270 def _build_deprecated_info(item, values): argument
272 detail = _WARNING_MAP[item] % values
273 content = item.ljust(50) + "| " + detail
/build/scripts/util/
Dmd5_check.py426 for item in iterable:
427 md5.update(str(item).encode())
/build/lite/ndk/doc/config/
DDoxyfile_CPP1476 # using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
DDoxyfile_C1476 # using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel