Searched refs:new_arr (Results 1 - 1 of 1) sorted by relevance

/external/qemu/memcheck/
H A Dmemcheck_common.h410 target_ulong* new_arr; local
447 new_arr = qemu_malloc(sizeof(target_ulong) * (addr_array->num + 1));
448 assert(new_arr != NULL);
449 if (new_arr == NULL) {
454 memcpy(new_arr, addr_array->addr, m_max * sizeof(target_ulong));
457 new_arr[m_max] = addr_array->addr[m_max];
461 new_arr[m_max] = addr;
464 memcpy(new_arr + m_max + 1, addr_array->addr + m_max,
469 addr_array->addr = new_arr;

Completed in 35 milliseconds