Home
last modified time | relevance | path

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

/openbmc/qemu/scripts/codeconverter/codeconverter/
H A Dpatching.py185 assert self.file.original_content
187 for m in klass.finditer(self.file.original_content,
192 assert self.file.original_content
193 m = klass.domatch(self.file.original_content,
304 original_content: Optional[str] = None variable in FileInfo
322 return line_col(self.original_content, start)
331 matches = [klass(self, m) for m in klass.finditer(self.original_content)]
344 self.original_content = s
350 if self.original_content is not None:
389 assert self.original_content is not None
[all …]
H A Dqom_type_info.py585 assert self.file.original_content
597 … elif not re.search(r'\b'+t+r'\b', self.file.original_content[td.end():self.start()]):
670 assert self.file.original_content
682 … elif not re.search(r'\b'+t+r'\b', self.file.original_content[td.end():self.start()]):