Home
last modified time | relevance | path

Searched refs:res_alloc (Results 1 – 19 of 19) sorted by relevance

/openbsd/gnu/usr.bin/binutils/binutils/
H A Dresbin.c203 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_generic()
223 c = (struct cursor *) res_alloc (sizeof *c); in bin_to_res_cursor()
229 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_cursor()
246 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_menu()
249 m = (struct menu *) res_alloc (sizeof *m); in bin_to_res_menu()
455 d = (struct dialog *) res_alloc (sizeof *d); in bin_to_res_dialog()
604 res_alloc (sizeof (struct rcdata_item))); in bin_to_res_dialog()
618 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_dialog()
665 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_string()
735 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_fontdir()
[all …]
H A Dresrc.c712 c = (struct cursor *) res_alloc (sizeof *c); in define_cursor()
862 data = (unsigned char *) res_alloc (s.st_size); in define_font()
908 fd = (struct fontdir *) res_alloc (sizeof *fd); in define_font()
1082 m = (struct menu *) res_alloc (sizeof *m); in define_menu()
1102 mi = (struct menuitem *) res_alloc (sizeof *mi); in define_menuitem()
1135 data = (unsigned char *) res_alloc (s.st_size); in define_messagetable()
1178 s = (char *) res_alloc (len); in define_rcdata_string()
1221 res_alloc (sizeof (struct stringtable))); in define_stringtable()
1276 data = (unsigned char *) res_alloc (s.st_size); in define_user_file()
1291 res_alloc (sizeof (struct rcdata_item))); in define_user_file()
[all …]
H A Dwinduni.h60 extern PTR res_alloc PARAMS ((size_t));
H A Drescoff.c147 data = (bfd_byte *) res_alloc (size); in read_coff_rsrc()
194 rd = (struct res_directory *) res_alloc (sizeof *rd); in read_coff_res_dir()
231 re = (struct res_entry *) res_alloc (sizeof *re); in read_coff_res_dir()
236 re->id.u.n.name = (unichar *) res_alloc (length * sizeof (unichar)); in read_coff_res_dir()
275 re = (struct res_entry *) res_alloc (sizeof *re); in read_coff_res_dir()
H A Dwindres.c138 res_alloc (size_t bytes) in res_alloc() function
327 res_alloc (sizeof **resources)); in define_resource()
343 re = (struct res_entry *) res_alloc (sizeof *re); in define_resource()
393 res_alloc (sizeof (struct res_resource))); in define_resource()
H A Dwinduni.c54 *unicode = ((unichar *) res_alloc ((len + 1) * sizeof (unichar))); in unicode_from_ascii()
H A Dresres.c177 buff = res_alloc (reshdr.data_size); in read_resource_entry()
597 res_alloc (sizeof **resources));
613 re = (struct res_entry *) res_alloc (sizeof *re);
H A Drcparse.y199 a = (struct accelerator *) res_alloc (sizeof *a);
373 res_alloc (sizeof (struct dialog_ex)));
400 res_alloc (sizeof (struct dialog_ex)));
1282 res_alloc (sizeof (struct fixed_versioninfo)));
H A Dwindres.h769 extern void *res_alloc (size_t);
H A Drcparse.c1547 a = (struct accelerator *) res_alloc (sizeof *a); in yyparse()
1727 res_alloc (sizeof (struct dialog_ex))); in yyparse()
1757 res_alloc (sizeof (struct dialog_ex))); in yyparse()
2744 res_alloc (sizeof (struct fixed_versioninfo))); in yyparse()
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dresbin.c203 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_generic()
223 c = (struct cursor *) res_alloc (sizeof *c); in bin_to_res_cursor()
229 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_cursor()
246 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_menu()
249 m = (struct menu *) res_alloc (sizeof *m); in bin_to_res_menu()
455 d = (struct dialog *) res_alloc (sizeof *d); in bin_to_res_dialog()
604 res_alloc (sizeof (struct rcdata_item))); in bin_to_res_dialog()
618 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_dialog()
665 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_string()
735 r = (struct res_resource *) res_alloc (sizeof *r); in bin_to_res_fontdir()
[all …]
H A Dresrc.c713 c = (struct cursor *) res_alloc (sizeof *c); in define_cursor()
863 data = (unsigned char *) res_alloc (s.st_size); in define_font()
909 fd = (struct fontdir *) res_alloc (sizeof *fd); in define_font()
1083 m = (struct menu *) res_alloc (sizeof *m); in define_menu()
1136 data = (unsigned char *) res_alloc (s.st_size); in define_messagetable()
1179 s = (char *) res_alloc (len); in define_rcdata_string()
1222 res_alloc (sizeof (struct stringtable))); in define_stringtable()
1275 data = (unsigned char *) res_alloc (s.st_size); in define_rcdata_file()
1310 data = (unsigned char *) res_alloc (s.st_size); in define_user_file()
1325 res_alloc (sizeof (struct rcdata_item))); in define_user_file()
[all …]
H A Dwinduni.c51 *unicode = ((unichar *) res_alloc ((len + 1) * sizeof (unichar))); in unicode_from_ascii()
62 *unicode = ((unichar *) res_alloc (len * sizeof (unichar))); in unicode_from_ascii()
H A Dwinduni.h60 extern PTR res_alloc PARAMS ((size_t));
H A Drescoff.c147 data = (bfd_byte *) res_alloc (size); in read_coff_rsrc()
194 rd = (struct res_directory *) res_alloc (sizeof *rd); in read_coff_res_dir()
231 re = (struct res_entry *) res_alloc (sizeof *re); in read_coff_res_dir()
236 re->id.u.n.name = (unichar *) res_alloc (length * sizeof (unichar)); in read_coff_res_dir()
275 re = (struct res_entry *) res_alloc (sizeof *re); in read_coff_res_dir()
H A Dwindres.c142 res_alloc (size_t bytes) in res_alloc() function
331 res_alloc (sizeof **resources)); in define_resource()
347 re = (struct res_entry *) res_alloc (sizeof *re); in define_resource()
397 res_alloc (sizeof (struct res_resource))); in define_resource()
H A Dresres.c177 buff = res_alloc (reshdr.data_size); in read_resource_entry()
597 res_alloc (sizeof **resources));
613 re = (struct res_entry *) res_alloc (sizeof *re);
H A Drcparse.y201 a = (struct accelerator *) res_alloc (sizeof *a);
375 res_alloc (sizeof (struct dialog_ex)));
402 res_alloc (sizeof (struct dialog_ex)));
1291 res_alloc (sizeof (struct fixed_versioninfo)));
H A Dwindres.h770 extern void *res_alloc (size_t);