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

1234567891011>>

/freebsd-11-stable/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-11-stable/contrib/ldns/compat/
H A Dmalloc.c1 /* Just a replacement, if the original malloc is not
7 #undef malloc macro
11 void *malloc ();
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-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/
H A Dtst.sym.d41 printf("symbol = %a", &`malloc);
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/share/doc/papers/malloc/
H A DMakefile5 DOC= malloc
6 SRCS= abs.ms intro.ms kernel.ms malloc.ms problems.ms alternatives.ms \
/freebsd-11-stable/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-11-stable/sys/dev/drm2/
H A Ddrm_mem_util.h35 #include <sys/malloc.h>
42 return malloc(nmemb * size, DRM_MEM_DRIVER, M_NOWAIT | M_ZERO);
51 return malloc(nmemb * size, DRM_MEM_DRIVER, M_NOWAIT);
/freebsd-11-stable/contrib/libreadline/
H A Dansi_stdlib.h44 extern PTR_T malloc ();
/freebsd-11-stable/contrib/gdb/include/
H A Dalloca-conf.h21 # include <malloc.h>
/freebsd-11-stable/contrib/binutils/include/
H A Dalloca-conf.h21 # include <malloc.h>
/freebsd-11-stable/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);
H A Dstrdup.c42 char *t = malloc(strlen(old)+1);
/freebsd-11-stable/share/doc/papers/
H A DMakefile12 malloc \
/freebsd-11-stable/sys/contrib/ck/include/
H A Dck_malloc.h34 void *(*malloc)(size_t); member in struct:ck_malloc

Completed in 168 milliseconds

1234567891011>>