Searched refs:malloc (Results 1 - 25 of 5272) sorted by relevance

1234567891011>>

/freebsd-head/contrib/unbound/compat/
H A Dmalloc.c1 /* Just a replacement, if the original malloc is not
5 #undef malloc macro
9 void *malloc ();
12 void *malloc (size_t n);
23 return malloc (n);
/freebsd-head/contrib/ldns/compat/
H A Dmalloc.c1 /* Just a replacement, if the original malloc is not
7 #undef malloc macro
11 void *malloc (size_t n);
21 return malloc (n);
H A Drealloc.c1 /* Just a replacement, if the original malloc is not
2 GNU-compliant. Based on malloc.c */
12 void *malloc (size_t);
15 * if oldptr is NULL, does a malloc.
26 return malloc(n);
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/
H A Dtst.sym.d41 printf("symbol = %a", &`malloc);
/freebsd-head/usr.bin/indent/tests/
H A Doffsetof.04 int n = malloc(offsetof(struct s, f) + 1);
H A Doffsetof.0.stdout6 int n = malloc(offsetof(struct s, f) + 1);
/freebsd-head/sys/contrib/zstd/lib/freebsd/
H A Dstdlib.h34 #include <sys/malloc.h>
38 #undef malloc macro
39 #define malloc(x) (malloc)((x), M_ZSTD, M_WAITOK) macro
H A Dzstd_kmalloc.c31 #include <sys/malloc.h>
/freebsd-head/tests/sys/geom/class/concat/
H A D1_test.sh8 us0=$(attach_md -t malloc -s 1M) || exit 1
9 us1=$(attach_md -t malloc -s 2M) || exit 1
10 us2=$(attach_md -t malloc -s 3M) || exit 1
/freebsd-head/tests/sys/geom/class/mirror/
H A D1_test.sh8 us0=$(attach_md -t malloc -s 1M) || exit 1
9 us1=$(attach_md -t malloc -s 2M) || exit 1
10 us2=$(attach_md -t malloc -s 3M) || exit 1
/freebsd-head/tests/sys/geom/class/stripe/
H A D1_test.sh8 us0=$(attach_md -t malloc -s 1M) || exit 1
9 us1=$(attach_md -t malloc -s 2M) || exit 1
10 us2=$(attach_md -t malloc -s 3M) || exit 1
/freebsd-head/contrib/libstdc++/libsupc++/
H A Dnew_opnt.cc37 extern "C" void *malloc (std::size_t);
45 /* malloc (0) is unpredictable; avoid it. */
48 p = (void *) malloc (sz);
63 p = (void *) malloc (sz);
H A Dnew_op.cc40 using std::malloc;
42 // A freestanding C runtime may not provide "malloc" -- but there is no
44 extern "C" void *malloc (std::size_t);
54 /* malloc (0) is unpredictable; avoid it. */
57 p = (void *) malloc (sz);
68 p = (void *) malloc (sz);
/freebsd-head/contrib/tcp_wrappers/
H A Dsetenv.c4 * and malloc(). It should therefore be safe to use on every UNIX system.
24 char *malloc();
30 if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0)
/freebsd-head/contrib/gcclibs/libiberty/
H A Dcalloc.c8 Uses @code{malloc} to allocate storage for @var{nelem} objects of
19 PTR malloc (size_t);
30 ptr = malloc (nelem * elsize);
H A Dstrdup.c6 @code{malloc}, or @code{NULL} if insufficient memory was available.
16 extern PTR malloc (size_t);
23 char *result = (char*) malloc (len);
/freebsd-head/contrib/binutils/libiberty/
H A Dcalloc.c8 Uses @code{malloc} to allocate storage for @var{nelem} objects of
19 PTR malloc (size_t);
30 ptr = malloc (nelem * elsize);
H A Dstrdup.c6 @code{malloc}, or @code{NULL} if insufficient memory was available.
16 extern PTR malloc (size_t);
23 char *result = (char*) malloc (len);
/freebsd-head/share/doc/papers/malloc/
H A DMakefile5 DOC= malloc
6 SRCS= abs.ms intro.ms kernel.ms malloc.ms problems.ms alternatives.ms \
/freebsd-head/tools/test/malloc/
H A DMakefile2 PROG= malloc
9 test: malloc
11 @csh -x -c "time ./malloc 500000 2000 8192"
12 @csh -x -c "time ./malloc 50000000 2000 8192"
13 @csh -x -c "time ./malloc 500000 14000 8192"
14 @csh -x -c "time ./malloc 20000000 20000 2048"
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbsd-malloc.c18 #undef malloc macro
31 return malloc(size);
54 return malloc(size);
/freebsd-head/contrib/gdb/include/
H A Dalloca-conf.h21 # include <malloc.h>
/freebsd-head/contrib/binutils/include/
H A Dalloca-conf.h21 # include <malloc.h>
/freebsd-head/crypto/heimdal/lib/roken/
H A Demalloc.c42 * Like malloc but never fails.
48 void *tmp = malloc (sz);
51 errx (1, "malloc %lu failed", (unsigned long)sz);
H A Drealloc.c44 return malloc(size);

Completed in 453 milliseconds

1234567891011>>