Lines Matching refs:consts
27 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),
129 consts.EM_RISCV: (consts.R_RISCV_64, consts.R_RISCV_RELATIVE),
140 is_rela = rel_sh.sh_type in (consts.SHT_RELA,
141 consts.SHT_ANDROID_RELA)
142 is_relr = rel_sh.sh_type in (consts.SHT_RELR,
143 consts.SHT_ANDROID_RELR)
168 sym_is_undefined = (sym.st_shndx == consts.SHN_UNDEF)
211 if sym.st_shndx == consts.SHN_UNDEF:
246 if (sym.GetType() in (consts.STT_OBJECT, consts.STT_FUNC)
247 and sym.st_shndx != consts.SHN_UNDEF):
294 if sh.sh_type == consts.SHT_NOBITS:
306 sh_rel_types = (consts.SHT_REL, consts.SHT_RELA, consts.SHT_RELR,
307 consts.SHT_ANDROID_REL, consts.SHT_ANDROID_RELA,
308 consts.SHT_ANDROID_RELR)