Searched refs:read_length (Results 1 – 5 of 5) sorted by relevance
/system/core/adb/ |
D | shell_service_protocol.cpp | 45 size_t read_length = std::min(bytes_left_, data_capacity()); in Read() local 46 if (read_length && !ReadFdExactly(fd_, data(), read_length)) { in Read() 50 bytes_left_ -= read_length; in Read() 51 data_length_ = read_length; in Read()
|
/system/keymaster/ |
D | serializable.cpp | 130 bool Buffer::read(uint8_t* dest, size_t read_length) { in read() argument 131 if (available_read() < read_length) 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 | 53 read_length = min(max_length, block_length) 54 data = file_obj.read(read_length) 92 read_length = min(max_length, ex.num_blocks * block_size) 96 data.extend(itertools.repeat('\0', read_length)) 99 data.fromfile(file_obj, read_length) 101 max_length -= read_length
|
/system/keymaster/include/keymaster/ |
D | serializable.h | 228 bool read(uint8_t* dest, size_t read_length);
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 252 constexpr size_t read_length = PAGE_SIZE; in ConsumeFd() local 258 ssize_t rc = TEMP_FAILURE_RETRY(read(fd.get(), &result[offset], read_length)); in ConsumeFd()
|