Searched refs:xmalloc (Results 101 - 125 of 525) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gdb/gdb/cli/
H A Dcli-script.c82 cmd = (struct command_line *) xmalloc (sizeof (struct command_line));
88 = (struct command_line **) xmalloc (sizeof (struct command_line *)
499 args = (struct user_args *) xmalloc (sizeof (struct user_args));
616 new_line = (char *) xmalloc (len + 1);
668 xmalloc (sizeof (struct command_line *) * new_length);
738 xmalloc (sizeof (struct command_line));
748 xmalloc (sizeof (struct command_line));
759 xmalloc (sizeof (struct command_line));
1019 result = (struct command_line *) xmalloc (sizeof (struct command_line));
1030 xmalloc (sizeo
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dcompleter.c127 return_val = (char **) xmalloc (return_val_alloced * sizeof (char *));
164 q = xmalloc (strlen (p) + 5);
172 q = xmalloc (strlen (p) + (text - word) + 5);
261 file_to_match = (char *) xmalloc (colon - text + 1);
371 xmalloc. It can also return NULL if there are no completions.
H A Df-lang.c604 new = (SAVED_BF_PTR) xmalloc (sizeof (SAVED_BF));
613 new = (SAVED_FUNCTION *) xmalloc (sizeof (SAVED_FUNCTION));
622 new = (SAVED_F77_COMMON_PTR) xmalloc (sizeof (SAVED_F77_COMMON));
631 new = (COMMON_ENTRY_PTR) xmalloc (sizeof (COMMON_ENTRY));
676 local_copy_func_stab = xmalloc (strlen (func_stab) + 1);
679 tmp->name = xmalloc (strlen (name) + 1);
694 tmp->owning_function = xmalloc (strlen (local_copy_func_stab) + 1);
H A Devent-top.c189 a_prompt = (char *) xmalloc (length);
510 (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg));
512 (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg));
624 linebuffer = (char *) xmalloc (linelength);
833 result = (char *) xmalloc (result_size);
H A Dui-file.c57 struct ui_file *file = xmalloc (sizeof (struct ui_file));
280 acc->buffer = xmalloc (length + 1);
392 stream->buffer = xmalloc (stream->sizeof_buffer);
433 struct stdio_file *stdio = xmalloc (sizeof (struct stdio_file));
549 struct tee_file *tee = xmalloc (sizeof (struct tee_file));
H A Dlinespec.c395 canonical_arr = (char **) xmalloc (sizeof (char *));
401 canonical_name = xmalloc (strlen (filename) + strlen (symname) + 2);
406 canonical_name = xmalloc (strlen (filename) + 30);
489 xmalloc (nelts * sizeof (struct symtab_and_line));
494 canonical_arr = (char **) xmalloc (nelts * sizeof (char *));
954 xmalloc (sizeof (struct symtab_and_line));
1130 values.sals = (struct symtab_and_line *) xmalloc (sizeof (struct symtab_and_line));
1426 xmalloc (sizeof (struct symtab_and_line));
1638 xmalloc (sizeof (struct symtab_and_line));
1711 values.sals = (struct symtab_and_line *) xmalloc (sizeo
[all...]
H A Devent-loop.c266 file_event_ptr = (gdb_event *) xmalloc (sizeof (gdb_event));
500 file_ptr = (file_handler *) xmalloc (sizeof (file_handler));
517 (struct pollfd *) xmalloc (sizeof (struct pollfd));
584 (struct pollfd *) xmalloc ((gdb_notifier.num_fds - 1) * sizeof (struct pollfd));
878 (async_signal_handler *) xmalloc (sizeof (async_signal_handler));
982 timer_ptr = (struct gdb_timer *) xmalloc (sizeof (gdb_timer));
1135 event_ptr = (gdb_event *) xmalloc (sizeof (gdb_event));
/freebsd-11-stable/contrib/binutils/gas/
H A Dinput-scrub.c145 saved = (struct input_save *) xmalloc (sizeof *saved);
169 buffer_start = xmalloc ((BEFORE_SIZE + buffer_length + buffer_length + AFTER_SIZE));
214 buffer_start = xmalloc ((BEFORE_SIZE + buffer_length + buffer_length + AFTER_SIZE));
/freebsd-11-stable/contrib/binutils/ld/
H A Ddeffilep.y216 char *name = xmalloc (strlen ($1) + 1 + strlen ($3) + 1);
240 char *name = xmalloc (strlen ($1) + 1 + strlen ($3) + 1);
271 def_file *rv = xmalloc (sizeof (def_file));
486 def->exports = xmalloc (max_exports * sizeof (def_file_export));
520 s = xmalloc (sizeof (def_file_module) + strlen (name));
546 def->imports = xmalloc (max_imports * sizeof (def_file_import));
666 def->name = xmalloc (strlen (image_name) + strlen (suffix) + 1);
691 def->description = xmalloc (len);
724 def->section_defs = xmalloc (max_sections * sizeof (def_file_import));
806 buf = xmalloc (strle
[all...]
H A Dldctor.c72 p = xmalloc (sizeof (struct set_info));
108 e = xmalloc (sizeof (struct set_element));
226 array = xmalloc (c * sizeof *array);
H A Dmri.c71 *ptr = xmalloc (sizeof (struct section_name_struct));
212 tmp = xmalloc (sizeof *tmp);
223 tmp = xmalloc (sizeof *tmp);
/freebsd-11-stable/usr.bin/mklocale/
H A Dyacc.y57 static void *xmalloc(unsigned int sz);
130 variable = xmalloc(new_locale.variable_len);
147 $$ = (rune_list *)xmalloc(sizeof(rune_list));
154 $$ = (rune_list *)xmalloc(sizeof(rune_list));
161 $$ = (rune_list *)xmalloc(sizeof(rune_list));
168 $$ = (rune_list *)xmalloc(sizeof(rune_list));
177 $$ = (rune_list *)xmalloc(sizeof(rune_list));
185 $$ = (rune_list *)xmalloc(sizeof(rune_list));
193 $$ = (rune_list *)xmalloc(sizeof(rune_list));
201 $$ = (rune_list *)xmalloc(sizeo
[all...]
/freebsd-11-stable/contrib/amd/libamu/
H A Dstrutil.c54 char *sp = (char *) xmalloc(len + 1);
91 ivec = (char **) xmalloc((ic + 1) * sizeof(char *));
295 dst = xmalloc(len + 1);
/freebsd-11-stable/contrib/amd/amd/
H A Dinfo_nisplus.c102 map_name = xmalloc(l);
177 index = xmalloc(l);
272 map_name = xmalloc(l);
/freebsd-11-stable/contrib/xz/src/xz/
H A Doptions.c173 lzma_options_delta *options = xmalloc(sizeof(lzma_options_delta));
216 lzma_options_bcj *options = xmalloc(sizeof(lzma_options_bcj));
348 lzma_options_lzma *options = xmalloc(sizeof(lzma_options_lzma));
/freebsd-11-stable/contrib/libreadline/
H A Disearch.c54 #include "xmalloc.h"
86 cxt = (_rl_search_cxt *)xmalloc (sizeof (_rl_search_cxt));
164 message = (char *)xmalloc (searchlen + 33);
223 cxt->lines = (char **)xmalloc ((1 + (cxt->hlen = i)) * sizeof (char *));
232 cxt->allocated_line = (char *)xmalloc (1 + strlen (rl_line_buffer));
245 cxt->search_string = (char *)xmalloc (cxt->search_string_size = 128);
H A Dhistexpand.c50 #include "xmalloc.h"
235 temp = (char *)xmalloc (1 + which);
337 r = ret = (char *)xmalloc (len);
402 temp = (char *)xmalloc (ll + elen + 3);
458 s = (char *)xmalloc (si - i + 1);
485 new = (char *)xmalloc (new_size = subst_rhs_len + subst_lhs_len);
533 result = (char *)xmalloc (result_len = 128);
802 new_event = (char *)xmalloc (1 + len);
953 result = (char *)xmalloc (result_len = 256);
970 string = (char *)xmalloc (
[all...]
/freebsd-11-stable/contrib/diff/src/
H A Dutil.c111 new = xmalloc (total_size);
183 name = xmalloc (strlen (current_name0) + strlen (current_name1)
231 char *command = xmalloc (sizeof pr_program - 1 + 7
743 char *new = xmalloc (strlen (s1) + strlen (s2) + strlen (s3) + 1);
753 void *p = xmalloc (size);
H A Dio.c107 current->buffer = xmalloc (current->bufsize);
114 current->buffer = xmalloc (current->bufsize);
234 lin *cureqs = xmalloc (alloc_lines * sizeof *cureqs);
732 linbuf0 = xmalloc (alloc_lines0 * sizeof *linbuf0);
766 linbuf1 = xmalloc (alloc_lines1 * sizeof *linbuf1);
841 equivs = xmalloc (equivs_alloc * sizeof *equivs);
/freebsd-11-stable/libexec/rtld-elf/
H A Dlibmap.c139 p = xmalloc(sizeof(struct lmc));
165 p = xmalloc(sizeof(struct lmc));
365 lm = xmalloc(sizeof(struct lm));
410 s = xmalloc(n + 1);
462 lmp = xmalloc(sizeof(struct lmp));
/freebsd-11-stable/contrib/dtc/
H A Dlivetree.c38 new = xmalloc(sizeof(*new));
55 struct property *new = xmalloc(sizeof(*new));
67 struct property *new = xmalloc(sizeof(*new));
102 struct node *new = xmalloc(sizeof(*new));
119 struct node *new = xmalloc(sizeof(*new));
318 struct reserve_info *new = xmalloc(sizeof(*new));
361 dti = xmalloc(sizeof(*dti));
627 tbl = xmalloc(n * sizeof(*tbl));
665 tbl = xmalloc(n * sizeof(*tbl));
701 tbl = xmalloc(
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dtc.str.c175 sdst = dst = xmalloc((n + 1) * sizeof(Char *));
194 sdst = dst = xmalloc((n + 1) * sizeof(char *));
233 sdst = xmalloc((dstsize + MALLOC_SURPLUS) * sizeof(char));
443 n = xmalloc((len + 1) * sizeof (*n));
458 n = xmalloc(size);
477 res = xmalloc(((p - cp) + (q - dp) - 1) * sizeof(Char));
543 sdst = xmalloc((dstsize + MALLOC_SURPLUS) * sizeof(char));
/freebsd-11-stable/contrib/binutils/binutils/
H A Dwindmc.c81 #define obstack_chunk_alloc xmalloc
190 hsz = xmalloc (len);
505 mc_nodes_lang = xmalloc (sizeof (mc_node_lang *) * mc_nodes_lang_count);
526 mc_facility_codes = xmalloc (sizeof (mc_keyword *) * i);
540 mc_severity_codes = xmalloc (sizeof (mc_keyword *) * i);
715 mi = xmalloc (sizeof (mc_msg_item) * elems);
716 mtbl = xmalloc (dta_start);
777 filename = xmalloc (strlen (nd) + 4 + 1 + strlen (mcset_mc_basename) + 1 + strlen (mcset_rc_dir));
951 hsz = xmalloc (strlen (path) + 2);
1007 char *hsz = xmalloc (strle
[all...]
H A Drclex.c179 fn = xmalloc (len + 1);
222 fn = xmalloc (send - s + 1);
231 initial_fn = xmalloc (strlen (fn) + 1);
251 as = xmalloc (sizeof *as);
252 as->s = xmalloc (len);
618 char *h = xmalloc (rclex_tok_max + 9);
H A Drddbg.c131 stabs = (bfd_byte *) xmalloc (stabsize);
141 strings = (bfd_byte *) xmalloc (strsize);
350 contents = (bfd_byte *) xmalloc (size);

Completed in 202 milliseconds

1234567891011>>