Home
last modified time | relevance | path

Searched refs:bytesRead (Results 1 – 5 of 5) sorted by relevance

/system/media/audio_utils/spdif/
DSPDIFDecoder.cpp62 auto bytesRead = readInput(&tmpBuffer[0], bytesToFill); in fillBurstDataBuffer() local
63 if (bytesRead > 0) { in fillBurstDataBuffer()
64 ALOGV("SPDIFDecoder: read %zd burst data bytes", bytesRead); in fillBurstDataBuffer()
65 auto written = mBurstDataBuffer.write(tmpBuffer.data(), bytesRead); in fillBurstDataBuffer()
66 LOG_ALWAYS_FATAL_IF(written != bytesRead); in fillBurstDataBuffer()
68 return bytesRead; in fillBurstDataBuffer()
73 size_t bytesRead = 0; in read() local
76 while (bytesRead < numBytes) { in read()
81 if (bytesRead > 0) { in read()
82 return bytesRead; in read()
[all …]
/system/timezone/apex/tests/src/java/android/tzdata/mts/
DTimeZoneVersionTest.java112 int bytesRead = in.read(max, 0, maxBytes); in readBytes() local
113 byte[] toReturn = new byte[bytesRead]; in readBytes()
114 System.arraycopy(max, 0, toReturn, 0, bytesRead); in readBytes()
/system/chre/host/exynos/
Dexynos_daemon.cc129 int bytesRead = read(mCommsReadFd, message.data(), message.size()); in processIncomingMsgs() local
130 if (bytesRead < 0) { in processIncomingMsgs()
132 } else if (bytesRead == 0) { in processIncomingMsgs()
135 onMessageReceived(message.data(), bytesRead); in processIncomingMsgs()
/system/security/provisioner/
Drkp_factory_extraction_lib.cpp88 int bytesRead = getrandom(writePtr, bytesRemaining, /*flags=*/0); in generateChallenge() local
89 if (bytesRead < 0) { in generateChallenge()
97 bytesRemaining -= bytesRead; in generateChallenge()
98 writePtr += bytesRead; in generateChallenge()
/system/libziparchive/
Dzip_archive.cc514 size_t bytesRead = readPtr - (extraFieldStart + offset); in ParseZip64ExtendedInfoInExtraField() local
515 if (bytesRead == 0) { in ParseZip64ExtendedInfoInExtraField()
520 if (dataSize != bytesRead) { in ParseZip64ExtendedInfoInExtraField()
526 bytesRead, dataSize, zip32UncompressedSize, zip32CompressedSize, in ParseZip64ExtendedInfoInExtraField()