Home
last modified time | relevance | path

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

12

/build/tools/component_tools/
Dcomponent_node.py104 deps_raw_list = deps_raw.replace('\n', '').replace(' ', '').replace('"', '').split(',')
113 …external_deps_raw_list = external_deps_raw.replace('\n', '').replace(' ', '').replace('"', '').spl…
/build/ohos/packages/
Dbackup_restore_artifact.py41 output_path = args.output_dir.replace(
44 asan_symbols_path = args.output_dir.replace(
46 asan_symbols_backup_path = source.replace(os.path.basename(
Dfs_process.py96 source_path, is_changed = self.replace(path)
123 tdirname = srelpath.replace(spath, tpath)
155 def replace(self, raw_str): member in Packer
158 raw_str = raw_str.replace(old, new)
164 source, _ = self.replace(symlink.get('source', ''))
165 link_name, _ = self.replace(symlink.get('link_name', ''))
187 cmd, _ = self.replace(cmd)
/build/hb/util/
Dcomponent_util.py72 module_list = each_tuple.replace('\n', '').replace(
73 ' ', '').replace('\"', '').split(',')
Dsystem_util.py72 return datetime.now().replace(microsecond=0)
Dlog_util.py62 msg = msg.replace('error:', f'{Colors.ERROR}error{Colors.END}:')
/build/ohos/sdk/
Dparse_sdk_description.py144 return [label.replace('${base}', base)], [install_dir]
146 return [label.replace('${platforms}', p) for p in platforms], [
147 install_dir.replace('${platforms}',
152 return [label.replace('${variant}', c) for c in variant], [
153 install_dir.replace('${variant}', variant_to_product(c, options))
Dparse_public_sdk.py70 label = label.replace(INTERFACE_PATH, os.path.join(OUT_ROOT, "public_interface/sdk-js"))
/build/config/posix/
Dsysroot_ld_path.py18 result = result.decode().replace(" ", "\n")
/build/lite/
Dbuild_ext_components.py29 start_time = datetime.now().replace(microsecond=0)
45 end_time = datetime.now().replace(microsecond=0)
/build/scripts/
Dget_warnings.py58 line_info = line_info.replace("\r", "")
83 templist[0] = templist[0].replace(prj_dir + "/",
Dcargo2gn.py69 return s.replace('"', '\\"')
77 return s.replace('-', '_').replace('.', '_')
96 line = eval(repr(line).replace(f'\\"', ''))
249 self.edition = arg.replace('--edition=', '')
251 self.emit_list = arg.replace('--emit=', '')
279 feature = unquote(arg.replace('\'feature=', '')[:-1])
388 pkg_description = pkg_description.replace('\n', '').replace(r'\n', '').strip()
395 authors = authors.replace('\n', '').replace(' ', ' ').replace('"', '').strip()
1108 args_dict[arg.replace('-', '_')] = config_data[arg]
Dgen_sdk_build_file.py62 build_config = label.replace('//', 'gen/').replace(':', '/')
Dapp_sign.py82 signed_hap_path = unsigned_hap_path.replace('unsigned', 'signed')
/build/hb/services/
Dpreloader.py212 part = part.replace(":", "_")
213 part = part.replace("-", "_")
214 part = part.replace(".", "_")
215 part = part.replace("/", "_")
Dloader.py810 parts_file = self.platforms_config_file.replace(
854 parts_file = self.platforms_config_file.replace(
924 part = part.replace(":", "_")
925 part = part.replace("-", "_")
926 part = part.replace(".", "_")
927 part = part.replace("/", "_")
/build/
Dgn_helpers.py40 value.replace('\\', '\\\\').replace('"', '\\"').replace('$', '\\$') + \
/build/ohos/testfwk/
Dtest_js_stage_file_copy.py96 args.archive_testfile).replace('.hap', '').replace('module_', '')
/build/hb/util/preloader/
Dparse_vendor_product_config.py41 feats[key] = val.replace('\"', '"')
65 feats[key] = val.replace('\"', '"')
/build/config/mac/
Dsdk_info.py46 return ('%2s%s%s' % (major, minor, patch)).replace(' ', '0')
/build/toolchain/
Dgcc_link_wrapper.py53 new_crtbegin = str(item).replace("crtbegin_dynamic.o",
/build/lite/ndk/doc/
Dgen_doc.py51 value = value.replace('\\', '\\\\')
/build/ohos/ndk/
Dgenerate_ndk_docs.py63 v = v.replace('\\', '\\\\')
/build/tools/module_dependence/
Dmodule_deps_tree.py142 "{}.html".format(node_name.replace(":", "__")))
/build/templates/rust/
Drun_build_script.py99 feature_name = feature.replace("-", "_").upper()

12