Home
last modified time | relevance | path

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

/external/flatbuffers/src/
Dreflection.cpp333 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(num_elems); in ResizeAnyVector() local
334 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()
/external/flatbuffers/include/flatbuffers/
Dreflection.h417 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(vec->size()); variable
422 for (int i = 0; i < delta_elem; i++) {