Searched defs:bytes_to_read (Results 1 - 7 of 7) sorted by relevance
/system/bt/osi/test/ |
H A D | eager_reader_test.cpp | 106 size_t bytes_to_read = (length - i) > 28 ? 28 : (length - i); local 107 size_t bytes_read = eager_reader_read(reader, buffer, bytes_to_read); 108 EXPECT_LE(bytes_read, bytes_to_read);
|
/system/update_engine/common/ |
H A D | file_fetcher.cc | 107 size_t bytes_to_read = buffer_.size(); local 109 bytes_to_read = std::min(static_cast<uint64_t>(bytes_to_read), 113 if (!bytes_to_read) { 120 bytes_to_read,
|
H A D | hash_calculator.cc | 57 off_t bytes_to_read = buffer.size(); local 58 if (length >= 0 && bytes_to_read > length - bytes_processed) { 59 bytes_to_read = length - bytes_processed; 61 ssize_t rc = HANDLE_EINTR(read(fd, buffer.data(), bytes_to_read));
|
H A D | utils.cc | 345 off_t bytes_to_read = sizeof(buf); local 346 if (size > 0 && bytes_to_read > size) { 347 bytes_to_read = size; 349 size_t nbytes = fread(buf, 1, bytes_to_read, fp);
|
/system/update_engine/payload_consumer/ |
H A D | filesystem_verifier_action.cc | 183 size_t bytes_to_read = std::min(static_cast<int64_t>(buffer_.size()), local 185 if (!bytes_to_read) { 192 bytes_to_read,
|
H A D | delta_performer.cc | 1248 ssize_t bytes_to_read = blocks_to_read * block_size_; local 1251 utils::PReadAll(source_fd_, buf.data(), bytes_to_read, 1254 TEST_AND_RETURN_FALSE(bytes_read_this_iteration == bytes_to_read); 1255 TEST_AND_RETURN_FALSE(source_hasher.Update(buf.data(), bytes_to_read));
|
/system/core/adb/ |
H A D | usb_linux_client.cpp | 309 int bytes_to_read = len < 4096 ? len : 4096; local 310 int n = unix_read(h->fd, data, bytes_to_read); local 311 if (n != bytes_to_read) {
|
Completed in 81 milliseconds