Lines Matching refs:bytes
52 bool FifoSocket::writeAsync(const void *data, size_t bytes, bool waitForSpace) { in writeAsync() argument
53 if (bytes == 0) { in writeAsync()
57 size_t ret = ::send(sv[0], data, bytes, 0); in writeAsync()
58 rsAssert(ret == bytes); in writeAsync()
59 if (ret != bytes) { in writeAsync()
60 ALOGE("writeAsync %p %zu ret %zu", data, bytes, ret); in writeAsync()
76 size_t FifoSocket::read(void *data, size_t bytes) { in read() argument
82 size_t ret = ::recv(sv[1], data, bytes, MSG_WAITALL); in read()
83 rsAssert(ret == bytes || mShutdown); in read()
101 void FifoSocket::readReturn(const void *data, size_t bytes) { in readReturn() argument
102 ::send(sv[1], data, bytes, 0); in readReturn()