Home
last modified time | relevance | path

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

/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/
H A Dhdf_utils.py108 def add_before_and_save(file_content, file_path, pos_range, new_section): argument
109 if not file_content or not file_path or not pos_range or not new_section:
115 _write_one_section(file_write, new_section)
119 def add_after_and_save(file_content, file_path, pos_range, new_section): argument
120 if not file_content or not file_path or not pos_range or not new_section:
124 _write_one_section(file_write, new_section)
129 def append_and_save(file_content, file_path, new_section): argument
130 if not file_content or not file_path or not new_section:
134 _write_one_section(file_write, new_section)
147 def replace_and_save(file_content, file_path, old_range, new_section): argument
[all …]