Searched refs:xmalloc (Results 1 - 25 of 524) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/gdb/gdb/
H A Dgdb_obstack.h27 /* Unless explicitly specified, GDB obstacks always use xmalloc() and
36 #define obstack_chunk_alloc xmalloc
H A Denviron.c37 e = (struct environ *) xmalloc (sizeof (struct environ));
40 e->vector = (char **) xmalloc ((e->allocated + 1) * sizeof (char *));
85 char *new = (char *) xmalloc (len + 1);
145 s = (char *) xmalloc (len + strlen (value) + 2);
/freebsd-11.0-release/libexec/rtld-aout/
H A Dsupport.h33 void *xmalloc __P((size_t));
H A Dsupport.c51 s = xmalloc(len);
63 xmalloc(size_t n) function
/freebsd-11.0-release/contrib/groff/src/libs/libxutil/
H A Dxmalloc.c4 char *xmalloc(int n) function
H A DMakefile.sub6 xmalloc.$(OBJEXT)
10 $(srcdir)/xmalloc.c
/freebsd-11.0-release/crypto/openssh/
H A Dxmalloc.h1 /* $OpenBSD: xmalloc.h,v 1.16 2016/02/15 09:47:49 dtucker Exp $ */
20 void *xmalloc(size_t);
/freebsd-11.0-release/contrib/libreadline/
H A Dxmalloc.h0 /* xmalloc.h -- memory allocation that aborts on errors. */
42 extern PTR_T xmalloc PARAMS((size_t));
H A Dtilde.c53 static void *xmalloc (), *xrealloc ();
55 # include "xmalloc.h"
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);
463 xmalloc (byte
462 xmalloc (bytes) function
[all...]
H A Dxmalloc.c0 /* xmalloc.c -- safe versions of malloc and realloc */
35 #include "xmalloc.h"
55 xmalloc (bytes) function
62 memory_error_and_abort ("xmalloc");
/freebsd-11.0-release/cddl/contrib/opensolaris/tools/ctf/common/
H A Dmemory.h42 void *xmalloc(size_t);
H A Dmemory.c48 xmalloc(size_t size) function
63 mem = xmalloc(size);
/freebsd-11.0-release/contrib/gcc/
H A Dggc-none.c40 return xmalloc (size);
46 return xmalloc (size);
/freebsd-11.0-release/contrib/mdocml/
H A Dtest-ohash.c6 void *xmalloc(size_t sz, void *arg) { return calloc(1,sz); } function
15 i.alloc = xmalloc;
/freebsd-11.0-release/usr.bin/xlint/common/
H A Dexterns.h47 extern void *xmalloc(size_t);
/freebsd-11.0-release/contrib/binutils/ld/
H A Dldmisc.h31 extern void *xmalloc (size_t);
/freebsd-11.0-release/gnu/usr.bin/grep/
H A Dexclude.c34 void *xmalloc PARAMS ((size_t));
49 struct exclude *ex = (struct exclude *) xmalloc (sizeof (struct exclude));
52 ex->exclude = (char const **) xmalloc (ex->exclude_alloc * sizeof (char *));
101 buf = xmalloc (buf_alloc);
H A Dxalloc.h59 void *xmalloc PARAMS ((size_t n));
64 # define XMALLOC(Type, N_items) ((Type *) xmalloc (sizeof (Type) * (N_items)))
81 (memcpy (xmalloc (sizeof (*Src) * (Num)), (Src), sizeof (*Src) * (Num)))
/freebsd-11.0-release/usr.sbin/nandtool/
H A Dnandtool.h47 void *xmalloc(size_t);
/freebsd-11.0-release/libexec/rtld-elf/
H A Dxmalloc.c25 * $FreeBSD: releng/11.0/libexec/rtld-elf/xmalloc.c 262334 2014-02-22 11:06:48Z davidxu $
49 xmalloc(size_t size) function
66 copy = xmalloc(len);
79 mem = xmalloc(size + sizeof(void *) + align - 1);
/freebsd-11.0-release/contrib/binutils/opcodes/
H A Darc-ext.c182 char * insn_name = (char *) xmalloc(( (int)*p-5) * sizeof(char));
184 (struct ExtInstruction *) xmalloc(sizeof(struct ExtInstruction));
199 char * core_name = (char *) xmalloc(((int)*p-3) * sizeof(char));
208 char * cc_name = (char *) xmalloc( ((int)*p-3) * sizeof(char));
219 char * aux_name = (char *) xmalloc ( ((int)*p-6) * sizeof(char));
253 arcExtMap = (char *) xmalloc (count);
/freebsd-11.0-release/contrib/amd/amd/
H A Dinfo_union.c87 *pval = xmalloc(l);
127 val = xmalloc(l);
139 char *val = xmalloc(l);
/freebsd-11.0-release/contrib/diff/lib/
H A Dxmalloc.c0 /* xmalloc.c -- malloc with out of memory checking
88 xmalloc (size_t n) function
230 return memset (xmalloc (s), 0, s);
254 return memcpy (xmalloc (s), p, s);
/freebsd-11.0-release/contrib/gcc/config/i386/
H A Dcygwin1.c46 char *s = xmalloc (strlen (*spec_machine) + 3);
/freebsd-11.0-release/contrib/ldns/drill/
H A Ddrill_util.h54 void *xmalloc(size_t s);

Completed in 352 milliseconds

1234567891011>>