Home
last modified time | relevance | path

Searched refs:xmalloc (Results 1 – 25 of 553) sorted by relevance

12345678910>>...23

/dflybsd-src/contrib/binutils-2.27/gprof/
H A Dcorefile.c118 xmalloc (count * sizeof (struct function_map))); in read_function_mappings()
144 symbol_map[count].file_name = (char *) xmalloc (strlen (dummy) + 1); in read_function_mappings()
152 symbol_map[count].function_name = (char *) xmalloc (strlen (tmp) + 1); in read_function_mappings()
215 core_syms = (asymbol **) xmalloc (core_sym_bytes); in core_init()
489 char * buf = (char *) xmalloc (BUFSIZE); in num_of_syms_in()
490 char * address = (char *) xmalloc (BUFSIZE); in num_of_syms_in()
492 char * name = (char *) xmalloc (BUFSIZE); in num_of_syms_in()
515 char * buf = (char *) xmalloc (BUFSIZE); in core_create_syms_from()
516 char * address = (char *) xmalloc (BUFSIZE); in core_create_syms_from()
518 char * name = (char *) xmalloc (BUFSIZE); in core_create_syms_from()
[all …]
H A Dcg_print.c576 name_sorted_syms = (Sym **) xmalloc ((symtab.len + num_cycles) * sizeof (Sym *)); in cg_print_index()
800 unused_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
801 used_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
802 scratch_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
803 high_arcs = (Arc **) xmalloc (numarcs * sizeof (Arc *)); in cg_print_function_ordering()
804 scratch_arcs = (Arc **) xmalloc (numarcs * sizeof (Arc *)); in cg_print_function_ordering()
805 unplaced_arcs = (Arc **) xmalloc (numarcs * sizeof (Arc *)); in cg_print_function_ordering()
964 unused_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
965 used_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
966 scratch_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
[all …]
/dflybsd-src/contrib/gdb-7/readline/
H A Dtilde.c53 static void *xmalloc (), *xrealloc ();
68 #define savestring(x) strcpy ((char *)xmalloc (1 + strlen (x)), (x))
200 result = (char *)xmalloc (result_size = (strlen (string) + 16));
202 result = (char *)xmalloc (result_size = (strlen (string) + 1));
233 tilde_word = (char *)xmalloc (1 + end);
273 ret = (char *)xmalloc (strlen (fname));
308 r = (char *)xmalloc (1 + x);
332 ret = (char *)xmalloc (plen + slen + 1);
462 xmalloc (bytes) in xmalloc() function
H A Dshell.c99 result = (char *)xmalloc (3 + (4 * strlen (string)));
130 b = (char *)xmalloc (INT_STRLEN_BOUND (int) + 1);
135 b = (char *)xmalloc (INT_STRLEN_BOUND (int) + 1);
141 b = (char *)xmalloc (INT_STRLEN_BOUND (int) + sizeof ("LINES=") + 1);
145 b = (char *)xmalloc (INT_STRLEN_BOUND (int) + sizeof ("COLUMNS=") + 1);
H A Dhistexpand.c236 temp = (char *)xmalloc (1 + which);
342 r = ret = (char *)xmalloc (len);
407 temp = (char *)xmalloc (ll + elen + 3);
463 s = (char *)xmalloc (si - i + 1);
490 new = (char *)xmalloc (new_size = subst_rhs_len + subst_lhs_len); in postproc_subst_rhs()
538 result = (char *)xmalloc (result_len = 128);
807 new_event = (char *)xmalloc (1 + len);
958 result = (char *)xmalloc (result_len = 256);
975 string = (char *)xmalloc (l + 5);
1143 temp = (char *)xmalloc (slen);
[all …]
/dflybsd-src/contrib/binutils-2.27/binutils/
H A Dwrstabs.c401 s = (struct stab_type_stack *) xmalloc (sizeof *s); in stab_push_string()
475 info.symbols = (bfd_byte *) xmalloc (info.symbols_alloc); in write_stabs_in_sections_debugging_info()
528 *pstrings = (bfd_byte *) xmalloc (info.strings_size); in write_stabs_in_sections_debugging_info()
793 buf = (char *) xmalloc (10 + strlen (tag)); in stab_enum_type()
808 buf = (char *) xmalloc (len); in stab_enum_type()
866 buf = (char *) xmalloc (strlen (s) + 2); in stab_modify_type()
909 buf = (char *) xmalloc (strlen (s) + 20); in stab_modify_type()
959 buf = (char *) xmalloc (strlen (s) + 3); in stab_function_type()
1000 buf = (char *) xmalloc (strlen (s) + 100); in stab_range_type()
1032 buf = (char *) xmalloc (strlen (range) + strlen (element) + 100); in stab_array_type()
[all …]
H A Ddebug.c611 n = (struct debug_name *) xmalloc (sizeof *n); in debug_add_to_namespace()
621 ns = (struct debug_namespace *) xmalloc (sizeof *ns); in debug_add_to_namespace()
666 ret = (struct debug_handle *) xmalloc (sizeof *ret); in debug_init()
684 nfile = (struct debug_file *) xmalloc (sizeof *nfile); in debug_set_filename()
689 nunit = (struct debug_unit *) xmalloc (sizeof *nunit); in debug_set_filename()
739 f = (struct debug_file *) xmalloc (sizeof *f); in debug_start_source()
784 f = (struct debug_function *) xmalloc (sizeof *f); in debug_record_function()
789 b = (struct debug_block *) xmalloc (sizeof *b); in debug_record_function()
836 p = (struct debug_parameter *) xmalloc (sizeof *p); in debug_record_parameter()
902 b = (struct debug_block *) xmalloc (sizeof *b); in debug_start_block()
[all …]
/dflybsd-src/contrib/binutils-2.34/binutils/
H A Dwrstabs.c401 s = (struct stab_type_stack *) xmalloc (sizeof *s); in stab_push_string()
475 info.symbols = (bfd_byte *) xmalloc (info.symbols_alloc); in write_stabs_in_sections_debugging_info()
528 *pstrings = (bfd_byte *) xmalloc (info.strings_size); in write_stabs_in_sections_debugging_info()
793 buf = (char *) xmalloc (10 + strlen (tag)); in stab_enum_type()
808 buf = (char *) xmalloc (len); in stab_enum_type()
866 buf = (char *) xmalloc (strlen (s) + 2); in stab_modify_type()
909 buf = (char *) xmalloc (strlen (s) + 20); in stab_modify_type()
959 buf = (char *) xmalloc (strlen (s) + 3); in stab_function_type()
1000 buf = (char *) xmalloc (strlen (s) + 100); in stab_range_type()
1032 buf = (char *) xmalloc (strlen (range) + strlen (element) + 100); in stab_array_type()
[all …]
H A Ddebug.c611 n = (struct debug_name *) xmalloc (sizeof *n); in debug_add_to_namespace()
621 ns = (struct debug_namespace *) xmalloc (sizeof *ns); in debug_add_to_namespace()
666 ret = (struct debug_handle *) xmalloc (sizeof *ret); in debug_init()
684 nfile = (struct debug_file *) xmalloc (sizeof *nfile); in debug_set_filename()
689 nunit = (struct debug_unit *) xmalloc (sizeof *nunit); in debug_set_filename()
739 f = (struct debug_file *) xmalloc (sizeof *f); in debug_start_source()
784 f = (struct debug_function *) xmalloc (sizeof *f); in debug_record_function()
789 b = (struct debug_block *) xmalloc (sizeof *b); in debug_record_function()
836 p = (struct debug_parameter *) xmalloc (sizeof *p); in debug_record_parameter()
902 b = (struct debug_block *) xmalloc (sizeof *b); in debug_start_block()
[all …]
/dflybsd-src/contrib/gdb-7/libiberty/
H A Dargv.c75 copy = (char **) xmalloc ((argc + 1) * sizeof (char *)); in dupargv()
81 copy[argc] = (char *) xmalloc (len + 1); in dupargv()
187 copybuf = (char *) xmalloc (strlen (input) + 1); in buildargv()
201 nargv = (char **) xmalloc (maxargc * sizeof (char *)); in buildargv()
415 buffer = (char *) xmalloc (pos * sizeof (char) + 1); in expandargv()
430 file_argv = (char **) xmalloc (sizeof (char *)); in expandargv()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dggc-none.c39 return xmalloc (size); in ggc_alloc_typed_stat()
54 return xmalloc (size); in ggc_internal_alloc_stat()
90 return xmalloc (size); in ggc_internal_alloc_zone_stat()
/dflybsd-src/contrib/binutils-2.27/libiberty/
H A Dargv.c75 copy = (char **) xmalloc ((argc + 1) * sizeof (char *)); in dupargv()
183 copybuf = (char *) xmalloc (strlen (input) + 1); in buildargv()
197 nargv = (char **) xmalloc (maxargc * sizeof (char *)); in buildargv()
411 buffer = (char *) xmalloc (pos * sizeof (char) + 1); in expandargv()
426 file_argv = (char **) xmalloc (sizeof (char *)); in expandargv()
/dflybsd-src/contrib/binutils-2.34/gprof/
H A Dcorefile.c122 xmalloc (count * sizeof (struct function_map))); in read_function_mappings()
148 symbol_map[count].file_name = (char *) xmalloc (strlen (dummy) + 1); in read_function_mappings()
156 symbol_map[count].function_name = (char *) xmalloc (strlen (tmp) + 1); in read_function_mappings()
221 core_syms = (asymbol **) xmalloc (core_sym_bytes); in core_init()
542 symtab.base = (Sym *) xmalloc (symtab.len * sizeof (Sym)); in core_create_syms_from()
564 symtab.limit->name = (char *) xmalloc (strlen (name) + 1); in core_create_syms_from()
641 symtab.base = (Sym *) xmalloc (symtab.len * sizeof (Sym)); in core_create_function_syms()
785 prev_name = (char *) xmalloc (prev_name_len); in core_create_line_syms()
786 prev_filename = (char *) xmalloc (prev_filename_len); in core_create_line_syms()
810 prev_name = (char *) xmalloc (prev_name_len); in core_create_line_syms()
[all …]
H A Dcg_print.c576 name_sorted_syms = (Sym **) xmalloc ((symtab.len + num_cycles) * sizeof (Sym *)); in cg_print_index()
800 unused_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
801 used_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
802 scratch_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
803 high_arcs = (Arc **) xmalloc (numarcs * sizeof (Arc *)); in cg_print_function_ordering()
804 scratch_arcs = (Arc **) xmalloc (numarcs * sizeof (Arc *)); in cg_print_function_ordering()
805 unplaced_arcs = (Arc **) xmalloc (numarcs * sizeof (Arc *)); in cg_print_function_ordering()
964 unused_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
965 used_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
966 scratch_syms = (Sym **) xmalloc (symtab.len * sizeof (Sym *)); in cg_print_function_ordering()
[all …]
/dflybsd-src/contrib/gdb-7/gdb/
H A Denviron.c33 e = (struct gdb_environ *) xmalloc (sizeof (struct gdb_environ)); in make_environ()
36 e->vector = (char **) xmalloc ((e->allocated + 1) * sizeof (char *)); in make_environ()
82 char *new = (char *) xmalloc (len + 1); in init_environ()
142 s = (char *) xmalloc (len + strlen (value) + 2); in set_in_environ()
/dflybsd-src/contrib/gcc-8.0/libiberty/
H A Dargv.c82 copy = (char **) xmalloc ((argc + 1) * sizeof (char *)); in dupargv()
190 copybuf = (char *) xmalloc (strlen (input) + 1); in buildargv()
204 nargv = (char **) xmalloc (maxargc * sizeof (char *)); in buildargv()
430 buffer = (char *) xmalloc (pos * sizeof (char) + 1); in expandargv()
445 file_argv = (char **) xmalloc (sizeof (char *)); in expandargv()
/dflybsd-src/contrib/binutils-2.34/libiberty/
H A Dargv.c82 copy = (char **) xmalloc ((argc + 1) * sizeof (char *)); in dupargv()
190 copybuf = (char *) xmalloc (strlen (input) + 1); in buildargv()
204 nargv = (char **) xmalloc (maxargc * sizeof (char *)); in buildargv()
430 buffer = (char *) xmalloc (pos * sizeof (char) + 1); in expandargv()
445 file_argv = (char **) xmalloc (sizeof (char *)); in expandargv()
/dflybsd-src/contrib/gdb-7/gdb/mi/
H A Dmi-parse.c110 char **argv = xmalloc ((argc + 1) * sizeof (char *)); in mi_parse_argv()
164 arg = xmalloc ((len + 1) * sizeof (char)); in mi_parse_argv()
194 arg = xmalloc ((len + 1) * sizeof (char)); in mi_parse_argv()
252 *token = xmalloc (chp - cmd + 1); in mi_parse()
274 parse->command = xmalloc (chp - tmp + 1); in mi_parse()
/dflybsd-src/contrib/grep/lib/
H A Dxalloc.h53 void *xmalloc (size_t s)
74 #define XMALLOC(t) ((t *) xmalloc (sizeof (t)))
79 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t))))
103 return xmalloc (n * s); in xnmalloc()
/dflybsd-src/contrib/cvs-1.12/src/
H A Dmyndbm.c48 db = xmalloc (sizeof (*db)); in mydbm_open()
106 s = xmalloc (key.dsize + 1); in mydbm_fetch()
187 node->key = xmalloc (key.dsize + 1); in mydbm_store()
191 node->data = xmalloc (value.dsize + 1); in mydbm_store()
225 value = xmalloc (value_allocated); in mydbm_load_file()
H A Dmodules.c186 value = xmalloc (val.dsize + 1); in my_module()
211 file = xmalloc (strlen (current_parsed_root->directory) in my_module()
214 attic_file = xmalloc (strlen (current_parsed_root->directory) in my_module()
231 modargv = xmalloc (sizeof (*modargv)); in my_module()
245 modargv[0] = xmalloc (strlen (mname) + 2); in my_module()
332 value = xmalloc (val.dsize + 1); in my_module()
825 s_rec->modname = cp = xmalloc (ks + 1); in save_d()
829 s_rec->rest = cp2 = xmalloc (ds + 1); in save_d()
864 s_rec->status = xmalloc (cp2 - status_start + 1); in save_d()
/dflybsd-src/contrib/tre/lib/
H A Dtre-mem.c79 ptr = xmalloc(1); in tre_mem_alloc_impl()
116 l = xmalloc(sizeof(*l)); in tre_mem_alloc_impl()
122 l->data = xmalloc(block_size); in tre_mem_alloc_impl()
/dflybsd-src/contrib/cvs-1.12/lib/
H A Dxmalloc.c63 xmalloc (size_t n) in xmalloc() function
205 return memset (xmalloc (s), 0, s); in xzalloc()
232 return memcpy (xmalloc (s), p, s); in xmemdup()
/dflybsd-src/usr.bin/gencat/
H A Dgencat.c112 static void *xmalloc(size_t);
204 xmalloc(size_t len) function
240 curline = xmalloc(curlen);
315 msg = xmalloc(clen);
519 msgcat = xmalloc(msgcat_size);
598 p = xmalloc(sizeof(struct _setT));
638 p = xmalloc(sizeof(struct _msgT));
/dflybsd-src/usr.bin/rpcgen/
H A Drpc_scan.c324 tmp = xmalloc(size + 1); in findstrconst()
348 tmp = xmalloc(size + 1); in findchrconst()
374 tmp = xmalloc(size + 1); in findconst()
429 tmp = xmalloc(len + 1); in findkind()
472 p = file = xmalloc(strlen(line) + 1); in docppline()

12345678910>>...23