Searched refs:malloc (Results 26 - 50 of 5209) sorted by relevance

1234567891011>>

/freebsd-13-stable/share/examples/sunrpc/dir/
H A Ddir_proc.c10 extern char *malloc();
42 nl = *nlp = (namenode *) malloc(sizeof(namenode));
43 nl->name = malloc(strlen(d->d_name)+1);
/freebsd-13-stable/crypto/heimdal/lib/gssapi/mech/
H A Dgss_duplicate_oid.c50 *dest_oid = malloc(sizeof(**dest_oid));
56 (*dest_oid)->elements = malloc(src_oid->length);
H A Dgss_create_empty_oid_set.c40 set = malloc(sizeof(gss_OID_set_desc));
/freebsd-13-stable/sys/kgssapi/
H A Dgss_create_empty_oid_set.c36 #include <sys/malloc.h>
50 set = malloc(sizeof(gss_OID_set_desc), M_GSSAPI, M_WAITOK);
/freebsd-13-stable/sys/libkern/
H A Dstrdup.c40 #include <sys/malloc.h>
49 copy = malloc(len, type, flags);
/freebsd-13-stable/tools/regression/ccd/layout/
H A Dccd.sh19 mdconfig -a -t malloc -s $1 -u 90
20 mdconfig -a -t malloc -s $2 -u 91
21 mdconfig -a -t malloc -s $3 -u 92
22 mdconfig -a -t malloc -s $4 -u 93
/freebsd-13-stable/lib/libc/string/
H A Dstrdup.c49 if ((copy = malloc(len)) == NULL)
H A Dwcsdup.c42 if ((copy = malloc(len * sizeof(wchar_t))) == NULL)
/freebsd-13-stable/lib/libgssapi/
H A Dgss_create_empty_oid_set.c44 set = malloc(sizeof(gss_OID_set_desc));
/freebsd-13-stable/contrib/tcpdump/missing/
H A Ddatalinks.c57 *dlt_buffer = (int*)malloc(sizeof(**dlt_buffer));
H A Dstrdup.c48 if ((copy = malloc(len)) == NULL)
/freebsd-13-stable/contrib/ipfilter/lib/
H A Dallocmbt.c15 m = (mb_t *)malloc(sizeof(mb_t));
/freebsd-13-stable/contrib/ldns/compat/
H A Dcalloc.c1 /* Just a replacement, if the original malloc is not
17 void *new = malloc(num * size);
/freebsd-13-stable/sys/dev/bhnd/bcma/
H A Dbcma.h39 #include <sys/malloc.h>
/freebsd-13-stable/sys/dev/bhnd/siba/
H A Dsiba.h37 #include <sys/malloc.h>
/freebsd-13-stable/contrib/openbsm/bin/auditdistd/
H A Dstrndup.h45 outstr = malloc(outlen + 1);
/freebsd-13-stable/contrib/ntp/sntp/unity/
H A Dunity_fixture_malloc_overrides.h11 #define malloc unity_malloc macro
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wrapper_malloc.h3 * (malloc(), free(), and others).
26 underscore!) is declared in <malloc.h>. This header eliminates these
30 malloc
46 void * ptr = malloc( size ); // All the memory leaks will be reported at
94 #include <malloc.h> // Windows* OS: _alloca() declared in "malloc.h".
135 should be used in place of malloc() and free(), this allows enabling native
165 #define malloc(size) _malloc_dbg((size), KMP_MEM_BLOCK, __FILE__, __LINE__) macro
180 #define _malloc_src_loc(size, file, line) malloc((size))
189 #define _malloc_src_loc(size) malloc((siz
[all...]
/freebsd-13-stable/contrib/ncurses/ncurses/tinfo/
H A Ddoalloc.c35 * Wrapper for malloc/realloc. Standard implementations allow realloc with
56 newp = malloc(amount);
/freebsd-13-stable/stand/libsa/geli/
H A Dgeli_metadata.c47 keybuf = malloc(GELI_KEYBUF_SIZE);
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dstrndup.c45 char *t = malloc(len + 1);
/freebsd-13-stable/tools/tools/bootparttest/
H A Dstub.c37 return (malloc(size));
/freebsd-13-stable/sys/opencrypto/
H A Dxform_comp.h34 #include <sys/malloc.h>
/freebsd-13-stable/tools/regression/redzone9/
H A Dredzone.c35 #include <sys/malloc.h>
59 p = malloc(10, M_TEMP, M_NOWAIT);
65 p = malloc(10, M_TEMP, M_NOWAIT);
71 p = malloc(8192, M_TEMP, M_NOWAIT);
80 p = malloc(8192, M_TEMP, M_NOWAIT);
89 p = malloc(10, M_TEMP, M_NOWAIT);
98 p = malloc(10, M_TEMP, M_NOWAIT);
/freebsd-13-stable/tests/sys/geom/class/concat/
H A D2_test.sh12 us0=$(attach_md -t malloc -s 1M) || exit 1
13 us1=$(attach_md -t malloc -s 2M) || exit 1
14 us2=$(attach_md -t malloc -s 3M) || exit 1

Completed in 305 milliseconds

1234567891011>>