Home
last modified time | relevance | path

Searched refs:replace (Results 1 - 25 of 33) sorted by relevance

12

/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/
H A Dmk_file_add_config.py45 temp_handle = Template(temp_line.replace("$(", "temp_flag"))
57 temp_dict).replace("temp_flag", "$("), "\n"]))
60 temp_dict).replace("temp_flag", "$("), " \\", "\n"]))
65 temp_handle = Template(build_resource.replace("$(", "temp_flag"))
68 build_resource = temp_handle.substitute(temp_dict).replace("temp_flag", "$(")
80 temp_handle = Template(temp_line.replace("$(", "temp_flag"))
91 sources_lines.append(temp_handle.substitute(temp_dict).replace("temp_flag", "$("))
93 temp_replace_str = temp_handle.substitute(temp_dict).replace("temp_flag", "$(")
100 temp_handle = Template(temp_line.replace("$(", "temp_flag"))
105 temp_dict).replace("temp_fla
[all...]
H A Dkconfig_file_add_config.py43 new_line = new_line.replace(old_str, new_str)
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/
H A Dgn_file_add_config.py59 temp_handle = Template(temp_line.replace("\"$", "temp_flag"))
63 parent_temp_dict).replace("temp_flag", "\"$") + "\n")
69 temp_handle = Template(build_resource.replace("\"$", "temp_flag"))
73 temp_dict).replace("temp_flag", "\"$")
77 temp_handle = Template(build_add_template.replace("\"$", "temp_flag"))
83 new_line = temp_handle.substitute(build_replace_dict).replace("temp_flag", "\"$")
118 root).replace("\\", "/").strip("/")
122 root).replace("\\", "/").strip("/")
150 file_source_path_full = source_path.replace("\\", "/")
154 file_head_path_full = head_path.replace("\\", "/")
[all...]
H A Dmk_file_add_config.py58 temp_handle = Template(temp_line.replace("$(", "temp_flag"))
63 sources_line_items.append(temp_handle.substitute(temp_dict).replace("temp_flag", "$("))
66 sources_line_items.append(temp_handle.substitute(temp_dict).replace("temp_flag", "$("))
72 temp_handle = Template(build_resource.replace("$(", "temp_flag"))
75 build_resource = temp_handle.substitute(temp_dict).replace("temp_flag", "$(")
79 temp_handle = Template(makefile_add_template.replace("$(", "temp_flag"))
85 new_line = temp_handle.substitute(makefile_replace_dict).replace("temp_flag", "$(")
97 source_file_path = driver_file_path.replace('\\', '/')
103 temp_handle = Template(makefile_add_template.replace("$(", "temp_flag"))
129 new_line = temp_handle.substitute(temp_replace).replace("temp_fla
[all...]
/drivers/hdf_core/framework/tools/hc-gen/test/
H A Dupdate_case.py59 source_root = source_root.replace("/", "\\")
133 output = output.replace(TestConfig.WORK_DIR, ".").replace('\\', '/') \
134 .replace(TestConfig.ERROR_COLOR_PREFIX, "") \
135 .replace(TestConfig.ERROR_COLOR_END, "").strip()
163 output = output.replace(TestConfig.WORK_DIR, ".").replace('\\', '/') \
164 .replace(TestConfig.ERROR_COLOR_PREFIX, "") \
165 .replace(TestConfig.ERROR_COLOR_END, "").strip()
191 output = output.replace(TestConfi
[all...]
H A Dhcgen_test.py58 a_content = f_a.read().replace(r'\r\n', r'\n')
59 b_content = f_b.read().replace(r'\r\n', r'\n')
92 source_root = source_root.replace("/", "\\")
157 output = output.replace(temp_dir, ".").replace(TestConfig.WORK_DIR, "."). \
158 replace('\\', '/').replace(TestConfig.ERROR_COLOR_PREFIX, ""). \
159 replace(TestConfig.ERROR_COLOR_END, "")
/drivers/peripheral/audio/test/sample/tools/get_trace_loop/
H A Dget_trace_loop.py82 now_version = str(run_cmd("hdc shell param get const.product.software.version")).replace("\n", "").replace(" ", "")
91 pid = str(run_cmd(cmd)).replace("\n", "")
/drivers/peripheral/audio/test/sample/tools/get_mem_excel/
H A Dget_mem_excel.py73 now_version = str(run_cmd("hdc shell param get const.product.software.version")).replace("\n", "").replace(" ", "")
85 pid_list.append(line.replace('\n', ''))
/drivers/peripheral/audio/test/sample/tools/gen_cr_by_pr/
H A Dgen_cr_by_pr.py130 return str(txt).replace("\\", mix)
132 return str(txt).replace("/", mix)
/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_hdf_config.cpp164 THERMAL_HILOGI(COMP_HDI, "ParsePollingNode ParsePollingNodetztype: %{public}s, replace: %{public}s", in ParsePollingNode()
165 tz.type.c_str(), tz.replace.c_str()); in ParsePollingNode()
266 auto replace = xmlGetProp(node, BAD_CAST("replace")); in GetThermalZoneNodeInfo() local
267 if (replace != nullptr) { in GetThermalZoneNodeInfo()
268 tz.replace = std::string(reinterpret_cast<char*>(replace)); in GetThermalZoneNodeInfo()
270 xmlFree(replace); in GetThermalZoneNodeInfo()
H A Dthermal_zone_manager.cpp76 data.type = tzIter.replace; in UpdateDataType()
262 THERMAL_HILOGI(COMP_HDI, "type %{public}s, replace %{public}s", tzIter.type.c_str(), in DumpPollingInfo()
263 tzIter.replace.c_str()); in DumpPollingInfo()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_linux_scann.py254 parent_path, i).replace("/", os.path.sep))
288 info = info.replace(".o", ".c")
293 makefile_path.replace("\\", '/').
297 info = info.replace(prefix4_field.group(),
354 makefile_path.replace("\\", '/').split("/")[:-1])
355 enable_dict[key_enable] = line.replace(
443 str1 = str1.replace(k, v)
H A Dhdf_vendor_build_file.py40 new_line["value"] = new_line.get("value").replace("input", module)
H A Dhdf_vendor_kconfig_file.py58 k_path_raw = match_obj.group(1).replace('/', os.sep)
H A Dhdf_add_handler.py298 user_file_path = driver_file_path.split(root)[-1].replace("\\", "/")
300 driver_file_name = "".join(["/", user_file_path.replace("\\", "/")])
302 driver_file_name = "".join(["//", user_file_path.replace("\\", "/")])
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A Dre.js58 return ss.replace(all(sfrom), sto);
H A Dparser.js68 includePath = currentSrc + includePath.replace(/\//g, '\\');
70 includePath = includePath.replace(/\\\.\\/g, '\\');
/drivers/peripheral/thermal/interfaces/hdi_service/include/
H A Dsensor_info_config.h29 std::string replace; member
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/
H A Dhdi_add_handler.py105 version = "v" + str(self.args.version_number).replace(".", "_")
114 version = "v" + str(self.args.version_number).replace(".", "_")
159 file = file.replace("interface",
250 ".")[0].replace("_", ".")
255 ".")[0].replace("_", ".")
270 hcs_file_name_temp = file_name.split(".")[0].replace("_", ".")
403 template_file = template_file.replace(
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/
H A Dhdf_utils.py433 replace("{}\\\\".format(root_path.replace('\\', '\\\\')), "")
435 config_file_replace.replace('\\\\', '/'))
438 replace(root_path + '/', "")
/drivers/hdf_core/framework/tools/idl-gen/
H A Didl_generator.py238 c_type = c_type.replace("_ENUM_POINTER", " * ")
296 file = os.path.join(self._make_output_dir(file_path), file_name).replace('\\', '/')
308 out_path = out_path.replace('\\', '/')
H A D_header_parser.py73 new_line = line.replace(tt[1], tt[2] + "_ENUM_POINTER ")
78 new_line = line.replace(tt[1], "[]")
/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/
H A Dextension.js161 html = html.replace(
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/public_moudle/
H A Dbase.py43 path = cur_file.replace('\\', '/')
/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dstring_helper.cpp96 result.replace(pos, oldstr.size(), newstr); in Replace()

Completed in 10 milliseconds

12