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.cpp370 const unsigned char *AddressSpaceStream::readFully(void *ptr, size_t totalReadSize) in readFully() argument
376 if (totalReadSize > 0) { in readFully()
378 " error, exiting.", totalReadSize); in readFully()
385 size_t remaining = totalReadSize; in readFully()
421 memcpy(userReadBuf + (totalReadSize - remaining), in readFully()
505 size_t writeSize, void *userReadBufPtr, size_t totalReadSize) { in commitBufferAndReadFully() argument
511 return readFully(userReadBufPtr, totalReadSize); in commitBufferAndReadFully()
514 return readFully(userReadBufPtr, totalReadSize); in commitBufferAndReadFully()
DVirtioGpuPipeStream.cpp281 size_t writeSize, void *userReadBufPtr, size_t totalReadSize) in commitBufferAndReadFully() argument
283 return commitBuffer(writeSize) ? nullptr : readFully(userReadBufPtr, totalReadSize); in commitBufferAndReadFully()