Home
last modified time | relevance | path

Searched refs:wrbfd (Results 1 – 4 of 4) sorted by relevance

/toolchain/binutils/binutils-2.27/binutils/
Dresbin.c68 bin_to_res (windres_bfd *wrbfd, rc_res_id type, const bfd_byte *data, in bin_to_res() argument
72 return bin_to_res_userdata (wrbfd, data, length); in bin_to_res()
78 return bin_to_res_userdata (wrbfd, data, length); in bin_to_res()
80 return bin_to_res_cursor (wrbfd, data, length); in bin_to_res()
82 return bin_to_res_generic (wrbfd, RES_TYPE_BITMAP, data, length); in bin_to_res()
84 return bin_to_res_generic (wrbfd, RES_TYPE_ICON, data, length); in bin_to_res()
86 return bin_to_res_menu (wrbfd, data, length); in bin_to_res()
88 return bin_to_res_dialog (wrbfd, data, length); in bin_to_res()
90 return bin_to_res_string (wrbfd, data, length); in bin_to_res()
92 return bin_to_res_fontdir (wrbfd, data, length); in bin_to_res()
[all …]
Dresres.c60 static int probe_binary (windres_bfd *wrbfd, rc_uint_type);
81 windres_bfd wrbfd; in read_res_file() local
93 set_windres_bfd (&wrbfd, abfd, sec, in read_res_file()
98 if (! probe_binary (&wrbfd, flen)) in read_res_file()
99 set_windres_bfd_endianness (&wrbfd, ! target_is_bigendian); in read_res_file()
101 skip_null_resource (&wrbfd, &off, flen); in read_res_file()
103 while (read_resource_entry (&wrbfd, &off, flen)) in read_res_file()
118 windres_bfd wrbfd; in write_res_file() local
137 set_windres_bfd (&wrbfd, abfd, sec, in write_res_file()
148 set_windres_bfd_content (&wrbfd, sign, sec_length, 4-(sec_length & 3)); in write_res_file()
[all …]
Drescoff.c115 windres_bfd wrbfd; in read_coff_rsrc() local
143 set_windres_bfd (&wrbfd, abfd, sec, WR_KIND_BFD); in read_coff_rsrc()
153 get_windres_bfd_content (&wrbfd, data, 0, size); in read_coff_rsrc()
166 ret = read_coff_res_dir (&wrbfd, data, &flaginfo, (const rc_res_id *) NULL, 0); in read_coff_rsrc()
184 read_coff_res_dir (windres_bfd *wrbfd, const bfd_byte *data, in read_coff_res_dir() argument
207 rd->characteristics = windres_get_32 (wrbfd, erd->characteristics, 4); in read_coff_res_dir()
208 rd->time = windres_get_32 (wrbfd, erd->time, 4); in read_coff_res_dir()
209 rd->major = windres_get_16 (wrbfd, erd->major, 2); in read_coff_res_dir()
210 rd->minor = windres_get_16 (wrbfd, erd->minor, 2); in read_coff_res_dir()
213 name_count = windres_get_16 (wrbfd, erd->name_count, 2); in read_coff_res_dir()
[all …]
Dwindres.c1124 set_windres_bfd_endianness (windres_bfd *wrbfd, int is_bigendian) in set_windres_bfd_endianness() argument
1126 assert (!! wrbfd); in set_windres_bfd_endianness()
1127 switch (WR_KIND(wrbfd)) in set_windres_bfd_endianness()
1131 WR_KIND(wrbfd) = WR_KIND_BFD_BIN_B; in set_windres_bfd_endianness()
1135 WR_KIND(wrbfd) = WR_KIND_BFD_BIN_L; in set_windres_bfd_endianness()
1144 set_windres_bfd (windres_bfd *wrbfd, bfd *abfd, asection *sec, rc_uint_type kind) in set_windres_bfd() argument
1146 assert (!! wrbfd); in set_windres_bfd()
1162 WR_KIND(wrbfd) = kind; in set_windres_bfd()
1163 WR_BFD(wrbfd) = abfd; in set_windres_bfd()
1164 WR_SECTION(wrbfd) = sec; in set_windres_bfd()
[all …]