Searched refs:xmalloc (Results 251 - 275 of 678) sorted by relevance

<<11121314151617181920>>

/freebsd-9.3-release/contrib/binutils/binutils/
H A Drdcoff.c119 *pps = (struct coff_slots *) xmalloc (sizeof **pps);
128 *pps = (struct coff_slots *) xmalloc (sizeof **pps);
388 fields = (debug_field *) xmalloc (alloc * sizeof *fields);
496 names = (const char **) xmalloc (alloc * sizeof *names);
497 vals = (bfd_signed_vma *) xmalloc (alloc * sizeof *vals);
H A Dieee.c319 ret = (char *) xmalloc (len + 1);
808 t->pslot = (debug_type *) xmalloc (sizeof *t->pslot);
992 xmalloc (info->types.alloc
1243 xmalloc (sizeof *info->global_vars));
1246 xmalloc (info->vars.alloc
1254 xmalloc (sizeof *info->global_types));
1257 xmalloc (info->types.alloc
1485 names = (const char **) xmalloc (alloc * sizeof *names);
1514 vals = (bfd_signed_vma *) xmalloc (c * sizeof *vals);
1535 fields = (debug_field *) xmalloc (allo
[all...]
/freebsd-9.3-release/contrib/binutils/ld/
H A Dldcref.c232 old_tab = xmalloc (tabsize + entsize + refsize);
379 csyms = xmalloc (cref_symcount * sizeof (*csyms));
497 asymbols = xmalloc (symsize);
619 asymbols = xmalloc (symsize);
697 relpp = xmalloc (relsize);
H A Dldgram.y486 tmp = (struct name_list *) xmalloc (sizeof *tmp);
495 tmp = (struct name_list *) xmalloc (sizeof *tmp);
506 tmp = (struct wildcard_list *) xmalloc (sizeof *tmp);
515 tmp = (struct wildcard_list *) xmalloc (sizeof *tmp);
763 n = (struct lang_nocrossref *) xmalloc (sizeof *n);
772 n = (struct lang_nocrossref *) xmalloc (sizeof *n);
1024 xmalloc (sizeof *n));
H A Dldfile.c98 Makes a copy of NAME using xmalloc(). */
108 new = xmalloc (sizeof (search_dirs_type));
348 string = xmalloc (strlen (search->name)
518 search_arch_type *new = xmalloc (sizeof (search_arch_type));
H A Dldwrite.c59 link_order->u.data.contents = xmalloc (QUAD_SIZE);
196 link_order->u.reloc.p = xmalloc (sizeof (struct bfd_link_order_reloc));
326 tname = xmalloc (len + 1);
/freebsd-9.3-release/contrib/cvs/diff/
H A Ddiff.c93 result = xmalloc (length + 1);
146 ? xmalloc ((exclude_alloc = 64) * sizeof (*exclude))
351 char *b = xmalloc (sizeof (C_ifdef_group_formats)
738 r = (struct regexp_list *) xmalloc (sizeof (*r));
740 r->buf.fastmap = xmalloc (256);
/freebsd-9.3-release/contrib/cvs/src/
H A Dlogmsg.c326 *messagep = (char *) xmalloc (post_stbuf.st_size + 1);
520 p = *messagep = (char *) xmalloc (post_stbuf.st_size + 1);
864 str_list_format = xmalloc (len + 1);
871 str_list = xmalloc (1);
895 prog = cp = xmalloc ((fmt_percent - filter) + 2 * strlen (srepos)
H A Dlog.c503 repository = xmalloc (strlen (current_parsed_root->directory)
508 where = xmalloc (strlen (argv[0])
535 path = xmalloc (strlen (repository) + strlen (mfile) + 5);
618 r = (struct option_revlist *) xmalloc (sizeof *r);
680 nd = (struct datelist *) xmalloc (sizeof *nd);
781 p->key = xmalloc (len + 1);
1075 nr = (struct revlist *) xmalloc (sizeof *nr);
1242 char *p = xmalloc (strlen (nr->first) + 3);
1256 nr = (struct revlist *) xmalloc (sizeof *nr);
1292 nr = (struct revlist *) xmalloc (sizeo
[all...]
H A Dentries.c59 ent = (Entnode *) xmalloc (sizeof (Entnode));
494 sdtp = (struct stickydirtag *) xmalloc (sizeof (*sdtp));
565 sdtp = (struct stickydirtag *) xmalloc (sizeof (*sdtp));
731 tmp = xmalloc ((dir ? strlen (dir) : 0)
931 entfilename = xmalloc (strlen (parent)
1102 baserev_fullname = xmalloc (sizeof (CVSADM_BASEREV)
1106 baserevtmp_fullname = xmalloc (sizeof (CVSADM_BASEREVTMP)
H A Dhash.c71 list = (List *) xmalloc (sizeof (List));
150 p = (Node *) xmalloc (sizeof (Node));
423 array = (Node **) xmalloc (sizeof(Node *) * n);
H A Dupdate.c554 fullpath = xmalloc (strlen(working_dir) +
570 xmalloc (sizeof (struct hardlink_info));
808 tmp = xmalloc (strlen (file) + strlen (dir) + 10);
961 cvsadmdir = xmalloc (strlen (dir) + 80);
987 tmp = xmalloc (strlen (dir) + sizeof (CVSADM_ENTSTAT) + 10);
1250 backup = xmalloc (strlen (finfo->file)
1623 backup = xmalloc (strlen (finfo->file)
1637 file1 = xmalloc (strlen (finfo->file)
1642 file2 = xmalloc (strlen (finfo->file)
1989 backup = xmalloc (strle
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dbuildsym.c125 link = (struct pending *) xmalloc (sizeof (struct pending));
563 subfile = (struct subfile *) xmalloc (sizeof (struct subfile));
677 = (struct subfile_stack *) xmalloc (sizeof (struct subfile_stack));
724 xmalloc (sizeof (struct linetable)
789 xmalloc (context_stack_size * sizeof (struct context_stack));
H A Ddictionary.c400 retval = xmalloc (sizeof (struct dictionary));
465 retval = xmalloc (sizeof (struct dictionary));
471 = xmalloc (DICT_LINEAR_EXPANDABLE_CAPACITY (retval)
H A Delfread.c492 symbol_table = (asymbol **) xmalloc (storage_needed);
509 dyn_symbol_table = (asymbol **) xmalloc (storage_needed);
532 synth_symbol_table = xmalloc (sizeof (asymbol *) * synthcount);
/freebsd-9.3-release/contrib/gdb/gdb/tui/
H A Dtui-data.c451 if ((win = (struct tui_gen_win_info *) xmalloc (
570 win_info = (struct tui_win_info *) xmalloc (sizeof (struct tui_win_info));
590 xmalloc (sizeof (struct tui_win_element *) * num_elements)) != (tui_win_content) NULL)
599 xmalloc (sizeof (struct tui_win_element) * num_elements)) != (char *) NULL)
643 xmalloc (sizeof (struct tui_win_element))) != (struct tui_win_element *) NULL)
/freebsd-9.3-release/contrib/gcc/
H A Dprotoize.c525 char *output = xmalloc (size + 1);
538 char *ret_val = xmalloc (n + 1);
871 struct string_list *temp = xmalloc (sizeof (struct string_list));
946 p->hash_next = xmalloc (sizeof (hash_table_entry));
996 line_buf = xmalloc (line_buf_size);
1194 rel_buf_p = rel_buffer = xmalloc (filename_len);
1282 file_info *file_p = xmalloc (sizeof (file_info));
1417 def_dec_info *def_dec_p = xmalloc (sizeof (def_dec_info));
1572 f_list_chain_item *cip = xmalloc (sizeof (f_list_chain_item));
1880 compile_params = xmalloc (sizeo
[all...]
H A Dtree-ssa-live.c72 map = (var_map) xmalloc (sizeof (struct _var_map));
75 = (tree *)xmalloc (size * sizeof (tree));
215 map->partition_to_compact = (int *)xmalloc (limit * sizeof (int));
245 map->compact_to_partition = (int *)xmalloc (count * sizeof (int));
428 = (int *)xmalloc (((num_ssa_names + 1) * sizeof (int)));
521 live = (tree_live_info_p) xmalloc (sizeof (struct tree_live_info_d));
527 live->livein = (bitmap *)xmalloc (num_var_partitions (map) * sizeof (bitmap));
824 on_exit = (bitmap *)xmalloc (last_basic_block * sizeof (bitmap));
873 tpa = (tpa_p) xmalloc (sizeof (struct tree_partition_associator_d));
877 tpa->next_partition = (int *)xmalloc (num_partition
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/cli/
H A Dcli-decode.c142 = (struct cmd_list_element *) xmalloc (sizeof (struct cmd_list_element));
801 line_buffer = (char *) xmalloc (line_size);
811 line_buffer = (char *) xmalloc (line_size);
1409 matchlist = (char **) xmalloc (sizeof_matchlist * sizeof (char *));
1427 xmalloc (strlen (word) + strlen (ptr->name) + 1);
1483 matchlist = (char **) xmalloc (sizeof_matchlist * sizeof (char *));
1498 xmalloc (strlen (word) + strlen (name) + 1);
/freebsd-9.3-release/contrib/texinfo/info/
H A Decho-area.c191 return_value = (char *) xmalloc (1 + line_len);
694 killed_text = (char *)xmalloc (1 + distance);
714 new = (char *)xmalloc (1 + strlen (old) + strlen (killed_text));
1193 request = (char *)xmalloc (1 + len);
1262 LCD_reference.label = (char *)xmalloc (1 + shortest);
1327 temp = (REFERENCE **)xmalloc ((1 + newlen) * sizeof (REFERENCE *));
1408 pushed = (PUSHED_EA *)xmalloc (sizeof (PUSHED_EA));
/freebsd-9.3-release/gnu/usr.bin/grep/
H A Dsearch.c224 char *n = xmalloc (sizeof word_beg - 1 + size + sizeof word_end);
308 char *n = xmalloc (sizeof word_beg - 1 + size + sizeof word_end);
688 wchar_t *wcpattern = xmalloc ((size + 1) * sizeof (wchar_t));
703 char *patterncopy = xmalloc (size + 1);
729 starts = xmalloc (mb_cur_max * 3);
791 Fimb.match = xmalloc (Fimb.count);
1176 char *re = xmalloc (4 * size + 7);
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c569 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base)
592 resbuf.rb_base = xmalloc(resbuf.rb_size);
882 xmalloc(sizeof (tdesc_t *) * ii->ii_nargs);
976 ip = xmalloc(sizeof (intr_t));
1023 tdp->t_ardef = xmalloc(sizeof (ardef_t));
1041 *mpp = xmalloc(sizeof (mlist_t));
1055 *mpp = xmalloc(sizeof (mlist_t));
1079 *epp = xmalloc(sizeof (elist_t));
1266 ctfdata = xmalloc(ctfdatasz);
/freebsd-9.3-release/contrib/libreadline/
H A Dbind.c67 #include "xmalloc.h"
316 macro_keys = (char *)xmalloc ((2 * strlen (macro)) + 1);
354 keys = (char *)xmalloc (1 + (2 * strlen (keyseq)));
622 r = ret = (char *)xmalloc (7 * strlen (seq) + 1);
790 buffer = (char *)xmalloc (file_size + 1);
969 if_stack = (unsigned char *)xmalloc (if_stack_size = 20);
1320 seq = (char *)xmalloc (1 + strlen (string));
1692 _rl_isearch_terminators = (char *)xmalloc (2 * strlen (v) + 1);
1851 keyname = (char *)xmalloc (8);
1977 char *keyname = (char *)xmalloc (
[all...]
H A Dcomplete.c65 #include "xmalloc.h"
740 new_full_pathname = (char *)xmalloc (slen + tlen + 2);
791 r = (char *)xmalloc (strlen (s) + 2);
1015 temp_array = (char **)xmalloc ((3 + newlen) * sizeof (char *));
1130 match_list[0] = (char *)xmalloc (strlen (text) + 1);
1135 match_list[0] = (char *)xmalloc (low + 1);
1803 match_list = (char **)xmalloc ((match_list_size + 1) * sizeof (char *));
1874 value = (char *)xmalloc (2 + strlen (entry->pw_name));
2074 temp = (char *)xmalloc (2 + dirlen + D_NAMLEN (entry));
2087 temp = (char *)xmalloc (
[all...]
/freebsd-9.3-release/contrib/amd/include/
H A Dam_utils.h131 #define ALLOC(ty) ((ty *) xmalloc(sizeof(ty)))
134 #define SALLOC(b) xmalloc((b))
326 extern voidp xmalloc(int);

Completed in 293 milliseconds

<<11121314151617181920>>