Searched refs:res_alloc (Results 1 – 12 of 12) sorted by relevance
141 ret = (unichar *) res_alloc ((c + 1) * sizeof (unichar)); in get_unicode()190 r = (rc_res_resource *) res_alloc (sizeof (rc_res_resource)); in bin_to_res_generic()209 c = (rc_cursor *) res_alloc (sizeof (rc_cursor)); in bin_to_res_cursor()215 r = (rc_res_resource *) res_alloc (sizeof *r); in bin_to_res_cursor()231 r = (rc_res_resource *) res_alloc (sizeof *r); in bin_to_res_menu()234 m = (rc_menu *) res_alloc (sizeof (rc_menu)); in bin_to_res_menu()290 mi = (rc_menuitem *) res_alloc (sizeof *mi); in bin_to_res_menuitems()367 mi = (rc_menuitem *) res_alloc (sizeof (rc_menuitem)); in bin_to_res_menuexitems()434 d = (rc_dialog *) res_alloc (sizeof (rc_dialog)); in bin_to_res_dialog()452 d->ex = (rc_dialog_ex *) res_alloc (sizeof (rc_dialog_ex)); in bin_to_res_dialog()[all …]
725 data = (bfd_byte *) res_alloc (s.st_size - BITMAP_SKIP); in define_bitmap()808 data = (bfd_byte *) res_alloc (icondirs[i].bytes); in define_cursor()812 c = (rc_cursor *) res_alloc (sizeof (rc_cursor)); in define_cursor()841 cg = (rc_group_cursor *) res_alloc (sizeof (rc_group_cursor)); in define_cursor()875 copy = (rc_dialog *) res_alloc (sizeof *copy); in define_dialog()896 n = (rc_dialog_control *) res_alloc (sizeof (rc_dialog_control)); in define_control()964 data = (bfd_byte *) res_alloc (s.st_size); in define_font()1005 fontdata = (bfd_byte *) res_alloc (fontdatalength); in define_font()1010 fd = (rc_fontdir *) res_alloc (sizeof (rc_fontdir)); in define_font()1074 ret = pret = (bfd_byte *) res_alloc (len); in rcdata_render_as_buffer()[all …]
231 utmp = (unichar *) res_alloc (sizeof (unichar) * (idx + 1)); in unicode_from_ascii_len()247 utmp = ((unichar *) res_alloc (elen + sizeof (unichar) * 2)); in unicode_from_ascii_len()255 utmp = (unichar *) res_alloc (sizeof (unichar) * (idx + 1)); in unicode_from_ascii_len()269 up = (unichar *) res_alloc (sizeof (unichar) * (idx + elen)); in unicode_from_ascii_len()469 r = ((unichar *) res_alloc (len * sizeof (unichar))); in unichar_dup()676 *u = ((unichar *) res_alloc (len)); in unicode_from_codepage()697 *ascii = (char *) res_alloc (len * sizeof (char)); in codepage_from_unicode()
218 a = (rc_accelerator *) res_alloc (sizeof *a);391 res_alloc (sizeof (rc_dialog_ex)));418 res_alloc (sizeof (rc_dialog_ex)));1370 res_alloc (sizeof (rc_toolbar_item));1389 res_alloc (sizeof (rc_toolbar_item));1422 res_alloc (sizeof (rc_fixed_versioninfo)));1699 unichar *h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar));1748 unichar *h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar));1767 char *h = (char *) res_alloc (l);1783 unichar *h = (unichar *) res_alloc (l * sizeof (unichar));
152 data = (bfd_byte *) res_alloc (size); in read_coff_rsrc()206 rd = (rc_res_directory *) res_alloc (sizeof (rc_res_directory)); in read_coff_res_dir()243 re = (rc_res_entry *) res_alloc (sizeof *re); in read_coff_res_dir()248 re->id.u.n.name = (unichar *) res_alloc (length * sizeof (unichar)); in read_coff_res_dir()292 re = (rc_res_entry *) res_alloc (sizeof *re); in read_coff_res_dir()
286 h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar));303 h = (unichar *) res_alloc ((l1 + l2 + 1) * sizeof (unichar));
137 extern void * res_alloc (rc_uint_type);
170 res_alloc (rc_uint_type bytes) in res_alloc() function285 ret = res_alloc (sizeof (mc_node)); in mc_add_node()307 ret = res_alloc (sizeof (mc_node_lang)); in mc_add_node_lang()596 ret = res_alloc ((len + 3) & ~3); in mc_generate_bin_item()622 ret = res_alloc ((len + 3) & ~3); in mc_generate_bin_item()
48 extern void *res_alloc (rc_uint_type);
151 res_alloc (rc_uint_type bytes) in res_alloc() function342 res_alloc (sizeof (rc_res_directory))); in define_resource()360 re = (rc_res_entry *) res_alloc (sizeof (rc_res_entry)); in define_resource()410 res_alloc (sizeof (rc_res_resource))); in define_resource()
201 buff = res_alloc (reshdr.data_size); in read_resource_entry()661 res_alloc (sizeof (rc_res_directory))); in res_append_resource()680 re = (rc_res_entry *) res_alloc (sizeof (rc_res_entry)); in res_append_resource()
155 * windmc.c (res_alloc): Remove unnecessary cast.156 * windres.c (res_alloc, reswr_alloc): Likewise.