Home
last modified time | relevance | path

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

/malloc/
A Dscratch_buffer_dupfree.c29 void *data = buffer->data; in __libc_scratch_buffer_dupfree() local
30 if (data == buffer->__space.__c) in __libc_scratch_buffer_dupfree()
33 return copy != NULL ? memcpy (copy, data, size) : NULL; in __libc_scratch_buffer_dupfree()
37 void *copy = realloc (data, size); in __libc_scratch_buffer_dupfree()
38 return copy != NULL ? copy : data; in __libc_scratch_buffer_dupfree()
A Dtst-mallocstate.c177 unsigned char *data; member
188 if (alloc->data == NULL) in check_allocation()
213 dump_hex (alloc->data, size); in check_allocation()
328 if (alloc->data == NULL) in heap_activity()
339 free (alloc->data); in heap_activity()
340 alloc->data = NULL; in heap_activity()
399 free (task->allocation.data); in do_test()
400 task->allocation.data = NULL; in do_test()
420 task->allocation.data = xrealloc (task->allocation.data, new_size); in do_test()
464 free (task->allocation.data); in do_test()
[all …]
A Dtst-scratch_buffer.c65 if (buf.data != buf.__space.__c) in array_size_must_fail()
81 memset (buf.data, ' ', buf.length); in do_test()
87 memset (buf.data, ' ', buf.length); in do_test()
95 memset (buf.data, ' ', buf.length); in do_test()
101 memset (buf.data, '@', buf.length); in do_test()
102 strcpy (buf.data, "prefix"); in do_test()
110 if (strcmp (buf.data, "prefix") != 0) in do_test()
116 if (((char *)buf.data)[i] != '@') in do_test()
157 memset (buf.data, '@', buf.length); in do_test()
167 TEST_COMPARE_BLOB (r, l, buf.data, l); in do_test()
A Dscratch_buffer_grow_preserve.c33 if (buffer->data == buffer->__space.__c) in __libc_scratch_buffer_grow_preserve()
46 new_ptr = realloc (buffer->data, new_length); in __libc_scratch_buffer_grow_preserve()
56 free (buffer->data); in __libc_scratch_buffer_grow_preserve()
63 buffer->data = new_ptr; in __libc_scratch_buffer_grow_preserve()
A Dmemusage.sh81 data=
124 -d | --d | --da | --dat | --data)
129 data="$1"
131 --d=* | --da=* | --dat=* | --data=*)
132 data=${1##*=}
221 if test -n "$data"; then
222 datafile="$data"
266 if test -z "$data" -a -n "$datafile"; then
A Dmtrace.pl67 $data=$ARGV[0];
70 $data=$ARGV[1];
145 open(DATA, "<$data") || die "Cannot open mtrace data file";
A Dscratch_buffer_grow.c52 buffer->data = new_ptr; in __libc_scratch_buffer_grow()
A Dscratch_buffer_set_array_size.c60 buffer->data = new_ptr; in __libc_scratch_buffer_set_array_size()
A Dtst-malloc-tcache-leak.c39 worker (void *data) in worker() argument

Completed in 16 milliseconds