Searched refs:xmalloc (Results 51 - 75 of 678) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/texinfo/info/
H A Dtilde.c28 static void *xmalloc (), *xrealloc ();
154 tilde_word = (char *)xmalloc (1 + end);
202 temp_name = xmalloc (1 + strlen (&dirname[1])
216 char *username = xmalloc (257);
239 temp_name = xmalloc (1 + strlen (expansion)
251 temp_name = xmalloc (1 + strlen (user_entry->pw_dir)
308 xmalloc (bytes)
307 xmalloc (bytes) function
H A Dfootnotes.c80 refname = (char *)xmalloc (reflen + 1);
118 result = (NODE *)xmalloc (sizeof (NODE));
127 header = (char *)xmalloc
140 result->contents = (char *)xmalloc (1 + result->nodelen);
H A Dfilesys.c190 temp = (char *)xmalloc (30 + strlen (temp_dirname) + strlen (filename));
292 char *value = xmalloc ((i - start) + 1);
348 new = (FILENAME_LIST *)xmalloc (sizeof (FILENAME_LIST));
362 xmalloc (infopath_size = (1 + strlen (DEFAULT_INFOPATH)));
377 infopath = (char *)xmalloc (infopath_size = 200 + strlen (path));
483 contents = (char *)xmalloc (1 + st_size);
529 command = (char *)xmalloc (15 + strlen (pathname) + strlen (decompressor));
540 temp = (char *)xmalloc (5 + strlen (command));
557 chunk = (char *)xmalloc (FILESYS_PIPE_BUFFER_SIZE);
/freebsd-9.3-release/contrib/texinfo/makeinfo/
H A Dfloat.c37 FLOAT_ELT *new = xmalloc (sizeof (FLOAT_ELT));
60 char *s = xmalloc (len + 1);
146 char *s = xmalloc (strlen (temp->type) + strlen (temp->number) + 2);
193 char *list_command = xmalloc (command_len + 1);
287 raw_entry = (char *) xmalloc (strlen (float_type)
333 entry = xmalloc (len + aux_chars_len);
348 entry = xmalloc (len + aux_chars_len);
H A Dindex.c91 user_command_array = xmalloc (1 * sizeof (COMMAND *));
96 user_command_array[slot] = xmalloc (sizeof (COMMAND));
165 char *index_line = xmalloc (strlen (index_entry) + 2);
178 INDEX_ELT *new = xmalloc (sizeof (INDEX_ELT));
312 name_index_alist[slot] = xmalloc (sizeof (INDEX_ALIST));
327 temp = xmalloc (1 + strlen (name) + strlen ("index"));
346 the_indices = xmalloc ((1 + defined_indices) * sizeof (INDEX_ELT *));
349 name_index_alist = xmalloc ((1 + defined_indices)
422 char *temp = xmalloc (strlen (name) + sizeof ("index"));
530 copy = xmalloc ((
[all...]
H A Dmacro.c118 macro_list[macro_list_len] = xmalloc (sizeof (MACRO_DEF));
199 word = xmalloc (1 + len);
275 arglist = xmalloc (2 * sizeof (char *));
305 new_body = xmalloc (1 + new_body_size);
325 param = xmalloc (1 + len);
335 text = xmalloc (1 + len);
360 text = xmalloc (1 + len);
486 name = xmalloc (1 + len);
528 word = xmalloc (1 + len);
754 name = xmalloc (
[all...]
H A Dfiles.c75 value = xmalloc (1 + (i - start));
118 fullpath = xmalloc (2 + strlen (dir) + strlen (filename));
179 tmp = (char *) xmalloc (strlen (include_files_path) - i);
218 result = xmalloc (file_size + 2);
288 FSTACK *newstack = xmalloc (sizeof (FSTACK));
402 result = xmalloc (1 + i);
431 char *localdir = xmalloc (1025);
460 result = xmalloc (strlen (&filename[1])
475 char *username = xmalloc (257);
492 result = xmalloc (
[all...]
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dpartition.c48 xmalloc (sizeof (struct partition_def) +
149 done = (char *) xmalloc (num_elements);
153 class_elements = (int *) xmalloc (num_elements * sizeof (int));
/freebsd-9.3-release/contrib/cvs/src/
H A Drepos.c46 tmp = xmalloc (strlen (dir) + sizeof (CVSADM_REP) + 10);
65 cvsadm = xmalloc (strlen (dir) + sizeof (CVSADM) + 10);
131 newrepos = xmalloc (strlen (current_parsed_root->directory)
H A Dmyndbm.c50 db = (DBM *) xmalloc (sizeof (*db));
108 s = xmalloc (key.dsize + 1);
189 node->key = xmalloc (key.dsize + 1);
193 node->data = xmalloc (value.dsize + 1);
223 value = xmalloc (value_allocated);
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dpartition.c48 xmalloc (sizeof (struct partition_def) +
149 done = (char *) xmalloc (num_elements);
153 class_elements = (int *) xmalloc (num_elements * sizeof (int));
/freebsd-9.3-release/contrib/groff/src/libs/libxutil/
H A DDviChar.c12 extern char *xmalloc(int);
14 #define allocHash() ((DviCharNameHash *) xmalloc (sizeof (DviCharNameHash)))
53 m = (struct map_list *) xmalloc (sizeof *m);
/freebsd-9.3-release/contrib/dtc/
H A Dsrcpos.c58 fullname = xmalloc(strlen(search) + strlen(fname) + 2);
86 file = xmalloc(sizeof(struct dtc_file));
90 char *dir = xmalloc(slash - fname + 1);
145 pos_new = xmalloc(sizeof(srcpos));
/freebsd-9.3-release/contrib/libreadline/
H A Dhistlib.h38 #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
H A Dshell.c63 #include "xmalloc.h"
100 result = (char *)xmalloc (3 + (4 * strlen (string)));
131 b = (char *)xmalloc (INT_STRLEN_BOUND (int) + 1);
136 b = (char *)xmalloc (INT_STRLEN_BOUND (int) + 1);
142 b = (char *)xmalloc (INT_STRLEN_BOUND (int) + sizeof ("LINES=") + 1);
146 b = (char *)xmalloc (INT_STRLEN_BOUND (int) + sizeof ("COLUMNS=") + 1);
/freebsd-9.3-release/contrib/xz/src/xz/
H A Dutil.h15 /// \note xmalloc(), xrealloc(), and xstrdup() must not be used when
18 #define xmalloc(size) xrealloc(NULL, size) macro
/freebsd-9.3-release/crypto/openssh/
H A Dssh-ed25519.c28 #include "xmalloc.h"
55 sig = xmalloc(slen);
71 *sigp = xmalloc(len);
122 sm = xmalloc(smlen);
126 m = xmalloc(mlen);
H A Dssh-dss.c36 #include "xmalloc.h"
91 *sigp = xmalloc(SIGBLOB_LEN);
103 *sigp = xmalloc(len);
128 sigblob = xmalloc(signaturelen);
/freebsd-9.3-release/gnu/usr.bin/diff3/
H A DMakefile10 xmalloc.c error.c c-stack.c exitfail.c cmpbuf.c
/freebsd-9.3-release/gnu/usr.bin/grep/
H A Dxmalloc.c0 /* xmalloc.c -- malloc with out of memory checking
83 xmalloc (size_t n) function
/freebsd-9.3-release/gnu/usr.bin/sdiff/
H A DMakefile10 error.c xmalloc.c c-stack.c basename.c strtoumax.c \
/freebsd-9.3-release/gnu/usr.bin/sort/
H A DMakefile27 xmalloc.c \
/freebsd-9.3-release/usr.bin/xlint/xlint/
H A Dxlint.c210 s = xmalloc(strlen(s1) + strlen(s2) + 1);
222 s = xmalloc(strlen(s1) + strlen(s2) + strlen(s3) + 1);
314 s = xmalloc(len + 2);
319 cppout = xmalloc(strlen(tmpdir) + sizeof ("lint0.XXXXXX"));
452 p2out = xmalloc(sizeof ("llib-l.ln") + strlen(optarg));
623 ofn = xmalloc(strlen(bn) + (bn == suff ? 4 : 2));
628 ofn = xmalloc(strlen(tmpdir) + sizeof ("lint1.XXXXXX"));
645 pathname = xmalloc(strlen(PATH_USRBIN) + sizeof ("/cc"));
675 pathname = xmalloc(strlen(PATH_LIBEXEC) + sizeof ("/lint1") +
684 pathname = xmalloc(strle
[all...]
/freebsd-9.3-release/contrib/binutils/binutils/
H A Dwrstabs.c402 s = (struct stab_type_stack *) xmalloc (sizeof *s);
477 info.symbols = (bfd_byte *) xmalloc (info.symbols_alloc);
530 *pstrings = (bfd_byte *) xmalloc (info.strings_size);
795 buf = (char *) xmalloc (10 + strlen (tag));
810 buf = (char *) xmalloc (len);
868 buf = (char *) xmalloc (strlen (s) + 2);
911 buf = (char *) xmalloc (strlen (s) + 20);
961 buf = (char *) xmalloc (strlen (s) + 3);
1002 buf = (char *) xmalloc (strlen (s) + 100);
1034 buf = (char *) xmalloc (strle
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/tui/
H A Dtui-file.c62 struct tui_stream *tui = xmalloc (sizeof (struct tui_stream));
110 tmpstream->ts_strbuf = xmalloc ((n + 1) * sizeof (char));
219 stream->ts_strbuf = xmalloc ((n + 1) * sizeof (char));

Completed in 280 milliseconds

1234567891011>>