Searched refs:read_length (Results 1 – 7 of 7) sorted by relevance
/system/core/fastboot/device/ |
D | tcp_client.cpp | 81 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/ |
D | blockdiff.py | 54 read_length = min(max_length, block_size) 55 data1 = file1.read(read_length) 56 data2 = file2.read(read_length)
|
/system/keymaster/android_keymaster/ |
D | serializable.cpp | 131 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/ |
D | applier.py | 76 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/ |
D | Memory.cpp | 374 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/ |
D | serializable.h | 243 bool read(uint8_t* dest, size_t read_length);
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 293 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()
|