Searched refs:bytesRead (Results 1 – 6 of 6) sorted by relevance
/system/timezone/apex/tests/src/java/android/tzdata/mts/ |
D | TimeZoneVersionTest.java | 87 int bytesRead = in.read(max, 0, maxBytes); in readBytes() local 88 byte[] toReturn = new byte[bytesRead]; in readBytes() 89 System.arraycopy(max, 0, toReturn, 0, bytesRead); in readBytes()
|
/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/core/adb/client/ |
D | incremental_server.cpp | 392 const int64_t bytesRead = file.ReadTreeBlock(blockIdx, buffer.data); in SendTreeBlock() local 393 if (bytesRead <= 0) { in SendTreeBlock() 402 buffer.header.block_size = toBigEndian(int16_t(bytesRead)); in SendTreeBlock() 405 Send(&buffer, ResponseHeader::responseSizeFor(bytesRead), /*flush=*/false); in SendTreeBlock() 427 const int64_t bytesRead = file.ReadDataBlock(blockIdx, raw.data, &isZipCompressed); in SendDataBlock() local 428 if (bytesRead < 0) { in SendDataBlock() 437 compressedSize = LZ4_compress_default(raw.data, compressed.data, bytesRead, kCompressBound); in SendDataBlock() 448 blockSize = bytesRead; in SendDataBlock()
|
/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 | 411 size_t bytesRead = readPtr - (extraFieldStart + offset); in ParseZip64ExtendedInfoInExtraField() local 412 if (bytesRead == 0) { in ParseZip64ExtendedInfoInExtraField() 417 if (dataSize != bytesRead) { in ParseZip64ExtendedInfoInExtraField() 423 bytesRead, dataSize, zip32UncompressedSize, zip32CompressedSize, in ParseZip64ExtendedInfoInExtraField()
|
/system/netd/tests/ |
D | binder_test.cpp | 3626 ssize_t bytesRead; in expectPacket() local 3628 while ((bytesRead = read(fd, buf, sizeof(buf))) >= 0) { in expectPacket() 3636 if (bytesRead != expectedLen) { in expectPacket()
|