Home
last modified time | relevance | path

Searched refs:contents (Results 1 - 13 of 13) sorted by relevance

/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_manager_config_file.py26 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 Dhdf_module_mk_file.py25 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 Dhdf_vendor_makefile.py32 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 Dhdf_vendor_mk_file.py28 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 Dhdf_vendor_build_file.py27 self.contents = hdf_utils.read_file(self.file_path)
59 new_content = re.sub(pattern, replacement, self.contents)
H A Dhdf_liteos_scann.py47 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 Dhdf_defconfig_patch.py74 new_content = re.sub(pattern, replacement, self.contents)
H A Dhdf_add_handler.py62 contents = Template(raw_content).safe_substitute(data_model)
63 hdf_utils.write_file(output_path, contents)
H A Dhdf_linux_scann.py47 self.contents = hdf_utils.read_file_lines(self.makefile_path)
61 for index, lines in enumerate(self.contents):
H A Dhdf_model_enable_operation.py73 for i in self.contents[start_index: end_index]:
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/
H A Dhdf_add_driver.py402 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 Daudio_mixer_main.c82 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 Daudio_mixer.c320 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