Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DRpcTransportRaw.cpp90 ssize_t processSize = in interruptableReadOrWrite() local
93 if (processSize < 0) { in interruptableReadOrWrite()
102 } else if (processSize == 0) { in interruptableReadOrWrite()
105 while (processSize > 0 && niovs > 0) { in interruptableReadOrWrite()
107 if (static_cast<size_t>(processSize) < iov.iov_len) { in interruptableReadOrWrite()
109 iov.iov_base = reinterpret_cast<char*>(iov.iov_base) + processSize; in interruptableReadOrWrite()
110 iov.iov_len -= processSize; in interruptableReadOrWrite()
115 processSize -= iov.iov_len; in interruptableReadOrWrite()
120 LOG_ALWAYS_FATAL_IF(processSize > 0, in interruptableReadOrWrite()
123 processSize); in interruptableReadOrWrite()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp387 size_t processSize = 0; in process() local
476 processSize = mNumPcmBytesPerInputFrame - mFilledLen; in process()
479 processSize = inSize - inPos; in process()
487 const unsigned nInputSamples = processSize / sizeof(int16_t); in process()
494 inPos += processSize; in process()
495 mFilledLen += processSize; in process()
502 processSize); in process()
526 if ((processSize + mFilledLen) < mNumPcmBytesPerInputFrame) in process()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp278 const size_t processSize = MIN(kInBlockSize * frameSize, (inSize - inPos)); in process() local
279 const unsigned nbInputFrames = processSize / frameSize; in process()
280 const unsigned nbInputSamples = processSize / sampleSize; in process()
282 ALOGV("about to encode %zu bytes", processSize); in process()
302 inPos += processSize; in process()