Searched refs:ei_data (Results 1 – 4 of 4) sorted by relevance
/development/vndk/tools/definition-tool/tools/ |
D | remove_dt_needed.py | 117 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/ |
D | test_elf.py | 70 elf = ELF(ei_class=ELF.ELFCLASS32, ei_data=ELF.ELFDATA2LSB, 166 self.assertEqual(ELF.ELFDATA2LSB, res.ei_data)
|
/development/python-packages/gdbrunner/ |
D | __init__.py | 305 ei_data = ord(binary[0x5]) # Endianness 308 if ei_data != 1:
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 524 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)
|