Searched defs:malloc (Results 1 - 25 of 31) sorted by relevance

12

/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dmalloc.c0 /* 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 Drealloc.c31 /* 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);
/osnet-11/usr/src/grub/grub2/grub-core/lib/posix_wrap/
H A Dstdlib.h32 malloc (grub_size_t size) function
/osnet-11/usr/src/lib/libpkg/common/
H A Dnhash.c41 #define malloc bkmem_alloc macro
79 if ((*cp = (Cache *) malloc(sizeof (**cp))) == NULL) {
80 (void) fprintf(stderr, pkg_gt("malloc(Cache **cp)"));
84 (Bucket *) malloc(sizeof (*(*cp)->bp) * hsz)) == NULL) {
85 (void) fprintf(stderr, pkg_gt("malloc(Bucket cp->bp)"));
125 (Item **) malloc(sizeof (*bp->itempp) * cp->bsz);
134 (Item **) malloc(sizeof (*bp->itempp) *
H A Dnhash.h63 #define malloc bkmem_alloc macro
/osnet-11/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c33 * Simplified version of malloc(), free() and realloc(), to be linked with
93 malloc(size_t size) function
/osnet-11/usr/src/lib/libbsdmalloc/common/
H A Dmalloc.bsd43.c6 * wizard:/space/4.3reno/usr/src/lib/libc/stdlib/malloc.c
26 * malloc.c (Caltech) 2/21/82
95 malloc(size_t nbytes) function
103 * First time malloc is called, setup page size and
250 * old malloc man page, it realloc's an already freed block. Usually
275 return (malloc(nbytes));
289 * If all lookups fail, then just malloc() the
294 if ((res = malloc(nbytes)) != NULL)
319 if ((res = malloc(nbytes)) == NULL)
/osnet-11/usr/src/lib/libumem/common/
H A Dmalloc.c42 * argument to umem_alloc(), not the argument to malloc().
51 malloc(size_t size_arg) function
123 retval = malloc(size);
155 * if malloc provides the required alignment, use it.
159 return (malloc(size_arg));
391 return (malloc(newsize));
405 buf = malloc(newsize);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/
H A Dsdbm.h177 # define malloc Perl_malloc macro
/osnet-11/usr/src/lib/libc/port/gen/
H A Dmalloc.c31 * Memory management: malloc(), realloc(), free().
69 * This never worked when alternate malloc() libraries were used
73 * real locking: libc_malloc_lock. This puts libc's malloc() package
74 * on the same footing as all other malloc packages.
92 #define FREESIZE (1<<5) /* size for preserving free blocks until next malloc */
95 static void *flist[FREESIZE]; /* list of blocks to be freed on next malloc */
125 /* want to return a unique pointer on malloc(0) */
161 malloc(size_t size) function
222 /* perform free's of space since last malloc */
332 /* perform free's of space since last malloc */
[all...]
/osnet-11/usr/src/lib/libmalloc/common/
H A Dmalloc.c38 #include "malloc.h"
55 * use level memory allocater (malloc, free, realloc)
57 * -malloc, free, realloc and mallopt form a memory allocator
58 * similar to malloc, free, and realloc. The routines
89 * with a preceding block during the search phase of malloc.
94 * freed and reallocated on the next call to malloc. The
100 * malloc. This block contains a header and ?????? small blocks.
176 * malloc(nbytes) - give a user nbytes to use
180 malloc(size_t nbytes) function
210 return (malloc(siz
[all...]
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
135 extern Vmalloc_t* Vmregion; /* malloc region */
187 extern Void_t* malloc _ARG_(( size_t ));
237 #undef malloc macro
246 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
258 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
271 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
H A Dast_map.h418 /* cannot override local malloc */
429 #undef malloc macro
430 #define malloc _ast_malloc macro
431 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
/osnet-11/usr/src/lib/libast/common/include/
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
135 extern Vmalloc_t* Vmregion; /* malloc region */
187 extern Void_t* malloc _ARG_(( size_t ));
237 #undef malloc macro
246 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
258 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
271 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dmalloc.c32 #define malloc ______malloc macro
50 #include <malloc.h>
59 #undef malloc macro
60 #define malloc _ast_malloc macro
82 * define _AST_std_malloc=1 to force the standard malloc
84 * will simply call malloc etc.
91 /* malloc compatibility functions
151 #undef malloc macro
236 /* if getenv() calls malloc(), the options may not affect the eventual region */
260 extern Void_t* malloc(re function
579 #undef malloc macro
580 #define malloc macro
680 #undef malloc macro
731 #define malloc macro
[all...]
H A Dvmhdr.h98 #define _std_malloc 1 /* do not define malloc/free/realloc */
357 #undef malloc macro
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
135 extern Vmalloc_t* Vmregion; /* malloc region */
187 extern Void_t* malloc _ARG_(( size_t ));
237 #undef malloc macro
246 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
258 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
271 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
135 extern Vmalloc_t* Vmregion; /* malloc region */
187 extern Void_t* malloc _ARG_(( size_t ));
237 #undef malloc macro
246 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
258 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
271 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
135 extern Vmalloc_t* Vmregion; /* malloc region */
187 extern Void_t* malloc _ARG_(( size_t ));
237 #undef malloc macro
246 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
258 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
271 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
/osnet-11/usr/src/lib/watchmalloc/common/
H A Dmalloc.c30 * Memory management: malloc(), realloc(), free(), memalign().
116 /* want to return a unique pointer on malloc(0) */
161 malloc(size_t size) function
402 call_malloc: /* call malloc to get a new block */
415 * Attempt special case recovery allocations since malloc() failed:
420 * malloc() may have failed to allocate the chunk of
423 * malloc() may have failed as with 2. Change to
466 /* malloc() sets errno */
477 * than malloc/realloc and the tree searches performed by these
1121 size_t reqsize; /* Num of bytes to get from malloc() */
[all...]
/osnet-11/usr/src/lib/libsasl/include/
H A Dsaslplug.h74 sasl_malloc_t *malloc; member in struct:sasl_utils
/osnet-11/usr/src/lib/libsasl/lib/
H A Dsaslint.h342 sasl_malloc_t *malloc; member in struct:sasl_allocation_utils
414 /* malloc et al */
474 #define sasl_ALLOC(__size__) (gctx->sasl_allocation_utils.malloc((__size__)))
480 #define sasl_sun_ALLOC(__size__) (malloc((__size__)))
491 #define sasl_ALLOC(__size__) (_sasl_allocation_utils.malloc((__size__)))
/osnet-11/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c58 * The MT hot malloc implementation contained herein is designed to be
59 * plug-compatible with the libc version of malloc. It is not intended
120 * get to the aligned address from malloc'ed address is the minimum size
123 * from memaligned address, we can get to the malloc'ed address. Otherwise,
126 * malloc'ed address.
307 malloc(size_t bytes) function
355 return (malloc(bytes));
362 * p = malloc(64);
375 new = malloc(bytes);
432 ptr = malloc(siz
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A DXSUB.h451 # define malloc PerlMem_malloc macro
/osnet-11/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h397 /* cannot override local malloc */
408 #undef malloc macro
409 #define malloc _ast_malloc macro
410 extern __MANGLE__ __V_* malloc __PROTO__((size_t));

Completed in 80 milliseconds

12