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

1234567891011>>

/darwin-on-arm/xnu/bsd/net/
H A Dbpf_compat.h68 * Some hacks for compatibility across SunOS and 4.4BSD. We emulate malloc
74 #define malloc(size, type, canwait) _MALLOC(size, type, canwait) macro
H A Dkpi_interfacefilter.c31 #include <sys/malloc.h>
/darwin-on-arm/xnu/osfmk/libsa/
H A Dstdlib.h74 extern void *malloc(size_t);
/darwin-on-arm/xnu/bsd/dev/random/YarrowCoreLib/port/
H A Dsmf.c32 Contains: platform-dependent malloc/free
37 #include <sys/malloc.h>
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dchdir.c88 dirlist = (char **)malloc(sizeof (char *));
92 dirlist = (char **)malloc(dircount * sizeof (char *));
H A Dmalloc.c32 * malloc benchmark (crude)
61 " [-s size to malloc (default %d)."
63 "notes: measures malloc()/free()",
99 ts->ts_glob = malloc(sizeof (void *)* optg);
114 if ((ts->ts_glob[j] = malloc(opts[k++])) == NULL)
H A Dclose_tcp.c89 ts->ts_lsns = (int *)malloc(lm_optB * sizeof (int));
93 ts->ts_accs = (int *)malloc(lm_optB * sizeof (int));
97 ts->ts_cons = (int *)malloc(lm_optB * sizeof (int));
101 ts->ts_adds = (struct sockaddr_in *)malloc(lm_optB *
H A Dstrcasecmp.c96 ts->ts_a = malloc(opts + 1);
97 ts->ts_b = malloc(opts + 1 + unaligned);
H A Dstrcmp.c94 ts->ts_a = malloc(opts + 1);
95 ts->ts_b = malloc(opts + 1 + unaligned);
H A Dstrcpy.c93 ts->ts_a = malloc(opts + 1);
94 ts->ts_b = malloc(opts + 1 + unaligned);
H A Dwritev.c112 ts->ts_iov = (struct iovec *)malloc(
115 ts->ts_iov[i].iov_base = malloc(opts);
H A DMakefile.benchmarks68 malloc \
H A Dbind.c105 ts->ts_lsns = (int *)malloc(lm_optB * sizeof (int));
109 ts->ts_adds = (struct sockaddr_in *)malloc(lm_optB *
/darwin-on-arm/xnu/libkern/kxld/
H A Dkxld_util.h142 __attribute__((malloc, visibility("hidden")));
145 __attribute__((malloc, visibility("hidden")));
148 __attribute__((malloc, visibility("hidden")));
151 __attribute__((malloc, visibility("hidden")));
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dgeekbench_stdlib_write.c188 arena = ( unsigned char * )malloc( arenaSize);
H A Dmbr_check_membership.c166 u_uuid_list = malloc( sizeof(*u_uuid_list) * (uid_range+1) );
167 g_uuid_list = malloc( sizeof(*g_uuid_list) * (gid_range+1) );
H A Dcreate_file.c124 optf = malloc(MAXPATHLEN);
H A Dlmbench_read.c110 ts->ts_buf = malloc(opts);
H A Dlmbench_write.c112 ts->ts_buf = malloc(opts);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/helpers/
H A Ddata_exec.c97 sigstk.ss_sp = malloc(ALT_STK_SIZE);
136 msg("attempting to execute from malloc'ed area..\n");
138 func = (void *)malloc(func_len);
149 msg("attempting to execute from malloc'ed area with PROT_EXEC..\n");
151 func = (void *)malloc(func_len);
/darwin-on-arm/xnu/SETUP/config/
H A Dmain.c114 malloc((unsigned) strlen(source_directory) + 6);
291 cp = malloc((unsigned)(strlen(build_directory)+
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace_alloc.c43 #include <sys/malloc.h>
/darwin-on-arm/xnu/bsd/hfs/
H A DMacOSStubs.c31 #include <sys/malloc.h>
/darwin-on-arm/xnu/security/
H A Dmac_iokit.c61 #include <bsd/sys/malloc.h>
/darwin-on-arm/xnu/tools/
H A Dcred_dump_backtraces.c54 my_bufferp = malloc( len );
56 printf( "malloc error %d - \"%s\" \n", errno, strerror( errno ) );

Completed in 597 milliseconds

1234567891011>>