/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/ |
H A D | mk_file_add_config.py | 45 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 D | kconfig_file_add_config.py | 43 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 D | gn_file_add_config.py | 59 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 D | mk_file_add_config.py | 58 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 D | update_case.py | 59 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 D | hcgen_test.py | 58 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 D | get_trace_loop.py | 82 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 D | get_mem_excel.py | 73 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 D | gen_cr_by_pr.py | 130 return str(txt).replace("\\", mix) 132 return str(txt).replace("/", mix)
|
/drivers/peripheral/thermal/interfaces/hdi_service/src/ |
H A D | thermal_hdf_config.cpp | 164 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 D | thermal_zone_manager.cpp | 76 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 D | hdf_linux_scann.py | 254 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 D | hdf_vendor_build_file.py | 40 new_line["value"] = new_line.get("value").replace("input", module)
|
H A D | hdf_vendor_kconfig_file.py | 58 k_path_raw = match_obj.group(1).replace('/', os.sep)
|
H A D | hdf_add_handler.py | 298 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 D | re.js | 58 return ss.replace(all(sfrom), sto);
|
H A D | parser.js | 68 includePath = currentSrc + includePath.replace(/\//g, '\\'); 70 includePath = includePath.replace(/\\\.\\/g, '\\');
|
/drivers/peripheral/thermal/interfaces/hdi_service/include/ |
H A D | sensor_info_config.h | 29 std::string replace; member
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
H A D | hdi_add_handler.py | 105 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 D | hdf_utils.py | 433 replace("{}\\\\".format(root_path.replace('\\', '\\\\')), "") 435 config_file_replace.replace('\\\\', '/')) 438 replace(root_path + '/', "")
|
/drivers/hdf_core/framework/tools/idl-gen/ |
H A D | idl_generator.py | 238 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.py | 73 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 D | extension.js | 161 html = html.replace(
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/public_moudle/ |
H A D | base.py | 43 path = cur_file.replace('\\', '/')
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
H A D | string_helper.cpp | 96 result.replace(pos, oldstr.size(), newstr);
in Replace()
|