Searched refs:bytesRead (Results 1 – 6 of 6) sorted by relevance
/system/timezone/apex/tests/src/java/android/tzdata/mts/ |
D | TimeZoneVersionTest.java | 94 int bytesRead = in.read(max, 0, maxBytes); in readBytes() local 95 byte[] toReturn = new byte[bytesRead]; in readBytes() 96 System.arraycopy(max, 0, toReturn, 0, bytesRead); in readBytes()
|
/system/security/provisioner/ |
D | rkp_factory_extraction_tool.cpp | 58 int bytesRead = getrandom(writePtr, bytesRemaining, /*flags=*/0); in generateChallenge() local 59 if (bytesRead < 0 && errno != EINTR) { in generateChallenge() 63 bytesRemaining -= bytesRead; in generateChallenge() 64 writePtr += bytesRead; in generateChallenge()
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | FileUtils.java | 172 int bytesRead = in.read(max, 0, maxBytes); in readBytes() local 173 byte[] toReturn = new byte[bytesRead]; in readBytes() 174 System.arraycopy(max, 0, toReturn, 0, bytesRead); in readBytes()
|
/system/timezone/tzdatacheck/ |
D | tzdatacheck.cpp | 109 size_t bytesRead = fread(buffer, 1, byteCount, file); in readBytes() local 111 if (bytesRead != byteCount) { in readBytes()
|
/system/libziparchive/ |
D | zip_archive.cc | 448 size_t bytesRead = readPtr - (extraFieldStart + offset); in ParseZip64ExtendedInfoInExtraField() local 449 if (bytesRead == 0) { in ParseZip64ExtendedInfoInExtraField() 454 if (dataSize != bytesRead) { in ParseZip64ExtendedInfoInExtraField() 460 bytesRead, dataSize, zip32UncompressedSize, zip32CompressedSize, in ParseZip64ExtendedInfoInExtraField()
|
/system/netd/tests/ |
D | binder_test.cpp | 3670 ssize_t bytesRead; in expectPacket() local 3672 while ((bytesRead = read(fd, buf, sizeof(buf))) >= 0) { in expectPacket() 3680 if (bytesRead != expectedLen) { in expectPacket()
|