Searched refs:bytes_to_read (Results 1 – 4 of 4) sorted by relevance
60 ssize_t bytes_to_read = h4_parser_.BytesRequested(); in OnDataReady() local61 std::vector<uint8_t> buffer(bytes_to_read); in OnDataReady()65 bytes_read = read(fd, buffer.data(), bytes_to_read); in OnDataReady()
107 size_t bytes_to_read = BytesRequested(); in Consume() local115 static_cast<int>(bytes_to_read)); in Consume()
535 const auto bytes_to_read = std::min<size_t>(bytes_remain, buf1.size()); in FileEquals() local536 if (fd1->Read(buf1.data(), bytes_to_read) != bytes_to_read) { in FileEquals()540 if (!fd2->Read(buf2.data(), bytes_to_read)) { in FileEquals()544 if (memcmp(buf1.data(), buf2.data(), bytes_to_read)) { in FileEquals()
35 constexpr size_t bytes_to_read = kBufferSize - kUngetSize; in underflow() local47 bytes_to_read); in underflow()