Home
last modified time | relevance | path

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

/external/qemu/memcheck/
Dmemcheck_common.h410 target_ulong* new_arr; in addrarray_add() local
447 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()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/
DTypesWriter.java31 byte new_arr[] = new byte[len]; in resize()
32 System.arraycopy(arr, 0, new_arr, 0, arr.length); in resize()
33 arr = new_arr; in resize()