Lines Matching refs:xmalloc
294 - pv->partmaps = xmalloc (s * sizeof (pv->partmaps[0]));
757 - char **l = xmalloc ((n + ext) * sizeof (l[0]));
920 #define xmalloc malloc
927 - m = xmalloc ((s + rs) * sizeof (gf_single_t));
931 - rs_polynomial = xmalloc ((rs + 1) * sizeof (gf_single_t));
1386 - devicelist = xmalloc ((info.nr_disks + 1) * sizeof (char *));
1395 - ret = xmalloc ((fsi.num_devices + 1) * sizeof (ret[0]));
1404 - entries = xmalloc (entry_max * sizeof (*entries));
1417 - script = xmalloc (4 * strlen (cfgfile) + 300);
1430 - out = xmalloc (allocsize * sizeof (out[0]));
1443 - fpa = xmalloc (alloc * sizeof (fpa[0]));
1452 - pattern = xmalloc ((l + 3) * sizeof (pattern[0]));
1465 - *argv = xmalloc ((*argc + 1) * sizeof (argv[0]));
1478 - distributor16 = xmalloc ((distrib8_len + 1) * GRUB_MAX_UTF16_PER_UTF8
1493 - ret = xmalloc (sizeof (ret[0]) * (flen - offset + 2));
1558 - grub_uint8_t *buffer = xmalloc (mode_info->width * 3);
1567 - grub_uint8_t *buffer = xmalloc (mode_info->width * 3);
1576 - grub_uint8_t *buffer = xmalloc (mode_info->width * 3);
1663 - ret = xmalloc (strlen (drive) * 2);
1676 - argv2 = xmalloc (argc * sizeof (argv2[0]));
1689 - images = xmalloc (num_disks * sizeof (images[0]));
1698 - args = xmalloc (argc * sizeof (args[0]));
1711 - il->entries = xmalloc (il->n_alloc * sizeof (il->entries[0]));
1724 - d = xmalloc (alloced * sizeof (d[0]));
1733 - grub_drives = xmalloc (sizeof (grub_drives[0]) * (ndev + 1));
1746 - smd.addrs = xmalloc (sizeof (*smd.addrs) * smd.num_sections);
1748 - smd.vaddrs = xmalloc (sizeof (*smd.vaddrs) * smd.num_sections);
1763 - argp_argv = xmalloc (sizeof (argp_argv[0]) * argc);
1764 - xorriso_tail_argv = xmalloc (sizeof (argp_argv[0]) * argc);
1778 - files = xmalloc ((argc + 1) * sizeof (files[0]));
1791 - section_map = xmalloc ((2 * pe_chdr->num_sections + 5) * sizeof (int));
1794 - shdr = xmalloc ((2 * pe_chdr->num_sections + 5) * sizeof (shdr[0]));
1803 - rel = (elf_reloc_t *) xmalloc (pe_sec->num_relocations * sizeof (elf_reloc_t));
1812 - symtab = (Elf_Sym *) xmalloc ((pe_chdr->num_symbols + 1) *
1818 - symtab_map = (int *) xmalloc (pe_chdr->num_symbols * sizeof (int));
1832 - drives_names = xmalloc (sizeof (drives_names[0]) * (ndev + 1));