Home
last modified time | relevance | path

Searched refs:read_length (Results 1 – 7 of 7) sorted by relevance

/system/core/fastboot/device/
Dtcp_client.cpp81 size_t read_length = len - total_read; in Read() local
82 if (read_length > message_bytes_left_) { in Read()
83 read_length = message_bytes_left_; in Read()
86 socket_->ReceiveAll(reinterpret_cast<char*>(data) + total_read, read_length, 0); in Read()
/system/update_engine/scripts/
Dblockdiff.py54 read_length = min(max_length, block_size)
55 data1 = file1.read(read_length)
56 data2 = file2.read(read_length)
/system/keymaster/android_keymaster/
Dserializable.cpp131 bool Buffer::read(uint8_t* dest, size_t read_length) { in read() argument
132 if (available_read() < read_length) return false; in read()
133 memcpy(dest, buffer_.get() + read_position_, read_length); in read()
134 read_position_ += read_length; in read()
/system/update_engine/scripts/update_payload/
Dapplier.py76 read_length = min(max_length, block_length)
77 data = file_obj.read(read_length)
115 read_length = min(max_length, ex.num_blocks * block_size)
118 data.fromfile(file_obj, read_length)
120 max_length -= read_length
/system/unwinding/libunwindstack/
DMemory.cpp374 uint64_t read_length = std::min(static_cast<uint64_t>(size), length_ - read_offset); in Read() local
380 return memory_->Read(read_addr, dst, read_length); in Read()
446 size_t read_length = std::min(size, static_cast<size_t>(end_ - addr)); in Read() local
447 memcpy(dst, &data_[addr - start_], read_length); in Read()
448 return read_length; in Read()
/system/keymaster/include/keymaster/
Dserializable.h243 bool read(uint8_t* dest, size_t read_length);
/system/core/debuggerd/
Ddebuggerd_test.cpp293 constexpr size_t read_length = PAGE_SIZE; in ConsumeFd() local
299 ssize_t rc = TEMP_FAILURE_RETRY(read(fd.get(), &result[offset], read_length)); in ConsumeFd()