Home
last modified time | relevance | path

Searched refs:consts (Results 1 – 6 of 6) sorted by relevance

/test/vts/utils/python/library/
Delf_parser.py29 from vts.utils.python.library.elf import consts
87 e_ident = self._SeekRead(0, consts.EI_NIDENT)
89 if e_ident[:4] != consts.ELF_MAGIC_NUMBER:
92 if utils.ByteToInt(e_ident[consts.EI_CLASS]) not in (
93 consts.ELFCLASS32, consts.ELFCLASS64):
95 .format(e_ident[consts.EI_CLASS]))
97 if utils.ByteToInt(e_ident[consts.EI_DATA]) != consts.ELFDATA2LSB:
99 .format(e_ident[consts.EI_DATA]))
104 if utils.ByteToInt(e_ident[consts.EI_CLASS]) == consts.ELFCLASS32:
330 if dyn.d_tag == consts.DT_NULL:
[all …]
DREADME.md4 * elf/consts.py: Contains ELF constants.
/test/vts/utils/python/library/vtable/
Dvtable_dumper.py27 from vts.utils.python.library.elf import consts
125 consts.EM_ARM: (consts.R_ARM_ABS32, consts.R_ARM_RELATIVE),
126 consts.EM_AARCH64: (consts.R_AARCH64_ABS64, consts.R_AARCH64_RELATIVE),
127 consts.EM_386: (consts.R_386_32, consts.R_386_RELATIVE),
128 consts.EM_X86_64: (consts.R_X86_64_64, consts.R_X86_64_RELATIVE),
139 is_rela = rel_sh.sh_type in (consts.SHT_RELA,
140 consts.SHT_ANDROID_RELA)
141 is_relr = rel_sh.sh_type in (consts.SHT_RELR,
142 consts.SHT_ANDROID_RELR)
167 sym_is_undefined = (sym.st_shndx == consts.SHN_UNDEF)
[all …]
/test/vts/utils/python/library/elf/
Dstructs.py20 from vts.utils.python.library.elf import consts
59 return self.e_ident[consts.EI_CLASS]
63 return self.e_ident[consts.EI_DATA]
68 _fields_ = [('e_ident', ctypes.c_uint8 * consts.EI_NIDENT),
86 _fields_ = [('e_ident', ctypes.c_uint8 * consts.EI_NIDENT),
/test/vts/utils/python/
DAndroid.bp28 "library/elf/consts.py",
/test/vts-testcase/kernel/encryption/
Dadiantum.cpp93 static const uint8_t consts[] = "expand 32-byte k"; in ChaChaInitState() local
97 state[i] = get_unaligned_le32(&consts[i * sizeof(__le32)]); in ChaChaInitState()