Searched refs:xmalloc (Results 176 - 200 of 678) sorted by relevance

1234567891011>>

/freebsd-9.3-release/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-9.3-release/usr.sbin/mount_portalfs/
H A Dconf.c52 #define ALLOC(ty) (xmalloc(sizeof(ty)))
96 static void *xmalloc(unsigned siz) function
168 p->p_argv = xmalloc(c * sizeof(char *));
/freebsd-9.3-release/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);
/freebsd-9.3-release/contrib/gdb/gdb/
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-9.3-release/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-9.3-release/contrib/texinfo/info/
H A Dinfo-utils.c287 entry = (REFERENCE *)xmalloc (sizeof (REFERENCE));
290 entry->label = (char *)xmalloc (offset);
370 result = (REFERENCE **)xmalloc ((1 + size) * sizeof (REFERENCE *));
395 REFERENCE *dest = xmalloc (sizeof (REFERENCE));
444 temp = (char *)xmalloc (1 + len);
547 /* Amount of space allocated to INFO_PARSED_FILENAME via xmalloc (). */
550 /* Amount of space allocated to INFO_PARSED_NODENAME via xmalloc (). */
H A Dnodes.c161 node = (NODE *)xmalloc (sizeof (NODE));
548 entry = xmalloc (sizeof (TAG));
549 entry->nodename = xmalloc (1 + (end - start));
652 entry = xmalloc (sizeof (TAG));
665 entry->nodename = xmalloc (p + 1);
729 subfile = (SUBFILE *)xmalloc (sizeof (SUBFILE));
730 subfile->filename = (char *)xmalloc (colon);
791 file_buffer->subfiles = (char **) xmalloc ((1 + i) * sizeof (char *));
797 fullpath = (char *) xmalloc
961 NODE *node = xmalloc (sizeo
[all...]
H A Dwindow.c56 the_screen = xmalloc (sizeof (WINDOW));
57 the_echo_area = xmalloc (sizeof (WINDOW));
58 windows = xmalloc (sizeof (WINDOW));
186 win->modeline = xmalloc (1 + width);
279 window = xmalloc (sizeof (WINDOW));
290 window->modeline = xmalloc (1 + window->width);
1153 modeline = xmalloc (1 + modeline_len);
1316 message_buffer = xmalloc (message_buffer_size);
1380 fmt = (char *) xmalloc (fmt_len + 1);
1493 node = xmalloc (sizeo
[all...]
/freebsd-9.3-release/libexec/rtld-elf/
H A Dlibmap.c147 p = xmalloc(sizeof(struct lmc));
180 p = xmalloc(sizeof(struct lmc));
364 lm = xmalloc(sizeof(struct lm));
407 s = xmalloc(n + 1);
453 lmp = xmalloc(sizeof(struct lmp));
/freebsd-9.3-release/usr.bin/csup/
H A Dkeyword.c112 new = xmalloc(sizeof(struct keyword));
346 newline = xmalloc(newsize);
366 newline = xmalloc(newsize);
390 newline = xmalloc(newsize);
433 new = xmalloc(sizeof(struct tag));
/freebsd-9.3-release/contrib/cvs/src/
H A Dhistory.c519 char *buf = xmalloc (sizeof (f) - 2 + strlen (optarg));
689 fname = xmalloc (strlen (current_parsed_root->directory) + sizeof (CVSROOTADM)
738 fname = xmalloc (strlen (current_parsed_root->directory)
837 workdir = xmalloc (strlen (tilde) + strlen (PrCurDir) + strlen (slash)
897 line = xmalloc (strlen (username) + strlen (workdir) + strlen (repos)
973 fl->l_file = cp = xmalloc (dir ? strlen (dir) : 0
1124 cpstart = xmalloc (2 * STAT_BLOCKSIZE(st_buf));
1129 hrec_head = xmalloc (hrec_max * sizeof (struct hrec));
1405 cmpfile = xmalloc (strlen (hr->repos)
1546 workdir = xmalloc (strle
[all...]
H A Dadmin.c125 char *newelt = xmalloc ((arg == NULL ? 0 : strlen (arg)) + 3);
136 dat->av = (char **) xmalloc (dat->av_alloc * sizeof (*dat->av));
200 admin_data.branch = xmalloc (strlen (optarg) + 5);
212 admin_data.comment = xmalloc (strlen (optarg) + 5);
306 admin_data.delete_revs = xmalloc (strlen (optarg) + 5);
403 grps = (gid_t *) xmalloc((n + 1) * sizeof *grps);
896 delta->text = (Deltatext *) xmalloc (sizeof (Deltatext));
H A Dfilesubr.c504 buf = xmalloc (strlen (path) + strlen (dp->d_name) + 5);
660 buf1 = xmalloc (buf_size);
661 buf2 = xmalloc (buf_size);
763 fn = xmalloc (strlen (Tmpdir) + 11);
824 ifn = xmalloc (strlen (Tmpdir) + 11);
1045 char *path = xmalloc (strlen (dir) + 1 + strlen(file) + 1);
1068 *pargv = xmalloc (xtimes (argc, sizeof (char *)));
H A Dserver.c187 n = (struct fd_buffer *) xmalloc (sizeof *n);
360 p = xmalloc (strlen (dir) + 1);
364 dir_where_cvsadm_lives = xmalloc (strlen (base_dir) + strlen (dir) + 100);
373 tmp = xmalloc (strlen (base_dir) + strlen (dir) + 100);
417 empty = xmalloc (strlen (current_parsed_root->directory)
535 char *q = xmalloc (strlen (dir) + 1);
663 pending_error_text = xmalloc (size);
808 path = xmalloc (strlen (current_parsed_root->directory)
827 env = xmalloc (strlen (CVSROOT_ENV) + strlen (current_parsed_root->directory) + 2);
955 p = xmalloc (strle
[all...]
H A Dcommit.c195 p = (struct question *) xmalloc (sizeof (struct question));
336 data = (struct logfile_info *) xmalloc (sizeof (struct logfile_info));
534 find_args.argv = xmalloc (xtimes (find_args.argc, sizeof (char **)));
1013 xmalloc (sizeof (struct master_lists));
1027 xmalloc (sizeof (struct logfile_info)));
1039 ci = (struct commit_info *) xmalloc (sizeof (struct commit_info));
1064 fullpath = xmalloc (strlen(working_dir) +
1081 xmalloc (sizeof (struct hardlink_info));
1362 xrev = xmalloc (20);
1797 char *tmp = xmalloc (strle
[all...]
H A Dmain.c306 synonyms = (char **) xmalloc(numcmds * sizeof(char *));
313 *line = xmalloc (strlen (c->fullname)
775 env = xmalloc (strlen (TMPDIR_ENV) + strlen (Tmpdir) + 1 + 1);
782 env = xmalloc (sizeof "CVS_PID=" + 32); /* XXX pid < 10^32 */
939 path = xmalloc (strlen (current_parsed_root->directory)
961 env = xmalloc (strlen (CVSROOT_ENV)
/freebsd-9.3-release/contrib/cvs/diff/
H A Dio.c93 current->buffer = xmalloc (current->bufsize);
98 current->buffer = xmalloc (current->bufsize);
205 int *cureqs = (int *) xmalloc (alloc_lines * sizeof (int));
573 linbuf0 = (char const **) xmalloc (alloc_lines0 * sizeof (*linbuf0));
602 linbuf1 = (char const **) xmalloc (alloc_lines1 * sizeof (*linbuf1));
695 equivs = (struct equivclass *) xmalloc (equivs_alloc * sizeof (struct equivclass));
705 buckets = (int *) xmalloc ((nbuckets + 1) * sizeof (*buckets));
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.str.c164 sdst = dst = xmalloc((n + 1) * sizeof(Char *));
183 sdst = dst = xmalloc((n + 1) * sizeof(char *));
222 sdst = xmalloc((dstsize + MALLOC_SURPLUS) * sizeof(char));
432 n = xmalloc((len + 1) * sizeof (*n));
447 n = xmalloc(size);
466 res = xmalloc(((p - cp) + (q - dp) - 1) * sizeof(Char));
532 sdst = xmalloc((dstsize + MALLOC_SURPLUS) * sizeof(char));
/freebsd-9.3-release/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);
/freebsd-9.3-release/contrib/texinfo/makeinfo/
H A Dmakeinfo.c628 COMMAND_LINE_DEFINE *new = xmalloc (sizeof (COMMAND_LINE_DEFINE));
903 result = xmalloc (i + 1);
950 char *temp = xmalloc (strlen (string) + 1);
998 char *end_block = xmalloc (8);
1036 *string = xmalloc (len + 1);
1071 str = xmalloc (raw_len + 1);
1236 temp = xmalloc (2 + match_len);
1354 char *filename = xmalloc (strlen (name) + 50);
1462 output_filename = xmalloc (strlen (dir) + 1
1579 html_name = xmalloc (strle
[all...]

Completed in 361 milliseconds

1234567891011>>