Searched refs:contents (Results 1 - 13 of 13) sorted by relevance
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_manager_config_file.py | 26 self.contents = '' 31 self.contents = hdf_utils.read_file(self.file_path) 33 self.contents = '' 36 if self.contents: 40 self.contents = Template(template_str).safe_substitute({}) 43 hdf_utils.write_file(self.file_path, self.contents) 46 match_obj = re.search(pattern, self.contents) 55 for i in range(start, len(self.contents)): 56 if '{' == self.contents[i]: 58 elif '}' == self.contents[ [all...] |
H A D | hdf_module_mk_file.py | 25 self.contents = hdf_utils.read_file(self.file_path) 27 self.contents = '' 48 old_range = hdf_utils.find_section(self.contents, drv_section) 50 hdf_utils.replace_and_save(self.contents, self.file_path, 55 new_content, count = re.subn(tail_pattern, replacement, self.contents) 65 drv_range = hdf_utils.find_section(self.contents, empty_content) 67 hdf_utils.delete_and_save(self.contents, self.file_path, drv_range)
|
H A D | hdf_vendor_makefile.py | 32 self.contents = hdf_utils.read_file_lines(self.file_path)
44 self.contents.append(Template(self.template_str)
46 hdf_utils.write_file_lines(self.file_path, self.contents)
57 if delete_template in self.contents:
58 self.contents.remove(delete_template)
60 content=self.contents, file_path=self.file_path)
65 new_content = re.sub(pattern, replacement, self.contents)
|
H A D | hdf_vendor_mk_file.py | 28 self.contents = hdf_utils.read_file(self.file_path) 54 old_range = hdf_utils.find_section(self.contents, module_) 56 hdf_utils.replace_and_save(self.contents, self.file_path, 59 hdf_utils.append_and_save(self.contents, self.file_path, module_) 73 new_content = re.sub(pattern, replacement, self.contents)
|
H A D | hdf_vendor_build_file.py | 27 self.contents = hdf_utils.read_file(self.file_path)
59 new_content = re.sub(pattern, replacement, self.contents)
|
H A D | hdf_liteos_scann.py | 47 self.contents = hdf_utils.read_file_lines(self.build_path)
66 for index, line in enumerate(self.contents):
78 for i in self.contents[start_index + 1: end_index - 1]:
|
H A D | hdf_defconfig_patch.py | 74 new_content = re.sub(pattern, replacement, self.contents)
|
H A D | hdf_add_handler.py | 62 contents = Template(raw_content).safe_substitute(data_model) 63 hdf_utils.write_file(output_path, contents)
|
H A D | hdf_linux_scann.py | 47 self.contents = hdf_utils.read_file_lines(self.makefile_path)
61 for index, lines in enumerate(self.contents):
|
H A D | hdf_model_enable_operation.py | 73 for i in self.contents[start_index: end_index]:
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/ |
H A D | hdf_add_driver.py | 402 contents = Template(raw_content).safe_substitute(data_model)
403 hdf_utils.write_file(output_path, contents)
|
/drivers/peripheral/audio/test/audio_utils/audio_mixer/ |
H A D | audio_mixer_main.c | 82 printf(" contents show contents of all controls for given card\n"); in ShowUsage() 83 printf(" set ID P set control contents for one control\n"); in ShowUsage() 84 printf(" get ID get control contents for one control\n"); in ShowUsage() 723 } else if (strcmp(argv[optind], "contents") == 0) { in main()
|
H A D | audio_mixer.c | 320 static void PrintCtlElemList(struct AudioMixerContents *contents) in PrintCtlElemList() argument 326 num = contents->elemNum; in PrintCtlElemList() 327 id = (struct AudioHwCtlElemId *)contents->data; in PrintCtlElemList()
|
Completed in 7 milliseconds