Lines Matching defs:wrbfd

1137 set_windres_bfd_endianness (windres_bfd *wrbfd, int is_bigendian)
1139 assert (!! wrbfd);
1140 switch (WR_KIND(wrbfd))
1144 WR_KIND(wrbfd) = WR_KIND_BFD_BIN_B;
1148 WR_KIND(wrbfd) = WR_KIND_BFD_BIN_L;
1157 set_windres_bfd (windres_bfd *wrbfd, bfd *abfd, asection *sec, rc_uint_type kind)
1159 assert (!! wrbfd);
1175 WR_KIND(wrbfd) = kind;
1176 WR_BFD(wrbfd) = abfd;
1177 WR_SECTION(wrbfd) = sec;
1181 set_windres_bfd_content (windres_bfd *wrbfd, const void *data, rc_uint_type off,
1184 if (WR_KIND(wrbfd) != WR_KIND_TARGET)
1186 if (! bfd_set_section_contents (WR_BFD(wrbfd), WR_SECTION(wrbfd), data, off, length))
1194 get_windres_bfd_content (windres_bfd *wrbfd, void *data, rc_uint_type off,
1197 if (WR_KIND(wrbfd) != WR_KIND_TARGET)
1199 if (! bfd_get_section_contents (WR_BFD(wrbfd), WR_SECTION(wrbfd), data, off, length))
1207 windres_put_8 (windres_bfd *wrbfd, void *p, rc_uint_type value)
1209 switch (WR_KIND(wrbfd))
1217 bfd_put_8 (WR_BFD(wrbfd), value, p);
1225 windres_put_16 (windres_bfd *wrbfd, void *data, rc_uint_type value)
1227 switch (WR_KIND(wrbfd))
1234 bfd_put_16 (WR_BFD(wrbfd), value, data);
1245 windres_put_32 (windres_bfd *wrbfd, void *data, rc_uint_type value)
1247 switch (WR_KIND(wrbfd))
1254 bfd_put_32 (WR_BFD(wrbfd), value, data);
1265 windres_get_8 (windres_bfd *wrbfd, const void *data, rc_uint_type length)
1269 switch (WR_KIND(wrbfd))
1276 return bfd_get_8 (WR_BFD(wrbfd), data);
1284 windres_get_16 (windres_bfd *wrbfd, const void *data, rc_uint_type length)
1288 switch (WR_KIND(wrbfd))
1294 return bfd_get_16 (WR_BFD(wrbfd), data);
1304 windres_get_32 (windres_bfd *wrbfd, const void *data, rc_uint_type length)
1308 switch (WR_KIND(wrbfd))
1314 return bfd_get_32 (WR_BFD(wrbfd), data);