Home
last modified time | relevance | path

Searched refs:c (Results 1 – 9 of 9) sorted by relevance

/malloc/
A Dtst-safe-linking.c93 free (c); in test_tcache()
96 printf ("Before: c=%p, c[0]=%p\n", c, ((void **)c)[0]); in test_tcache()
98 printf ("After: c=%p, c[0]=%p\n", c, ((void **)c)[0]); in test_tcache()
100 c = malloc (size); in test_tcache()
132 free (c); in test_fastbin()
135 printf ("Before: c=%p, c[0]=%p\n", c, ((void **)c)[0]); in test_fastbin()
137 printf ("After: c=%p, c[0]=%p\n", c, ((void **)c)[0]); in test_fastbin()
139 c = calloc (1, size); in test_fastbin()
170 free (c); in test_fastbin_consolidate()
173 printf ("Before: c=%p, c[0]=%p\n", c, ((void **)c)[0]); in test_fastbin_consolidate()
[all …]
A Dtst-realloc.c37 unsigned char *c; in do_test() local
80 c = p; in do_test()
85 if (c[i] != 0) in do_test()
105 c = p; in do_test()
110 if (c[i] != 0xff) in do_test()
124 c = realloc (p, -1); in do_test()
126 if (c != NULL) in do_test()
129 c = p; in do_test()
134 if (c[i] != 0xff) in do_test()
A Dtst-tcfree3.c33 int ** volatile c = malloc (127 * 1024); in do_test() local
38 memset (c, 0xff, 127 * 1024); in do_test()
45 memcpy (c, a, 32); in do_test()
51 free (c); // should NOT abort in do_test()
A Dtst-reallocarray.c46 unsigned char *c; in do_test() local
90 c = ptr; in do_test()
94 if (c[i] != 0xAF) in do_test()
106 c = ptr; in do_test()
110 if (c[i] != 0xAF) in do_test()
121 c = ptr; in do_test()
125 if (c[i] != 0xAF) in do_test()
A Dmalloc-check.c56 unsigned char c; in malloc_check_get_size() local
61 (c = *SAFE_CHAR_OFFSET (p, size)) != magic; in malloc_check_get_size()
62 size -= c) in malloc_check_get_size()
64 if (c <= 0 || size < (c + CHUNK_HDR_SZ)) in malloc_check_get_size()
111 INTERNAL_SIZE_T sz, c; in mem2chunk_check() local
134 (c = *SAFE_CHAR_OFFSET (p, sz)) != magic; in mem2chunk_check()
135 sz -= c) in mem2chunk_check()
137 if (c == 0 || sz < (c + CHUNK_HDR_SZ)) in mem2chunk_check()
159 (c = *SAFE_CHAR_OFFSET (p, sz)) != magic; in mem2chunk_check()
160 sz -= c) in mem2chunk_check()
[all …]
A Dtst-scratch_buffer.c165 void *c = xmalloc (l); in do_test() local
166 memset (c, '@', l); in do_test()
169 free (c); in do_test()
A DMakefile259 CFLAGS-mcheck-init.c += $(PIC-ccflag)
260 CFLAGS-obstack.c += $(uses-callbacks)
289 CPPFLAGS-malloc-debug.c += -DUSE_TCACHE=0
291 CPPFLAGS-malloc.c += -DUSE_TCACHE=1
293 CPPFLAGS-malloc.c += -DUSE_TCACHE=0
A DVersions21 # c*
A Dobstack.c66 char c; member

Completed in 17 milliseconds