Lines Matching refs:ec
39 int ec; in gelf_getcap() local
57 ec = e->e_class; in gelf_getcap()
58 assert(ec == ELFCLASS32 || ec == ELFCLASS64); in gelf_getcap()
60 if (ec == ELFCLASS32) in gelf_getcap()
70 if ((msz = _libelf_msize(ELF_T_CAP, ec, e->e_version)) == 0) in gelf_getcap()
78 if (ec == ELFCLASS32) { in gelf_getcap()
98 int ec; in gelf_update_cap() local
116 ec = e->e_class; in gelf_update_cap()
117 assert(ec == ELFCLASS32 || ec == ELFCLASS64); in gelf_update_cap()
119 if (ec == ELFCLASS32) in gelf_update_cap()
129 if ((msz = _libelf_msize(ELF_T_CAP, ec, e->e_version)) == 0) in gelf_update_cap()
137 if (ec == ELFCLASS32) { in gelf_update_cap()