Searched refs:delta_elem (Results 1 – 2 of 2) sorted by relevance
315 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(num_elems); in ResizeAnyVector() local316 auto delta_bytes = delta_elem * static_cast<int>(elem_size); in ResizeAnyVector()321 if (delta_elem < 0) { in ResizeAnyVector()324 auto size_clear = -delta_elem * elem_size; in ResizeAnyVector()330 if (delta_elem > 0) { in ResizeAnyVector()331 memset(flatbuf->data() + start, 0, delta_elem * elem_size); in ResizeAnyVector()
394 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(vec->size()); variable401 for (int i = 0; i < delta_elem; i++) {