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

1234567891011>>

/macosx-10.5.8/xnu-1228.15.4/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>
H A Dmulticast_list.c46 #include <sys/malloc.h>
H A Draw_cb.c64 #include <sys/malloc.h>
/macosx-10.5.8/xnu-1228.15.4/osfmk/libsa/
H A Dstdlib.h74 extern void *malloc(size_t);
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dmach.c42 char * string = (char *)malloc(80);
H A Dbootstrap.cpp34 #include <libsa/malloc.h>
88 * by libsa's malloc package and disposes of the lock.
100 /* Free all temporary malloc memory.
H A Dmalloc.c42 #include "libsa/malloc.h"
64 void * malloc(size_t size) { function
76 panic("malloc: no memory for a %08X sized request\n", nsize);
95 } /* malloc() */
131 * Allocate the mutual exclusion lock that protect malloc's data.
196 new_address = malloc(new_client_size); /* get a new one */
214 * Wrap vm_allocate calls made by kld in malloc/free so that the memory
224 *address = (vm_address_t)malloc(size);
H A Ddgraph.c47 #include <sys/malloc.h>
71 dgraph->graph = (dgraph_entry_t **)malloc(
416 backward_load_order = (dgraph_entry_t **)malloc(backward_load_order_size);
418 kload_log_error("malloc failure" KNL);
431 dgraph->load_order = (dgraph_entry_t **)malloc(load_order_size);
433 kload_log_error("malloc failure" KNL);
601 newgraph = (dgraph_entry_t **)malloc(dgraph->capacity *
620 new_entry = (dgraph_entry_t *)malloc(sizeof(dgraph_entry_t));
678 new_entry->dependencies = (dgraph_entry_t **)malloc(
735 newlist = (dgraph_entry_t **)malloc(
[all...]
/macosx-10.5.8/xnu-1228.15.4/libsa/libsa/
H A Dmalloc.h12 void * malloc(size_t size);
H A Dstdlib.h27 __private_extern__ void * malloc(size_t size);
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/YarrowCoreLib/port/
H A Dsmf.c32 Contains: platform-dependent malloc/free
37 #include <sys/malloc.h>
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_iokit.c61 #include <bsd/sys/malloc.h>
/macosx-10.5.8/xnu-1228.15.4/libsa/conf/
H A DMakefile.i38622 malloc.o \
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_notification.c36 #include <sys/malloc.h>
H A DMacOSStubs.c31 #include <sys/malloc.h>
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dmemory_tests.c31 my_pathp = (char *) malloc( PATH_MAX );
33 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
47 my_test_page_p = (char *) malloc( my_page_size );
49 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
79 my_bufp = (char *) malloc( (my_page_size * 10) );
81 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace_alloc.c43 #include <sys/malloc.h>
H A Ddtrace_subr.c33 #include <sys/malloc.h>
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/
H A Dmach_init_ports.c137 (void)malloc(0); /* Pull in our malloc package */
/macosx-10.5.8/xnu-1228.15.4/tools/
H A Dcred_dump_backtraces.c54 my_bufferp = malloc( len );
56 printf( "malloc error %d - \"%s\" \n", errno, strerror( errno ) );
/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/
H A DMPMMtest.c230 ports->req_msg = malloc(ports->req_size);
231 ports->reply_msg = malloc(ports->reply_size);
286 ports->req_msg = malloc(ports->req_size);
287 ports->reply_msg = malloc(ports->reply_size);
490 void *ints = malloc(sizeof(u_int32_t) * num_ints);
518 client_memory = (long *) malloc(client_pages * PAGE_SIZE);
696 server_id = (thread_id_t *) malloc(num_servers * sizeof(thread_id_t));
697 server_port_name = (char **) malloc(num_servers * sizeof(char *));
701 server_port_name[i] = (char *) malloc(sizeof("PORT.pppppp.xx"));
730 client_id = (thread_id_t *) malloc(totalclient
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dat_proto.c39 #include <sys/malloc.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_ecn.c64 #include <sys/malloc.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Ddest6.c35 #include <sys/malloc.h>

Completed in 182 milliseconds

1234567891011>>