Searched defs:numBytesRead (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c129 ssize_t numBytesRead = 0; local
132 numBytesRead = read(fileDesc, pBuffer, numBytes);
135 return numBytesRead >= 0 && (size_t)numBytesRead == numBytes;
/frameworks/base/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp296 int32_t numBytesRead; local
299 numBytesRead =
306 if (numBytesRead == -1) {
315 ++numBytesRead; // Include the frame type header byte.
317 if (static_cast<size_t>(numBytesRead) > inHeader->nFilledLen) {
353 numBytesRead = frameSize;
356 inHeader->nOffset += numBytesRead;
357 inHeader->nFilledLen -= numBytesRead;
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c304 ssize_t numBytesRead; local
307 numBytesRead = -1;
311 numBytesRead = read(pSession->fileDesc, pBuffer, numBytes);
312 for (i = 0; i < numBytesRead; ++i) {
317 return numBytesRead;
391 ssize_t numBytesRead; local
393 while ((numBytesRead =
395 HMAC_Update(&pSession->signingContext, pData->buffer, (size_t)numBytesRead);
397 if (numBytesRead < 0) {
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c1269 ssize_t numBytesRead; local
1271 while ((numBytesRead =
1273 status = FwdLockConv_ConvertData(sessionId, pReadBuffer, (size_t)numBytesRead,
1293 if (numBytesRead < 0) {

Completed in 56 milliseconds