Lines Matching defs:error
54 Dwfl_Error error = DWFL_E_BADELF;
57 return error;
66 return error;
68 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size);
69 if (error == DWFL_E_BADELF)
70 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size);
71 if (error == DWFL_E_BADELF)
72 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size);
73 if (error == DWFL_E_BADELF)
74 error = __libdw_unzstd (fd, offset, mapped, mapped_size, &buffer, &size);
76 if (error == DWFL_E_NOERROR)
80 error = DWFL_E_BADELF;
88 error = DWFL_E_LIBELF;
102 return error;
108 Dwfl_Error error = DWFL_E_NOERROR;
113 error = DWFL_E_LIBELF;
116 error = decompress (fd, elfp);
117 if (error == DWFL_E_NOERROR)
124 return error;
137 Dwfl_Error error = what_kind (*fdp, &elf, &kind, &may_close_fd);
138 if (error == DWFL_E_BADELF)
144 error = __libdw_image_header (*fdp, &offset,
148 if (error == DWFL_E_NOERROR)
158 error = DWFL_E_LIBELF;
166 error = what_kind (*fdp, &elf, &kind, &may_close_fd);
171 if (error == DWFL_E_NOERROR
174 error = DWFL_E_BADELF;
177 if (bad_elf_ok && error == DWFL_E_BADELF)
178 error = DWFL_E_NOERROR;
180 if (error != DWFL_E_NOERROR)
187 && error == DWFL_E_NOERROR ? may_close_fd : close_on_fail)
194 return error;