Searched refs:xmalloc (Results 226 - 250 of 525) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/tcsh/
H A Dsh.glob.c298 fnv = xmalloc(sizeof(Char ***));
299 *fnv = vl = xmalloc(sizeof(Char *) * size);
403 str = xmalloc(chars * sizeof(Char));
897 fblk = xmalloc(sizeof(Char ***));
898 *fblk = xmalloc(GLOBSPACE * sizeof(Char *));
H A Dsh.hist.c433 Char *number = xmalloc((nChars+nWords)*sizeof(Char));
523 unsigned *hashes = xmalloc(length*sizeof(unsigned));
737 histHashTable = xmalloc(histHashTableLength * sizeof(struct Hist *));
967 np = p ? p : xmalloc(sizeof(*np));
1195 buf = xmalloc(Strlen(istr) * MB_LEN_MAX + 1);
1205 buf = xmalloc(1);
H A Dma.setp.c248 pe = xmalloc(sizeof(struct pelem));
295 p = xmalloc((unsigned)len);
/freebsd-11-stable/contrib/libreadline/
H A Dreadline.c73 #include "xmalloc.h"
583 cxt = (_rl_keyseq_cxt *)xmalloc (sizeof (_rl_keyseq_cxt));
984 tp = environ = (char **)xmalloc ((c + 1) * sizeof (char *));
1027 rl_line_buffer = (char *)xmalloc (rl_line_buffer_len = DEFAULT_BUFFER_SIZE);
H A Ddisplay.c57 #include "xmalloc.h"
251 r = ret = (char *)xmalloc (l + 1);
425 visible_line = (char *)xmalloc (line_size);
426 invisible_line = (char *)xmalloc (line_size);
447 inv_lbreaks = (int *)xmalloc (inv_lbsize * sizeof (int));
448 vis_lbreaks = (int *)xmalloc (vis_lbsize * sizeof (int));
450 _rl_wrapped_line = (int *)xmalloc (vis_lbsize * sizeof (int));
2148 pmt = (char *)xmalloc (len + 2);
2158 pmt = (char *)xmalloc (len + 2);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dmacroexp.c81 initial storage with xmalloc. */
90 b->text = (char *) xmalloc (n);
681 xmalloc, and the caller is responsible for freeing it.
723 args = (struct macro_buffer *) xmalloc (sizeof (*args) * args_size);
1026 char *id = xmalloc (src_first->len + 1);
H A Dcharset.c265 struct charset *cs = xmalloc (sizeof (*cs));
870 struct translation *t = xmalloc (sizeof (*t));
H A Ddwarf2expr.c44 retval->stack = xmalloc (retval->stack_allocated * sizeof (CORE_ADDR));
120 ctx->pieces = xmalloc (ctx->num_pieces
H A Dexec.c368 *start = (struct section_table *) xmalloc (count * sizeof (**start));
414 vp = (struct vmap *) xmalloc (sizeof (*vp));
H A Dsomread.c529 string_buffer = (char *) xmalloc (string_table_size);
652 string_buffer = (char *) xmalloc (string_table_size);
H A Dthread.c127 tp = (struct thread_info *) xmalloc (sizeof (*tp));
521 = xmalloc (sizeof (struct current_thread_cleanup));
H A Dtracepoint.c340 t = (struct tracepoint *) xmalloc (sizeof (struct tracepoint));
860 temp = xmalloc (sizeof (struct action_line));
1372 str_list = (char *(*)[]) xmalloc (count * sizeof (char *));
2112 xmalloc (sizeof (struct symtab_and_line));
2641 tracepoint_list.list = xmalloc
2647 tracepoint_list.aexpr_list = xmalloc
2654 stepping_list.list = xmalloc
2661 stepping_list.aexpr_list = xmalloc
H A Dutils.c247 int *saved_fd = xmalloc (sizeof (fd));
269 = (struct cleanup *) xmalloc (sizeof (struct cleanup));
403 foo = xmalloc (...);
443 (struct continuation *) xmalloc (sizeof (struct continuation));
506 (struct continuation *) xmalloc (sizeof (struct continuation));
1058 /* See libiberty/xmalloc.c. This function need's to match that's
1075 /* See libiberty/xmalloc.c. This function need's to match that's
1095 /* See libiberty/xmalloc.c. This function need's to match that's
1117 /* The xmalloc() (libiberty.h) family of memory management routines.
1129 xmalloc (size_
1126 xmalloc (size_t size) function
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfmerge.c653 wq->wq_thread = xmalloc(sizeof (pthread_t) * wq->wq_nthreads);
883 ifiles = xmalloc(sizeof (char *) * nifiles);
884 tifiles = xmalloc(sizeof (char *) * nifiles);
/freebsd-11-stable/contrib/binutils/gas/
H A Dcgen.c846 new_exp = xmalloc (sizeof (expressionS));
1027 reloc = (arelent *) xmalloc (sizeof (arelent));
1039 reloc->sym_ptr_ptr = (asymbol **) xmalloc (sizeof (asymbol *));
H A Dapp.c236 saved = (struct app_save *) xmalloc (sizeof (*saved));
246 saved->saved_input = xmalloc (saved_input_len);
H A Dstabs.c430 stabstr_secname = (char *) xmalloc (strlen (stab_secname) + 4);
536 bufp = buf = xmalloc (2 * strlen (file) + strlen (sym) + 12);
/freebsd-11-stable/usr.bin/rpcgen/
H A Drpc_cout.c334 object = xmalloc(strlen(def->def_name) +
353 object = xmalloc(strlen(def->def_name) +
712 ptr = (char *)xmalloc(strlen(str)+1);
/freebsd-11-stable/contrib/gcc/
H A Dcfgloopanal.c129 struct edge *e = xmalloc (sizeof (struct edge));
151 struct edge **stack = xmalloc (sizeof (struct edge *) * g->n_vertices);
H A Dsee.c1038 (*slot_pre_exp) = xmalloc (sizeof (struct see_pre_extension_expr));
1884 curr_occr = xmalloc (sizeof (struct see_occr));
1994 curr_occr = xmalloc (sizeof (struct see_occr));
2012 curr_occr = xmalloc (sizeof (struct see_occr));
2036 curr_occr = xmalloc (sizeof (struct see_occr));
2198 curr_prop = xmalloc (sizeof (struct see_register_properties));
2269 curr_prop = xmalloc (sizeof (struct see_register_properties));
2363 curr_prop = xmalloc (sizeof (struct see_register_properties));
3109 ref_s = xmalloc (sizeof (struct see_ref_s));
3372 curr_entry_extra_info = xmalloc (sizeo
[all...]
H A Drtl-factoring.c399 (pattern_seq) xmalloc (sizeof (struct pattern_seq_def));
422 mseq = (matching_seq) xmalloc (sizeof (struct matching_seq_def));
896 sb = (seq_block) xmalloc (sizeof (struct seq_block_def));
914 (seq_block) xmalloc (sizeof (struct seq_block_def));
/freebsd-11-stable/contrib/binutils/opcodes/
H A Dcgen-opc.c249 xmalloc (size * sizeof (CGEN_KEYWORD_ENTRY *));
252 xmalloc (size * sizeof (CGEN_KEYWORD_ENTRY *));
/freebsd-11-stable/contrib/amd/amd/
H A Damfs_host.c422 ep = (exports *) xmalloc(n_export * sizeof(exports));
444 fp = (am_nfs_handle_t *) xmalloc(n_export * sizeof(am_nfs_handle_t));
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dst.c94 #define xmalloc malloc macro
101 #define alloc(type) (type*)xmalloc(sizeof(type))
/freebsd-11-stable/contrib/binutils/ld/
H A Dldlang.c52 #define obstack_chunk_alloc xmalloc
408 node = xmalloc (sizeof (lang_section_bst_type));
1502 symname = (char *) xmalloc (ps - secname + sizeof "__start_" + 1);
1530 symname = (char *) xmalloc (ps - secname + sizeof "__stop_" + 1);
2359 entry = xmalloc (sizeof (*entry));
2361 entry->name = xmalloc (end - p + 1);
2634 copy1 = xmalloc (strlen (first) + 1);
2635 copy2 = xmalloc (strlen (second) + 1);
4137 sections = xmalloc (amt);
5010 buf = xmalloc (1
[all...]

Completed in 374 milliseconds

1234567891011>>