xmalloc 48 lib/basename.c char *p = xmalloc (length + 3); xmalloc 445 lib/exclude.c filename = xmalloc (strlen (f) + 1); xmalloc 78 lib/prepargs.c char *buf = xmalloc (strlen (options) + 1); xmalloc 82 lib/prepargs.c char **pp = xmalloc ((prepended + argc + 1) * sizeof *pp); xmalloc 49 lib/xalloc.h void *xmalloc (size_t s) xmalloc 70 lib/xalloc.h # define XMALLOC(t) ((t *) xmalloc (sizeof (t))) xmalloc 75 lib/xalloc.h ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) xmalloc 113 lib/xalloc.h return xmalloc (n * s); xmalloc 88 lib/xmalloc.c return memset (xmalloc (s), 0, s); xmalloc 115 lib/xmalloc.c return memcpy (xmalloc (s), p, s); xmalloc 59 src/analyze.c p = xmalloc ((filevec[0].buffered_lines + filevec[1].buffered_lines) xmalloc 367 src/analyze.c struct change *new = xmalloc (sizeof *new); xmalloc 570 src/analyze.c ctxt.fdiag = xmalloc (diags * (2 * sizeof *ctxt.fdiag)); xmalloc 359 src/cmp.c buffer[0] = xmalloc (2 * sizeof (word) * words_per_buffer); xmalloc 239 src/diff.c p = result = xmalloc (size); xmalloc 369 src/diff.c char *b = xmalloc (sizeof C_ifdef_group_formats xmalloc 818 src/diff.c reglist->buf->fastmap = xmalloc (1 << CHAR_BIT); xmalloc 862 src/diff3.c struct diff3_block *result = xmalloc (sizeof *result); xmalloc 961 src/diff3.c bptr = xmalloc (sizeof *bptr); xmalloc 1001 src/diff3.c bptr->lines[0] = xmalloc (numlines * sizeof *bptr->lines[0]); xmalloc 1002 src/diff3.c bptr->lengths[0] = xmalloc (numlines * sizeof *bptr->lengths[0]); xmalloc 1026 src/diff3.c bptr->lines[1] = xmalloc (numlines * sizeof *bptr->lines[1]); xmalloc 1027 src/diff3.c bptr->lengths[1] = xmalloc (numlines * sizeof *bptr->lengths[1]); xmalloc 1215 src/diff3.c char *command = xmalloc (shell_quote_length (diff_program) xmalloc 1251 src/diff3.c diff_result = xmalloc (current_chunk_size); xmalloc 85 src/dir.c dirdata->data = data = xmalloc (data_alloc); xmalloc 132 src/dir.c dirdata->names = names = xmalloc ((nnames + 1) * sizeof *names); xmalloc 367 src/ifdef.c char *format = xmalloc (spec_prefix_len + 3); xmalloc 101 src/io.c current->buffer = xmalloc (current->bufsize); xmalloc 108 src/io.c current->buffer = xmalloc (current->bufsize); xmalloc 210 src/io.c lin *cureqs = xmalloc (alloc_lines * sizeof *cureqs); xmalloc 667 src/io.c linbuf0 = xmalloc (alloc_lines0 * sizeof *linbuf0); xmalloc 701 src/io.c linbuf1 = xmalloc (alloc_lines1 * sizeof *linbuf1); xmalloc 773 src/io.c equivs = xmalloc (equivs_alloc * sizeof *equivs); xmalloc 335 src/sdiff.c char *r = xmalloc (namelen + insert_slash + baselen + 1); xmalloc 355 src/sdiff.c lf->bufpos = lf->buffer = lf->buflim = xmalloc (SDIFF_BUFSIZE + 1); xmalloc 616 src/sdiff.c command = p = xmalloc (cmdsize); xmalloc 1029 src/sdiff.c xmalloc (shell_quote_length (editor_program) xmalloc 1179 src/sdiff.c char *buf = xmalloc (strlen (dir) + 1 + 5 + 6 + 1); xmalloc 107 src/util.c new = xmalloc (total_size); xmalloc 178 src/util.c name = xmalloc (strlen (current_name0) + strlen (current_name1) xmalloc 226 src/util.c char *command = xmalloc (sizeof pr_program - 1 + 7 xmalloc 785 src/util.c char *new = xmalloc (strlen (s1) + strlen (s2) + strlen (s3) + 1); xmalloc 795 src/util.c void *p = xmalloc (size);