Searched refs:xmalloc (Results 151 - 175 of 525) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gdb/gdb/
H A Dinfcmd.c286 result = (char *) xmalloc (length);
331 result = (char *) xmalloc (length);
772 (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg));
774 (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg));
776 (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg));
1257 (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg));
1259 (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg));
1261 (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg));
H A Dinterps.c431 matches = (char **) xmalloc (alloced * sizeof (char *));
440 (char *) xmalloc (strlen (word) + strlen (interp->name) + 1);
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);
H A Dmacrotab.c40 we should use xmalloc. */
44 definitions, or zero if we should use xmalloc. */
66 in obstack, if it's non-zero, or with xmalloc otherwise. The
68 strings are all allocated in bcache, if non-zero, or with xmalloc
80 should be allocated with xmalloc. */
87 return xmalloc (size);
100 there, and return the cached copy. Otherwise, just xmalloc a copy
109 void *copy = xmalloc (len);
118 xmalloc a copy and return that. */
872 t = xmalloc (sizeo
[all...]
H A Dmain.c180 cmdarg = (char **) xmalloc (cmdsize * sizeof (*cmdarg));
183 dirarg = (char **) xmalloc (dirsize * sizeof (*dirarg));
187 line = (char *) xmalloc (linesize);
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstrtab.c46 sp->str_ptr = xmalloc(sp->str_bufsz);
179 hp = xmalloc(sizeof (strhash_t));
H A Dctf.c655 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base)
678 resbuf.rb_base = xmalloc(resbuf.rb_size);
983 xmalloc(sizeof (tdesc_t *) * ii->ii_nargs);
1077 ip = xmalloc(sizeof (intr_t));
1124 tdp->t_ardef = xmalloc(sizeof (ardef_t));
1142 *mpp = xmalloc(sizeof (mlist_t));
1160 *mpp = xmalloc(sizeof (mlist_t));
1188 *epp = xmalloc(sizeof (elist_t));
1376 ctfdata = xmalloc(ctfdatasz);
/freebsd-11-stable/contrib/binutils/opcodes/
H A Dcgen-asm.c136 xmalloc (hash_size * sizeof (CGEN_INSN_LIST *));
139 xmalloc (count * sizeof (CGEN_INSN_LIST));
/freebsd-11-stable/crypto/openssh/
H A Dgss-genr.c39 #include "xmalloc.h"
68 ctx->oid->elements = xmalloc(len);
131 ret = xmalloc(buffer_len(&b));
/freebsd-11-stable/libexec/rtld-elf/
H A Drtld_lock.c84 base = xmalloc(CACHE_LINE_SIZE);
88 base = xmalloc(2 * CACHE_LINE_SIZE);
H A Drtld.h44 #define NEW(type) ((type *) xmalloc(sizeof(type)))
361 void *xmalloc(size_t);
/freebsd-11-stable/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-11-stable/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-11-stable/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));
/freebsd-11-stable/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-11-stable/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-11-stable/contrib/amd/libamu/
H A Dmount_fs.c275 zopts = (char *) xmalloc(l);
340 char *str = (char *) xmalloc(l);
1102 nap->auth_flavours = xmalloc(l * sizeof(*nap->auth_flavours));
1143 ns->data = xmalloc(ns->len + 1);
1275 nap->hostname.data = xmalloc(nap->hostname.len + 1);
1284 nap->mnt_path.data = xmalloc(nap->mnt_path.len + 1);
1292 nap->host_addr = xmalloc(nap->host_addrlen);
/freebsd-11-stable/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);
694 wchar_t *wcpattern = xmalloc ((size + 1) * sizeof (wchar_t));
709 char *patterncopy = xmalloc (size + 1);
735 starts = xmalloc (mb_cur_max * 3);
797 Fimb.match = xmalloc (Fimb.count);
1189 char *re = xmalloc (4 * size + 7);
/freebsd-11-stable/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...]

Completed in 211 milliseconds

1234567891011>>