Home
last modified time | relevance | path

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

/third_party/flatbuffers/src/
Dreflection.cpp331 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(num_elems); in ResizeAnyVector() local
332 auto delta_bytes = delta_elem * static_cast<int>(elem_size); in ResizeAnyVector()
338 if (delta_elem < 0) { in ResizeAnyVector()
341 auto size_clear = -delta_elem * elem_size; in ResizeAnyVector()
347 if (delta_elem > 0) { in ResizeAnyVector()
348 memset(vector_data(*flatbuf) + start, 0, delta_elem * elem_size); in ResizeAnyVector()
/third_party/flatbuffers/include/flatbuffers/
Dreflection.h441 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(vec->size()); variable
446 for (int i = 0; i < delta_elem; i++) {