Searched defs:Read (Results 1 - 25 of 30) sorted by relevance

12

/system/core/fastboot/
H A Dtcp_test.cpp115 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 Dtcp.cpp64 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 Dudp_test.cpp334 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 Dudp.cpp109 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 Dusb_osx.cpp73 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 Dusb_windows.cpp74 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 Dusb_linux.cpp99 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 DBacktracePtrace.cpp65 size_t BacktracePtrace::Read(uintptr_t addr, uint8_t* buffer, size_t bytes) { function in class:BacktracePtrace
H A DBacktraceCurrent.cpp56 size_t BacktraceCurrent::Read(uintptr_t addr, uint8_t* buffer, size_t bytes) { function in class:BacktraceCurrent
/system/core/libunwindstack/tests/
H A DMemoryFake.cpp36 bool MemoryFake::Read(uint64_t addr, void* memory, size_t size) { function in class:MemoryFake
/system/update_engine/common/
H A Dhwid_override.cc37 string HwidOverride::Read(const base::FilePath& root) { function in class:chromeos_update_engine::HwidOverride
/system/core/adb/
H A Dshell_service_protocol.cpp32 bool ShellProtocol::Read() { function in class:ShellProtocol
/system/tpm/tpm_manager/server/
H A Dlocal_data_store_impl.cc38 bool LocalDataStoreImpl::Read(LocalData* data) { function in class:tpm_manager::LocalDataStoreImpl
/system/core/debuggerd/libdebuggerd/test/
H A DBacktraceMock.h56 virtual size_t Read(uintptr_t addr, uint8_t* buffer, size_t bytes) { function in class:BacktraceMock
/system/nvram/messages/
H A Dio.cpp50 // 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 Dfile_descriptor.cc41 ssize_t EintrSafeFileDescriptor::Read(void* buf, size_t count) { function in class:chromeos_update_engine::EintrSafeFileDescriptor
H A Dmtd_file_descriptor.cc138 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 DFuseBuffer.cc70 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 DMemory.cpp38 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 DMemory.h34 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 Dzip_archive_stream_entry.cc19 // 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 Ddatabase_impl.cc92 if (!io_->Read(&buffer)) {
98 bool DatabaseImpl::Read(std::string* data) { function in class:attestation::DatabaseImpl
/system/update_engine/scripts/update_payload/
H A Dcommon.py105 def Read(file_obj, length, offset=None, hasher=None): function
/system/extras/simpleperf/
H A Drecord_file_reader.cpp69 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 Drecord_file_writer.cpp176 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())) {

Completed in 1167 milliseconds

12