Home
last modified time | relevance | path

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

/external/OpenCSD/decoder/source/
Docsd_gen_elem_list.cpp120 elemPtr_t *p_new_array = 0; in growArray() local
130 p_new_array = new (std::nothrow) elemPtr_t[m_elemArraySize+increment]; in growArray()
132 if(p_new_array != 0) in growArray()
137 p_new_array[m_elemArraySize+i].pElem = new (std::nothrow) OcsdTraceElement(); in growArray()
147 p_new_array[i].pElem = m_pElemArray[inIdx].pElem; in growArray()
148 p_new_array[i].trc_pkt_idx = m_pElemArray[inIdx].trc_pkt_idx; in growArray()
165 m_pElemArray = p_new_array; in growArray()
Docsd_gen_elem_stack.cpp141 elemPtr_t *p_new_array = 0; in growArray() local
144 p_new_array = new (std::nothrow) elemPtr_t[m_elemArraySize + increment]; in growArray()
146 if (p_new_array != 0) in growArray()
157 p_new_array[m_elemArraySize + i].pElem = pElem; in growArray()
165 p_new_array[i].pElem = m_pElemArray[i].pElem; in growArray()
166 p_new_array[i].trc_pkt_idx = m_pElemArray[i].trc_pkt_idx; in growArray()
173 m_pElemArray = p_new_array; in growArray()