Home
last modified time | relevance | path

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

/development/vndk/tools/definition-tool/tools/
Dremove_dt_needed.py117 ei_data = _extract_buf_byte(buf, EI_DATA)
118 if ei_data not in (ELFDATA2LSB, ELFDATA2MSB):
122 endian_fmt = '<' if ei_data == ELFDATA2LSB else '>'
/development/vndk/tools/definition-tool/tests/
Dtest_elf.py70 elf = ELF(ei_class=ELF.ELFCLASS32, ei_data=ELF.ELFDATA2LSB,
166 self.assertEqual(ELF.ELFDATA2LSB, res.ei_data)
/development/python-packages/gdbrunner/
D__init__.py293 ei_data = ord(binary[0x5]) # Endianness
296 if ei_data != 1:
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py524 def __init__(self, ei_class=ELFCLASSNONE, ei_data=ELFDATANONE, e_machine=0, argument
530 self.ei_data = ei_data
562 return self._ELF_DATA_NAMES.get(self.ei_data, 'None')
649 self.ei_data = buf[ELF.EI_DATA]
650 if self.ei_data not in (ELF.ELFDATA2LSB, ELF.ELFDATA2MSB):
656 endian_fmt = '<' if self.ei_data == ELF.ELFDATA2LSB else '>'
846 self.ei_data = ELF.get_ei_data_from_name(value)