Searched refs:new_arr (Results 1 – 1 of 1) sorted by relevance
410 target_ulong* new_arr; in addrarray_add() local447 new_arr = qemu_malloc(sizeof(target_ulong) * (addr_array->num + 1)); in addrarray_add()448 assert(new_arr != NULL); in addrarray_add()449 if (new_arr == NULL) { in addrarray_add()454 memcpy(new_arr, addr_array->addr, m_max * sizeof(target_ulong)); in addrarray_add()457 new_arr[m_max] = addr_array->addr[m_max]; in addrarray_add()461 new_arr[m_max] = addr; in addrarray_add()464 memcpy(new_arr + m_max + 1, addr_array->addr + m_max, in addrarray_add()469 addr_array->addr = new_arr; in addrarray_add()