HomeSort by: relevance | last modified time | path
    Searched defs:malloc (Results 1 - 25 of 71) sorted by relevancy

1 2 3

  /src/external/bsd/flex/dist/lib/
malloc.c 2 #undef malloc macro
6 void *malloc ();
16 return malloc (n);
realloc.c 3 #undef malloc macro
20 result = malloc (n);
  /src/external/bsd/nsd/dist/compat/
malloc.c 1 /* Just a replacement, if the original malloc is not
7 #undef malloc macro
11 void *malloc ();
21 return malloc (n);
  /src/external/bsd/unbound/dist/compat/
malloc.c 1 /* Just a replacement, if the original malloc is not
5 #undef malloc macro
9 void *malloc (size_t n);
19 return malloc (n);
  /src/external/gpl2/diffutils/dist/lib/
malloc.c 1 /* $NetBSD: malloc.c,v 1.1.1.1 2016/01/13 03:15:30 christos Exp $ */
3 /* Work around bug on some systems where malloc (0) fails.
25 #undef malloc macro
29 char *malloc ();
39 return malloc (n);
  /src/external/gpl2/xcvs/dist/lib/
malloc.c 0 /* malloc() function that is glibc compatible.
18 __RCSID("$NetBSD: malloc.c,v 1.2 2016/05/17 14:00:09 christos Exp $");
26 #undef malloc macro
38 return malloc (n);
  /src/sys/external/isc/libsodium/include/
stdlib.h 2 #include <sys/malloc.h>
3 #undef malloc macro
5 #define malloc(size) __malloc_should_not_be_used macro
  /src/external/bsd/ntp/dist/sntp/unity/
unity_fixture_malloc_overrides.h 13 #define malloc unity_malloc macro
  /src/sys/sys/
malloc.h 1 /* $NetBSD: malloc.h,v 1.117 2018/10/14 17:37:40 jdolecek Exp $ */
31 * @(#)malloc.h 8.5 (Berkeley) 5/3/95
40 * flags to malloc
49 * The following are standard, built-in malloc types that are
52 * They are currently not defined, but are still passed to malloc()
70 #define malloc(size, type, flags) kern_malloc(size, flags) macro
  /src/sys/arch/ia64/stand/ia64/ski/
main.c 63 static char malloc[512*1024]; local
71 setheap((void *)malloc, (void *)(malloc + 512*1024));
  /src/external/bsd/tre/dist/lib/
xmalloc.h 2 xmalloc.h - Simple malloc debugging library API
53 #undef malloc macro
58 #define malloc USE_XMALLOC_INSTEAD_OF_MALLOC macro
67 #define xmalloc(size) malloc(size)
  /src/external/gpl3/binutils/dist/gprofng/src/
dbe_hwc.h 30 #define malloc(s) xmalloc (s) macro
  /src/external/gpl3/binutils.old/dist/gprofng/src/
dbe_hwc.h 30 #define malloc(s) xmalloc (s) macro
  /src/external/gpl3/gcc.old/dist/libbacktrace/
instrumented_alloc.c 34 processed when including alloc.c below, such that the redefinitions of malloc
52 #define malloc instrumented_malloc macro
55 #undef malloc macro
73 res = malloc (size);
  /src/bin/sh/
options.h 39 unsigned char malloc; /* if parameter list dynamically allocated */ member in struct:shparam
  /src/external/bsd/file/dist/src/
memtest.c 53 malloc(size_t len) function
56 void *(*orig)(size_t) = dlsym(RTLD_NEXT, "malloc");
58 int l = snprintf(buf, sizeof(buf), "malloc %zu %p\n", len, p);
  /src/external/apache2/llvm/dist/clang/lib/Headers/
__clang_hip_runtime_wrapper.h 57 static inline __device__ void *malloc(size_t __size) { function
62 static inline __device__ void *malloc(size_t __size) { function
  /src/external/gpl3/gcc.old/dist/libsanitizer/asan/
asan_malloc_linux.cpp 11 // Linux-specific malloc interception.
12 // We simply define functions like malloc, free, realloc, etc.
65 INTERCEPTOR(void*, malloc, uptr size) {
125 // We avoid including malloc.h for portability reasons.
170 void *(*malloc)(uptr bytes); member in struct:MallocDebugK
182 void *(*malloc)(uptr bytes); member in struct:MallocDebugL
192 WRAP(malloc), WRAP(free), WRAP(calloc),
197 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_malloc_win.cc 12 // Windows-specific malloc interception.
68 void *malloc(size_t size) { function
75 return malloc(size);
80 return malloc(size);
161 // functions to detect a bit more bugs. Those functions seem to wrap malloc().
230 TryToOverrideFunction("malloc", (uptr)malloc);
231 TryToOverrideFunction("_malloc_base", (uptr)malloc);
232 TryToOverrideFunction("_malloc_crt", (uptr)malloc);
  /src/tests/lib/libc/regex/
t_exhaust.c 67 malloc(size_t l) function
71 if (m == NULL) m = dlsym(RTLD_NEXT, "malloc");
85 if (f == NULL) f = dlsym(RTLD_NEXT, "malloc");
95 char *p = malloc(slen * len + 1);
107 char *p = malloc(dlen + slen + 1);
  /src/external/bsd/unbound/dist/util/
alloc.h 42 * o Avoid locking costs of getting global lock to call malloc().
75 /** global allocator above this one. NULL for none (malloc/free) */
193 # define malloc(s) unbound_stat_malloc_lite(s, __FILE__, __LINE__, __func__) macro
  /src/external/gpl2/libmalloc/dist/
malloc.c 1 /* $NetBSD: malloc.c,v 1.1.1.1 2016/01/13 21:42:18 christos Exp $ */
3 /* Memory allocator `malloc'.
27 #include <malloc.h>
33 /* Debugging hook for `malloc'. */
39 /* Block information table. Allocated with align/__free (not malloc/free). */
165 malloc (size) function
173 /* ANSI C allows `malloc (0)' to either return NULL, or to return a
177 expects `malloc (0)' to return non-NULL and breaks otherwise.
238 result = malloc (BLOCKSIZE);
360 return malloc (size)
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/
configure 14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing malloc" >&5
14573 $as_echo_n "checking for library containing malloc... " >&6; }
14580 extern(C) int malloc();
14583 malloc(); return 0; function
  /src/common/lib/libc/cdb/
cdbr.c 58 #define malloc(size) kmem_alloc(size, KM_SLEEP) macro
169 cdbr = malloc(sizeof(*cdbr));
  /src/lib/libbsdmalloc/
malloc.c 1 /* $NetBSD: malloc.c,v 1.12 2026/01/20 19:22:10 joe Exp $ */
35 static char sccsid[] = "@(#)malloc.c 8.1 (Berkeley) 6/4/93";
37 __RCSID("$NetBSD: malloc.c,v 1.12 2026/01/20 19:22:10 joe Exp $");
42 * malloc.c (Caltech) 2/21/82
163 * might, depending on the implementation, result in another malloc()
178 malloc(size_t nbytes) function
188 * First time malloc is called, setup page size and
345 * old malloc man page, it realloc's an already freed block. Usually
366 return (malloc(nbytes));
424 if ((res = malloc(nbytes)) == NULL)
    [all...]

Completed in 64 milliseconds

1 2 3