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

1234567891011>>

/freebsd-11-stable/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-stable/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-stable/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-stable/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-stable/contrib/mdocml/
H A Dtest-ohash.c6 static void *xmalloc(size_t, void *);
12 xmalloc(size_t sz, void *arg) { function
33 i.alloc = xmalloc;
/freebsd-11-stable/contrib/libreadline/
H A Dxmalloc.h0 /* xmalloc.h -- memory allocation that aborts on errors. */
42 extern PTR_T xmalloc PARAMS((size_t));
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-stable/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-stable/usr.bin/diff/
H A Dxmalloc.h1 /* $OpenBSD: xmalloc.h,v 1.4 2015/11/12 16:30:30 mmcc Exp $ */
18 * $FreeBSD: stable/11/usr.bin/diff/xmalloc.h 315051 2017-03-11 05:01:29Z bapt $
24 void *xmalloc(size_t);
H A DMakefile6 SRCS= diff.c diffdir.c diffreg.c xmalloc.c
/freebsd-11-stable/contrib/gcc/
H A Dggc-none.c40 return xmalloc (size);
46 return xmalloc (size);
/freebsd-11-stable/usr.bin/xlint/common/
H A Dexterns.h47 extern void *xmalloc(size_t);
/freebsd-11-stable/contrib/binutils/ld/
H A Dldmisc.h31 extern void *xmalloc (size_t);
/freebsd-11-stable/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-stable/usr.sbin/nandtool/
H A Dnandtool.h49 void *xmalloc(size_t);
/freebsd-11-stable/libexec/rtld-elf/
H A Dxmalloc.c49 xmalloc(size_t size) function
66 copy = xmalloc(len);
79 mem = xmalloc(size + sizeof(void *) + align - 1);
/freebsd-11-stable/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-stable/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-stable/contrib/binutils/binutils/
H A Dbucomm.h71 void *xmalloc (size_t);
/freebsd-11-stable/contrib/ldns/drill/
H A Ddrill_util.h54 void *xmalloc(size_t s);

Completed in 133 milliseconds

1234567891011>>