Searched refs:processSize (Results 1 – 6 of 6) sorted by relevance
60 ssize_t processSize = sendOrReceiveFun(iovs, niovs); in interruptableReadOrWrite() local61 if (processSize < 0) { in interruptableReadOrWrite()70 } else if (processSize == 0) { in interruptableReadOrWrite()73 while (processSize > 0 && niovs > 0) { in interruptableReadOrWrite()75 if (static_cast<size_t>(processSize) < iov.iov_len) { in interruptableReadOrWrite()77 iov.iov_base = reinterpret_cast<char*>(iov.iov_base) + processSize; in interruptableReadOrWrite()78 iov.iov_len -= processSize; in interruptableReadOrWrite()83 processSize -= iov.iov_len; in interruptableReadOrWrite()88 LOG_ALWAYS_FATAL_IF(processSize > 0, in interruptableReadOrWrite()91 processSize); in interruptableReadOrWrite()
112 ssize_t processSize = 0; in interruptableReadFully() local118 processSize += numBytes; in interruptableReadFully()121 return processSize; in interruptableReadFully()164 ssize_t processSize = TEMP_FAILURE_RETRY( in fillReadBuffer() local166 if (processSize == 0) { in fillReadBuffer()168 } else if (processSize < 0) { in fillReadBuffer()185 mReadBufferSize = static_cast<size_t>(processSize); in fillReadBuffer()
128 ssize_t processSize = TEMP_FAILURE_RETRY(recvmsg(socket.fd.get(), &msg, MSG_NOSIGNAL)); in receiveMessageFromSocket() local129 if (processSize < 0) { in receiveMessageFromSocket()153 return processSize; in receiveMessageFromSocket()
164 size_t processSize = static_cast<size_t>(rc); in interruptableReadFully() local165 mMessageOffset += processSize; in interruptableReadFully()197 while (processSize > 0 && niovs > 0) { in interruptableReadFully()199 if (processSize < iov.iov_len) { in interruptableReadFully()201 iov.iov_base = reinterpret_cast<char*>(iov.iov_base) + processSize; in interruptableReadFully()202 iov.iov_len -= processSize; in interruptableReadFully()207 processSize -= iov.iov_len; in interruptableReadFully()212 LOG_ALWAYS_FATAL_IF(processSize > 0, in interruptableReadFully()215 processSize); in interruptableReadFully()
388 size_t processSize = 0; in process() local477 processSize = mNumPcmBytesPerInputFrame - mFilledLen; in process()480 processSize = inSize - inPos; in process()488 const unsigned nInputSamples = processSize / sizeof(int16_t); in process()495 inPos += processSize; in process()496 mFilledLen += processSize; in process()503 processSize); in process()527 if ((processSize + mFilledLen) < mNumPcmBytesPerInputFrame) in process()
314 const size_t processSize = MIN(kInBlockSize * frameSize, (inSize - inPos)); in process() local315 const unsigned nbInputFrames = processSize / frameSize; in process()316 const unsigned nbInputSamples = processSize / sampleSize; in process()318 ALOGV("about to encode %zu bytes", processSize); in process()338 inPos += processSize; in process()