Searched refs:res_alloc (Results 1 – 9 of 9) sorted by relevance
154 ret = (unichar *) res_alloc ((c + 1) * sizeof (unichar)); in get_unicode()203 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()308 mi = (struct menuitem *) res_alloc (sizeof *mi); in bin_to_res_menuitems()386 mi = (struct menuitem *) res_alloc (sizeof *mi); in bin_to_res_menuexitems()455 d = (struct dialog *) res_alloc (sizeof *d); in bin_to_res_dialog()473 d->ex = (struct dialog_ex *) res_alloc (sizeof (struct dialog_ex)); in bin_to_res_dialog()[all …]
631 data = (unsigned char *) res_alloc (s.st_size - BITMAP_SKIP); in define_bitmap()714 data = (unsigned char *) res_alloc (icondirs[i].bytes); in define_cursor()718 c = (struct cursor *) res_alloc (sizeof *c); in define_cursor()747 cg = (struct group_cursor *) res_alloc (sizeof *cg); in define_cursor()781 copy = (struct dialog *) res_alloc (sizeof *copy); in define_dialog()802 n = (struct dialog_control *) res_alloc (sizeof *n); in define_control()868 data = (unsigned char *) res_alloc (s.st_size); in define_font()909 fontdata = (unsigned char *) res_alloc (fontdatalength); in define_font()914 fd = (struct fontdir *) res_alloc (sizeof *fd); in define_font()1010 data = (unsigned char *) res_alloc (icondirs[i].bytes); in define_icon()[all …]
51 *unicode = ((unichar *) res_alloc ((len + 1) * sizeof (unichar))); in unicode_from_ascii()62 *unicode = ((unichar *) res_alloc (len * sizeof (unichar))); in unicode_from_ascii()
60 extern PTR res_alloc PARAMS ((size_t));
147 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()
142 res_alloc (size_t bytes) in res_alloc() function331 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()
177 buff = res_alloc (reshdr.data_size); in read_resource_entry()597 res_alloc (sizeof **resources));613 re = (struct res_entry *) res_alloc (sizeof *re);
201 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)));
770 extern void *res_alloc (size_t);