Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DRpcTransportUtils.h60 ssize_t processSize = sendOrReceiveFun(iovs, niovs); in interruptableReadOrWrite() local
61 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()
DRpcTransportTipcAndroid.cpp112 ssize_t processSize = 0; in interruptableReadFully() local
118 processSize += numBytes; in interruptableReadFully()
121 return processSize; in interruptableReadFully()
164 ssize_t processSize = TEMP_FAILURE_RETRY( in fillReadBuffer() local
166 if (processSize == 0) { in fillReadBuffer()
168 } else if (processSize < 0) { in fillReadBuffer()
185 mReadBufferSize = static_cast<size_t>(processSize); in fillReadBuffer()
DOS_unix_base.cpp128 ssize_t processSize = TEMP_FAILURE_RETRY(recvmsg(socket.fd.get(), &msg, MSG_NOSIGNAL)); in receiveMessageFromSocket() local
129 if (processSize < 0) { in receiveMessageFromSocket()
153 return processSize; in receiveMessageFromSocket()
/frameworks/native/libs/binder/trusty/
DRpcTransportTipcTrusty.cpp164 size_t processSize = static_cast<size_t>(rc); in interruptableReadFully() local
165 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()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp388 size_t processSize = 0; in process() local
477 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()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp314 const size_t processSize = MIN(kInBlockSize * frameSize, (inSize - inPos)); in process() local
315 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()