Home
last modified time | relevance | path

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

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