Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 39) sorted by relevance

12

/malloc/
A DMakefile21 subdir := malloc
25 dist-headers := malloc.h
31 tst-malloc-backtrace tst-malloc-thread-exit \
32 tst-malloc-thread-fail tst-malloc-fork-deadlock \
73 tests-exclude-malloc-check = tst-malloc-check tst-malloc-usable \
78 tests-malloc-check = $(filter-out $(tests-exclude-malloc-check) \
91 tst-malloc-usable \
175 $(objpfx)tst-malloc-backtrace-malloc-check: $(shared-thread-library)
176 $(objpfx)tst-malloc-thread-exit-malloc-check: $(shared-thread-library)
177 $(objpfx)tst-malloc-thread-fail-malloc-check: $(shared-thread-library)
[all …]
A Dtst-mtrace.sh32 MALLOC_TRACE=${common_objpfx}malloc/tst-mtrace.leak \
33 LD_PRELOAD=${common_objpfx}malloc/libc_malloc_debug.so \
35 ${common_objpfx}malloc/tst-mtrace || status=1
37 if test $status -eq 0 && test -f ${common_objpfx}malloc/mtrace; then
38 ${common_objpfx}malloc/mtrace ${common_objpfx}malloc/tst-mtrace.leak \
39 > ${common_objpfx}malloc/tst-mtrace.out|| status=1
42 rm -f ${common_objpfx}malloc/tst-mtrace.leak
A Dmallocbug.c34 dummy0 = malloc (0x3fa000); in main()
36 dummy1 = malloc (0x3fa000); in main()
38 fill_info_table1 = malloc (0x3000); in main()
41 x = malloc (0x1000); in main()
49 over_top = malloc (over_top_size); in main()
50 over_top_dup = malloc (over_top_dup_size); in main()
A Dtst-malloc-check.c45 p = malloc (-1); in do_test()
53 p = malloc (10); in do_test()
61 p = malloc (0); in do_test()
69 q = malloc (256); in do_test()
73 p = malloc (512); in do_test()
91 p = malloc (512); in do_test()
A Dtst-malloc.c46 p = malloc (-1); in do_test()
56 p = malloc (10); in do_test()
65 p = malloc (0); in do_test()
73 p = malloc (513 * 1024); in do_test()
83 q = malloc (-512 * 1024); in do_test()
A Dtst-tcfree3.c30 int ** volatile a = malloc (32); in do_test()
31 int ** volatile b = malloc (32); in do_test()
33 int ** volatile c = malloc (127 * 1024); in do_test()
A Dtst-malloc-backtrace.c38 void *ptr1 = malloc (SIZE); in do_test()
39 void *ptr2 = malloc (SIZE); in do_test()
45 ptr1 = malloc (SIZE); in do_test()
A Dtst-trim1.c17 if ((arr[i] = malloc (size)) == NULL) in do_test()
27 void *p = malloc (256); in do_test()
44 p = malloc (30000); in do_test()
A Dtst-safe-linking.c87 void * volatile a = malloc (size); in test_tcache()
88 void * volatile b = malloc (size); in test_tcache()
89 void * volatile c = malloc (size); in test_tcache()
100 c = malloc (size); in test_tcache()
103 b = malloc (size); in test_tcache()
178 b = malloc (MALLOC_CONSOLIDATE_SIZE); in test_fastbin_consolidate()
A Dtst-mxfast.c35 p1 = malloc (3); in do_test()
37 p2 = malloc (512); in do_test()
A Dtst-malloc-too-large.c53 void *volatile ptr = malloc (16); in test_setup()
81 TEST_VERIFY (malloc (size) == NULL); in test_large_allocations()
87 ptr_to_realloc = malloc (16); in test_large_allocations()
111 ptr_to_realloc = malloc (16); in test_large_allocations()
118 ptr_to_realloc = malloc (16); in test_large_allocations()
A DVersions6 # interface of malloc functions
28 mallinfo; malloc; malloc_stats;
107 malloc;
A Dtst-tcfree1.c31 char * volatile x = malloc (32); in do_test()
A Dalloc_buffer_allocate.c26 *pptr = malloc (size); in __libc_alloc_buffer_allocate()
A Dtst-malloc-usable.c32 void *p = malloc (7); in do_test()
A Dtst-tcfree2.c37 ptrs[i] = malloc (20); in do_test()
A Dscratch_buffer_dupfree.c32 void *copy = malloc (size); in __libc_scratch_buffer_dupfree()
A Dtst-compathooks-off.c52 void *mem = malloc (bytes); in malloc_called()
112 p = malloc (0); in do_test()
A Dscratch_buffer_grow.c37 new_ptr = malloc (new_length); in __libc_scratch_buffer_grow()
A Dtst-mallocfork.c33 malloc (sizeof (int)); in do_test()
A Dscratch_buffer_set_array_size.c51 char *new_ptr = malloc (new_length); in __libc_scratch_buffer_set_array_size()
A Dscratch_buffer_grow_preserve.c37 new_ptr = malloc (new_length); in __libc_scratch_buffer_grow_preserve()
A Ddynarray_finalize.c46 void *heap_array = malloc (allocation_size); in __libc_dynarray_finalize()
A Ddynarray_resize.c51 new_array = malloc (new_size_bytes); in __libc_dynarray_resize()
A Dtst-mallinfo2.c70 ptr = malloc (160 * i); in do_test()

Completed in 38 milliseconds

12