Searched refs:delta_elem (Results 1 – 2 of 2) sorted by relevance
333 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(num_elems); in ResizeAnyVector() local334 auto delta_bytes = delta_elem * static_cast<int>(elem_size); in ResizeAnyVector()340 if (delta_elem < 0) { in ResizeAnyVector()343 auto size_clear = -delta_elem * elem_size; in ResizeAnyVector()349 if (delta_elem > 0) { in ResizeAnyVector()350 memset(vector_data(*flatbuf) + start, 0, delta_elem * elem_size); in ResizeAnyVector()
417 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(vec->size()); variable422 for (int i = 0; i < delta_elem; i++) {