Home
last modified time | relevance | path

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

/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp211 size_t copyLength = std::min(length, res->iov[i].iov_len); in sync_linear_to_iovec() local
212 memcpy(iov_base + offset - iovOffset, linear, copyLength); in sync_linear_to_iovec()
213 linear += copyLength; in sync_linear_to_iovec()
214 offset += copyLength; in sync_linear_to_iovec()
215 length -= copyLength; in sync_linear_to_iovec()
255 size_t copyLength = std::min(length, res->iov[i].iov_len); in sync_iovec_to_linear() local
256 memcpy(linear, iov_base + offset - iovOffset, copyLength); in sync_iovec_to_linear()
257 linear += copyLength; in sync_iovec_to_linear()
258 offset += copyLength; in sync_iovec_to_linear()
259 length -= copyLength; in sync_iovec_to_linear()