Searched refs:new_arr (Results 1 - 2 of 2) 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;
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/
H A DTypesWriter.java31 byte new_arr[] = new byte[len];
32 System.arraycopy(arr, 0, new_arr, 0, arr.length);
33 arr = new_arr;

Completed in 266 milliseconds