Searched refs:malloc (Results 1 - 25 of 1321) sorted by relevance
1234567891011>>
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | malloc.c | 0 /* malloc() function that is glibc compatible. 22 /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ 23 #ifdef malloc 25 # undef malloc macro 26 /* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ 36 /* Call the system's malloc below. */ 37 #undef malloc macro 52 result = malloc (n);
|
H A D | realloc.c | 31 /* Infer the properties of the system's malloc function. 32 The gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ 37 /* Below we want to call the system's malloc and realloc. 39 declaration of malloc(), not of rpl_malloc(), and likewise for realloc. */ 40 #undef malloc macro 48 /* Below we want to call the system's malloc and realloc. 51 #undef malloc macro 56 use malloc. */ 80 result = malloc (n);
|
H A D | alloca.in.h | 43 # include <malloc.h>
|
H A D | strndup.c | 30 char *new = malloc (len + 1);
|
/osnet-11/usr/src/lib/libsqlite/tool/ |
H A D | memleak2.awk | 19 /[0-9]+ malloc / {
|
H A D | memleak.awk | 8 /[0-9]+ malloc / { 17 print "*** free without a malloc at",$6
|
/osnet-11/usr/src/lib/libmapmalloc/common/ |
H A D | llib-lmapmalloc | 32 #include <malloc.h>
|
/osnet-11/usr/src/lib/libmtmalloc/tests/ |
H A D | dblfree.c | 43 foo = malloc(10); 52 foo = malloc(10);
|
H A D | wideload.c | 46 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 D | dirtymem.c | 54 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 D | failwide.c | 47 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);
|
H A D | reallocs.c | 31 * If a malloc'ed buffer can satisfy a realloc() request 46 p = malloc(size);
|
/osnet-11/usr/src/lib/libresolv2/common/bsd/ |
H A D | strdup.c | 12 char *dst = malloc(strlen(src) + 1);
|
/osnet-11/usr/src/lib/libmalloc/common/ |
H A D | llib-lmalloc | 32 #include <malloc.h>
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | copy_cksum.c | 38 if (!(tempto = (krb5_checksum *)malloc(sizeof(*tempto)))) 42 if (!(tempto->contents = (krb5_octet *)malloc(tempto->length))) {
|
/osnet-11/usr/src/lib/libbsdmalloc/common/ |
H A D | llib-lbsdmalloc | 34 char *malloc(unsigned nbytes);
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | misc.c | 51 * ntfs_malloc - A logging supported malloc(3) 60 p = malloc(size); 62 ntfs_log_perror("Failed to malloc %lld bytes", (long long)size);
|
/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | strndup.c | 32 char *new = malloc (len + 1);
|
/osnet-11/usr/src/lib/krb5/dyn/ |
H A D | dynP.h | 24 #include <malloc.h>
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | calloc.c | 57 return ((mp = malloc(total)) ? memset(mp, 0, total) : mp);
|
H A D | strdup.c | 48 char *s2 = malloc(strlen(s1) + 1);
|
H A D | strndup.c | 41 if ((s2 = malloc(n + 1)) == NULL)
|
/osnet-11/usr/src/lib/libc/port/i18n/ |
H A D | wsdup.c | 46 s2 = malloc((wcslen(s1) + 1) * sizeof (wchar_t));
|
/osnet-11/usr/src/lib/libxcurses/src/libc/mks/ |
H A D | m_malloc.c | 31 * Ensure that errno is set if malloc() fails. 56 * Portable replacement for malloc(). 57 * If malloc() fails (e.g returns NULL) 58 * then return ENOMEM unless malloc() sets errno for us on this system 59 * and ensure malloc(0) returns a non-NULL pointer. 70 * ANSI does not insist setting errno when malloc() fails. 72 * an errno when malloc() fails. 73 * Thus, on systems that implement malloc() where an errno is not 83 * MKS code seems to rely on malloc(0) returning a valid pointer. 86 * According to ANSI (4.10.3 line 18-19) the result of malloc( [all...] |
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/ |
H A D | py_mallocstk.d | 3 * py_mallocstk.d - Python libc malloc analysis with full stack traces. 40 pid$target:libc:malloc:entry 47 printf("\nPython malloc byte distributions by stack trace,\n\n");
|
Completed in 84 milliseconds
1234567891011>>