Lines Matching refs:ec
43 int ec, swapbytes;
64 ec = e->e_class;
65 fsz = _libelf_fsize(ELF_T_SHDR, ec, e->e_version, (size_t) 1);
70 if (ec == ELFCLASS32) {
80 xlator = _libelf_get_translator(ELF_T_SHDR, ELF_TOMEMORY, ec);
105 if (ec == ELFCLASS32) {
125 int ec;
130 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
135 if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)
164 int ec;
173 if ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64) {
178 if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)