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

1234567891011>>

/illumos-gate/usr/src/man/man3malloc/
H A DMakefile19 MANSECT= 3malloc
21 MANFILES= bsdmalloc.3malloc \
22 malloc.3malloc \
23 mapmalloc.3malloc \
24 mtmalloc.3malloc \
25 umem_alloc.3malloc \
26 umem_cache_create.3malloc \
27 umem_debug.3malloc \
28 watchmalloc.3malloc
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_buf_size3.c3 void *malloc(int);
9 a = malloc(sizeof(int) * 4);
H A Dsm_memleak2.c7 ptr = malloc(42);
H A Dsm_buf_size2.c3 void *malloc(int);
11 a = malloc(sizeof(int) * 4);
H A Dsm_buf_size6.c3 void *malloc(int size);
10 p = malloc(4000);
H A Dsm_double_free1.c7 x = malloc(42);
H A Dsm_buf_size8.c33 p = malloc(sizeof(*p) + 100);
36 q = malloc(sizeof(*q) + 100);
39 a = malloc(sizeof(*a) + 100);
42 b = malloc(sizeof(*b) + 100);
H A Dsm_double_free2.c11 x = malloc(sizeof(struct ture));
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dmemleak2.awk19 /[0-9]+ malloc / {
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Ddblfree.c43 foo = malloc(10);
52 foo = malloc(10);
H A Dwideload.c46 foo = malloc(0); /* prime the pump */
49 printf ("Before big malloc brk is %p request %d\n", foo, request);
50 foo = malloc(request + 100);
52 printf ("After big malloc brk is %p\n", bar);
H A Ddirtymem.c54 foo = (struct a_struct *)malloc(sizeof (struct_o_death));
61 * as the last time. Turn the rotor with malloc until
65 leak = malloc(sizeof (struct_o_death));
67 fprintf(stderr, "malloc struct again\n");
69 foo = malloc(sizeof (struct_o_death));
H A Dfailwide.c47 foo = malloc(request/2); /* prime the pump */
50 printf ("Before big malloc brk is %p request %d\n", foo, request);
51 foo = malloc(request + request/2);
53 printf ("After big malloc brk is %p, should be the same.\n", bar);
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dutil.h40 #define MALLOC(object_type) ((object_type *) malloc(sizeof(object_type)))
45 (dst = malloc((unsigned)strlen(src)+1), (void) strcpy(dst,src))
48 (dst = (char *) malloc((unsigned)(num) + 1),\
52 extern char *malloc();
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dcalloc.c30 #include <malloc.h>
51 ptr_t malloc();
54 mp = malloc(num);
H A Don_exit.c30 char *malloc();
46 (struct handlers *)malloc(sizeof (*h));
H A Dcrypt.c41 extern char *malloc();
44 iobuf = malloc((unsigned)16);
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrdup.c12 char *dst = malloc(strlen(src) + 1);
/illumos-gate/usr/src/lib/krb5/dyn/
H A DdynP.h37 #include <malloc.h>
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Dzmalloc.c35 * malloc(3C) with error checking
47 if ((p = malloc(n)) == NULL)
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dnew.c47 ptr = malloc(size);
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Darc4random_rekey.c34 buf = malloc(NENTS);
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Dext.h51 extern char *malloc();
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcopy_data.c46 if (!(tempdata = (krb5_data *)malloc(sizeof(*tempdata))))
51 if (!(tempdata->data = malloc(tempdata->length))) {
72 if (!(outdata->data = malloc(outdata->length))) {
/illumos-gate/usr/src/stand/lib/sa/
H A Dmalloc.c32 * For documentation on these functions, see malloc(3C).
36 malloc(size_t size) function
55 addr = malloc(number * size);
68 addr = malloc(size);

Completed in 323 milliseconds

1234567891011>>