/build/scripts/ |
D | copy_ex.py | 50 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 …]
|
D | hapbuilder.py | 84 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)))
|
D | ninja2trace.py | 69 for item in self.durations: 70 duration = item.end - item.start 72 file.write('{}: {}\n'.format(item.target_obj_names[0],
|
D | entry.py | 68 for item in args.export_para: 69 key, value = item.split(':')
|
/build/tools/component_tools/static_check/gn_check/ |
D | check_gn.py | 104 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/ |
D | lib.rs | 22 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/ |
D | copy_files.py | 28 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/ |
D | build_overlap_statistics.py | 132 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/ |
D | parse_lite_subsystems_config.py | 36 for item in targets: 37 target_names = item.strip('"').split(':') 39 test_targets.append(item) 41 non_test_targets.append(item)
|
D | preloader_process_data.py | 278 for item in items_to_remove: 279 del self._parts[item]
|
/build/toolchain/ |
D | gcc_link_wrapper.py | 50 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",
|
D | rustc_wrapper.py | 60 for item in rustenv: 61 (key, value) = item.split("=", 1)
|
/build/ohos/testfwk/ |
D | test_js_file_copy.py | 44 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/ |
D | parse_sdk_description.py | 70 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)
|
D | copy_sdk_modules.py | 126 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/ |
D | bundle_json_check.py | 61 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/ |
D | collect_system_notice_files.py | 32 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/ |
D | product_util.py | 114 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/ |
D | process_field_validate.py | 111 for item in i["gid"]: 112 self.append_gid(item) 283 for item in field["gid"]: 284 cfg_item.append_gid(item)
|
D | modules_install.py | 257 depfiles.extend([item for item in depfiles if item not in sa_files])
|
/build/tools/component_tools/ |
D | parse_kconf.py | 40 for item in data.get(SUBSYS_LIST): 41 subsys_name = item.get(SUBSYS) 42 for component in item.get(COMPONENT_LIST):
|
/build/ohos/hisysevent/ |
D | gen_def_from_all_yaml.py | 262 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/ |
D | md5_check.py | 426 for item in iterable: 427 md5.update(str(item).encode())
|
/build/lite/ndk/doc/config/ |
D | Doxyfile_CPP | 1476 # using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
|
D | Doxyfile_C | 1476 # using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
|