/system/core/fastboot/ |
H A D | tcp_test.cpp | 115 bool Read(const std::string& message) { function in class:TcpTest 117 return transport_->Read(&buffer[0], buffer.length()) == 138 EXPECT_TRUE(Read("foo")); 149 EXPECT_TRUE(Read("foo")); 172 EXPECT_TRUE(Read(data)); 190 EXPECT_TRUE(Read("OKAY0.4")); 193 EXPECT_TRUE(Read("INFOversion: 0.4")); 194 EXPECT_TRUE(Read("INFOfoo: bar")); 195 EXPECT_TRUE(Read("OKAY")); 202 EXPECT_EQ(-1, transport_->Read(buffe [all...] |
H A D | tcp.cpp | 64 ssize_t Read(void* data, size_t length) override; 127 ssize_t TcpTransport::Read(void* data, size_t length) { function in class:tcp::TcpTransport
|
H A D | udp_test.cpp | 334 bool Read(const std::string& message) { function in class:UdpTest 336 return transport_->Read(&buffer[0], buffer.length()) == 359 EXPECT_TRUE(Read("bar")); 372 EXPECT_TRUE(Read("bar")); 388 EXPECT_TRUE(Read("foo bar baz")); 389 EXPECT_TRUE(Read("\x01\x02\x03\x04\x05")); 421 // at the socket layer, a single call to Transport::Read() and Transport::Write() is all the 453 EXPECT_TRUE(Read(data)); 464 EXPECT_TRUE(Read("foobar")); 474 EXPECT_FALSE(Read("fo [all...] |
H A D | udp.cpp | 109 ssize_t Read(void* data, size_t length) override; 327 ssize_t UdpTransport::Read(void* data, size_t length) { function in class:udp::UdpTransport 328 // Read from the target by sending an empty packet.
|
H A D | usb_osx.cpp | 73 ssize_t Read(void* data, size_t len) override; 480 ssize_t OsxUsbTransport::Read(void* data, size_t len) { function in class:OsxUsbTransport
|
H A D | usb_windows.cpp | 74 ssize_t Read(void* data, size_t len) override; 193 ssize_t WindowsUsbTransport::Read(void* data, size_t len) { function in class:WindowsUsbTransport
|
H A D | usb_linux.cpp | 99 ssize_t Read(void* data, size_t len) override; 174 /* Read device serial number (if there is one). 422 ssize_t LinuxUsbTransport::Read(void* _data, size_t len) function in class:LinuxUsbTransport
|
/system/core/libbacktrace/ |
H A D | BacktracePtrace.cpp | 65 size_t BacktracePtrace::Read(uintptr_t addr, uint8_t* buffer, size_t bytes) { function in class:BacktracePtrace
|
H A D | BacktraceCurrent.cpp | 56 size_t BacktraceCurrent::Read(uintptr_t addr, uint8_t* buffer, size_t bytes) { function in class:BacktraceCurrent
|
/system/core/libunwindstack/tests/ |
H A D | MemoryFake.cpp | 36 bool MemoryFake::Read(uint64_t addr, void* memory, size_t size) { function in class:MemoryFake
|
/system/update_engine/common/ |
H A D | hwid_override.cc | 37 string HwidOverride::Read(const base::FilePath& root) { function in class:chromeos_update_engine::HwidOverride
|
/system/core/adb/ |
H A D | shell_service_protocol.cpp | 32 bool ShellProtocol::Read() { function in class:ShellProtocol
|
/system/tpm/tpm_manager/server/ |
H A D | local_data_store_impl.cc | 38 bool LocalDataStoreImpl::Read(LocalData* data) { function in class:tpm_manager::LocalDataStoreImpl
|
/system/core/debuggerd/libdebuggerd/test/ |
H A D | BacktraceMock.h | 56 virtual size_t Read(uintptr_t addr, uint8_t* buffer, size_t bytes) { function in class:BacktraceMock
|
/system/nvram/messages/ |
H A D | io.cpp | 50 // Read a varint-encoded number from stream, decode it and store the result in 87 bool InputStreamBuffer::Read(void* data, size_t size) { function in class:nvram::InputStreamBuffer 288 return stream_buffer_->Read(data, size);
|
/system/update_engine/payload_consumer/ |
H A D | file_descriptor.cc | 41 ssize_t EintrSafeFileDescriptor::Read(void* buf, size_t count) { function in class:chromeos_update_engine::EintrSafeFileDescriptor
|
H A D | mtd_file_descriptor.cc | 138 ssize_t MtdFileDescriptor::Read(void* buf, size_t count) { function in class:chromeos_update_engine::MtdFileDescriptor 217 ssize_t UbiFileDescriptor::Read(void* buf, size_t count) { function in class:chromeos_update_engine::UbiFileDescriptor 219 return EintrSafeFileDescriptor::Read(buf, count);
|
/system/core/libappfuse/ |
H A D | FuseBuffer.cc | 70 LOG(ERROR) << "Read bytes " << result << " are shorter than header size " << sizeof(header); 74 if (!CheckHeaderLength<T>(self, "Read", sizeof(T))) { 79 LOG(ERROR) << "Read bytes " << result << " are different from header.len " << header.len; 161 bool FuseMessage<T>::Read(int fd) { function in class:android::fuse::FuseMessage
|
/system/core/libunwindstack/ |
H A D | Memory.cpp | 38 if (!Read(addr, &value, sizeof(value))) { 51 bool MemoryBuffer::Read(uint64_t addr, void* dst, size_t size) { function in class:MemoryBuffer 115 bool MemoryFileAtOffset::Read(uint64_t addr, void* dst, size_t size) { function in class:MemoryFileAtOffset 140 bool MemoryRemote::Read(uint64_t addr, void* dst, size_t bytes) { function in class:MemoryRemote 177 bool MemoryLocal::Read(uint64_t addr, void* dst, size_t size) { function in class:MemoryLocal 202 if (!MemoryFileAtOffset::Read(0, &start_, sizeof(start_))) { 210 bool MemoryOffline::Read(uint64_t addr, void* dst, size_t size) { function in class:MemoryOffline
|
H A D | Memory.h | 34 virtual bool Read(uint64_t addr, void* dst, size_t size) = 0; 36 inline bool Read(uint64_t addr, void* start, void* field, size_t size) { function in class:Memory 37 return Read(addr + reinterpret_cast<uintptr_t>(field) - reinterpret_cast<uintptr_t>(start), 42 return Read(addr, dst, sizeof(uint32_t)); 46 return Read(addr, dst, sizeof(uint64_t)); 55 bool Read(uint64_t addr, void* dst, size_t size) override; 74 bool Read(uint64_t addr, void* dst, size_t size) override; 91 bool Read(uint64_t addr, void* dst, size_t size) override; 102 bool Read(uint64_t addr, void* dst, size_t size) override; 115 bool Read(uint64_ [all...] |
/system/core/libziparchive/ |
H A D | zip_archive_stream_entry.cc | 19 // Read-only stream access to Zip Archive entries. 57 const std::vector<uint8_t>* Read() override; 84 const std::vector<uint8_t>* ZipArchiveStreamEntryUncompressed::Read() { function in class:ZipArchiveStreamEntryUncompressed 120 const std::vector<uint8_t>* Read() override; 199 const std::vector<uint8_t>* ZipArchiveStreamEntryCompressed::Read() { function in class:ZipArchiveStreamEntryCompressed
|
/system/tpm/attestation/server/ |
H A D | database_impl.cc | 92 if (!io_->Read(&buffer)) { 98 bool DatabaseImpl::Read(std::string* data) { function in class:attestation::DatabaseImpl
|
/system/update_engine/scripts/update_payload/ |
H A D | common.py | 105 def Read(file_obj, length, offset=None, hasher=None): function
|
/system/extras/simpleperf/ |
H A D | record_file_reader.cpp | 69 if (!Read(&header_, sizeof(header_))) { 95 if (!Read(buf.data(), buf.size())) { 147 if (!Read(&desc, sizeof(desc))) { 162 if (!Read(ids->data(), attr.ids.size)) { 220 if (!Read(header_buf, Record::header_size())) { 226 // Read until meeting a RECORD_SPLIT_END record. 233 if (!Read(&buf[cur_size], bytes_to_read)) { 238 if (!Read(header_buf, Record::header_size())) { 255 if (!Read(p.get() + Record::header_size(), header.size - Record::header_size())) { 287 bool RecordFileReader::Read(voi function in class:RecordFileReader [all...] |
H A D | record_file_writer.cpp | 176 bool RecordFileWriter::Read(void* buf, size_t len) { function in class:RecordFileWriter 192 if (!Read(record_buf.data(), Record::header_size())) { 199 if (!Read(record_buf.data() + Record::header_size(), header.size - Record::header_size())) {
|