Home
last modified time | relevance | path

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

/external/pigweed/pw_tokenizer/py/
Delf_reader_test.py160 self.assertTrue(elf_reader.compatible_file(self._elf_file))
161 self.assertTrue(elf_reader.compatible_file(io.BytesIO(b'\x7fELF')))
165 self.assertTrue(elf_reader.compatible_file(self._elf_file))
169 self.assertFalse(elf_reader.compatible_file(io.BytesIO(b'\x7fELVESF')))
197 self.assertTrue(elf_reader.compatible_file(io.BytesIO(b'!<arch>\n')))
198 self.assertTrue(elf_reader.compatible_file(self._archive))
201 self.assertFalse(elf_reader.compatible_file(io.BytesIO(b'!<arch>')))
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddatabase.py188 if elf_reader.compatible_file(fd):
195 if elf_reader.compatible_file(db):
243 if elf_reader.compatible_file(file):
337 if elf_reader.compatible_file(path) or path.endswith('.csv'):
351 if not elf_reader.compatible_file(file):
Delf_reader.py156 def compatible_file(file: Union[BinaryIO, str, Path]) -> bool: function