Home
last modified time | relevance | path

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

/system/timezone/apex/tests/src/java/android/tzdata/mts/
DTimeZoneVersionTest.java94 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/
Drkp_factory_extraction_tool.cpp58 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/
DFileUtils.java172 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/
Dtzdatacheck.cpp109 size_t bytesRead = fread(buffer, 1, byteCount, file); in readBytes() local
111 if (bytesRead != byteCount) { in readBytes()
/system/libziparchive/
Dzip_archive.cc448 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/
Dbinder_test.cpp3670 ssize_t bytesRead; in expectPacket() local
3672 while ((bytesRead = read(fd, buf, sizeof(buf))) >= 0) { in expectPacket()
3680 if (bytesRead != expectedLen) { in expectPacket()