Lines Matching defs:error
51 Dwfl_Error error = DWFL_E_BADELF;
61 return error;
63 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size);
64 if (error == DWFL_E_BADELF)
65 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size);
66 if (error == DWFL_E_BADELF)
67 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size);
70 if (error == DWFL_E_NOERROR)
74 error = DWFL_E_BADELF;
82 error = DWFL_E_LIBELF;
96 return error;
102 Dwfl_Error error = DWFL_E_NOERROR;
107 error = DWFL_E_LIBELF;
110 error = decompress (fd, elfp);
111 if (error == DWFL_E_NOERROR)
118 return error;
129 Dwfl_Error error = what_kind (*fdp, &elf, &kind, &close_fd);
130 if (error == DWFL_E_BADELF)
136 error = __libdw_image_header (*fdp, &offset,
140 if (error == DWFL_E_NOERROR)
150 error = DWFL_E_LIBELF;
158 error = what_kind (*fdp, &elf, &kind, &close_fd);
163 if (error == DWFL_E_NOERROR
166 error = DWFL_E_BADELF;
168 if (error != DWFL_E_NOERROR)
174 if (error == DWFL_E_NOERROR ? close_fd : close_on_fail)
181 return error;