Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp121 …ipeStream::commitBufferAndReadFully(size_t writeSize, void *userReadBufPtr, size_t totalReadSize) { in commitBufferAndReadFully() argument
128 if (totalReadSize > 0) { in commitBufferAndReadFully()
130 " error, exiting.", totalReadSize); in commitBufferAndReadFully()
139 size_t remaining = totalReadSize; in commitBufferAndReadFully()
181 memcpy(userReadBuf + (totalReadSize - remaining), in commitBufferAndReadFully()
DAddressSpaceStream.cpp233 const unsigned char *AddressSpaceStream::readFully(void *ptr, size_t totalReadSize) in readFully() argument
239 if (totalReadSize > 0) { in readFully()
241 " error, exiting.", totalReadSize); in readFully()
248 size_t remaining = totalReadSize; in readFully()
284 memcpy(userReadBuf + (totalReadSize - remaining), in readFully()
368 size_t writeSize, void *userReadBufPtr, size_t totalReadSize) { in commitBufferAndReadFully() argument
374 return readFully(userReadBufPtr, totalReadSize); in commitBufferAndReadFully()
377 return readFully(userReadBufPtr, totalReadSize); in commitBufferAndReadFully()
DVirtioGpuPipeStream.cpp272 size_t writeSize, void *userReadBufPtr, size_t totalReadSize) in commitBufferAndReadFully() argument
274 return commitBuffer(writeSize) ? nullptr : readFully(userReadBufPtr, totalReadSize); in commitBufferAndReadFully()