Searched defs:Read (Results 1 - 25 of 39) 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...]
/system/core/libbacktrace/
H A DBacktracePtrace.cpp65 size_t BacktracePtrace::Read(uint64_t addr, uint8_t* buffer, size_t bytes) { function in class:BacktracePtrace
H A DBacktraceCurrent.cpp56 size_t BacktraceCurrent::Read(uint64_t addr, uint8_t* buffer, size_t bytes) { function in class:BacktraceCurrent
H A DUnwindStack.cpp190 size_t UnwindStackPtrace::Read(uint64_t addr, uint8_t* buffer, size_t bytes) { function in class:UnwindStackPtrace
191 return memory_.Read(addr, buffer, bytes);
232 size_t UnwindStackOffline::Read(uint64_t, uint8_t*, size_t) { function in class:UnwindStackOffline
/system/core/libunwindstack/tests/
H A DMemoryFake.cpp38 size_t MemoryFake::Read(uint64_t addr, void* memory, size_t size) { function in class:unwindstack::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/update_engine/payload_consumer/
H A Dfake_file_descriptor.cc21 ssize_t FakeFileDescriptor::Read(void* buf, size_t count) { function in class:chromeos_update_engine::FakeFileDescriptor
H A Dextent_reader.cc64 bool DirectExtentReader::Read(void* buffer, size_t count) { function in class:chromeos_update_engine::DirectExtentReader
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/adb/
H A Dshell_service_protocol.cpp32 bool ShellProtocol::Read() { function in class:ShellProtocol
H A Dtransport_usb.cpp150 bool UsbConnection::Read(apacket* packet) { function in class:UsbConnection
/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/libunwindstack/
H A DRegsArm64.cpp107 Regs* RegsArm64::Read(void* remote_data) { function in class:unwindstack::RegsArm64
129 // Read from elf memory since it is usually more expensive to read from
H A DRegsMips64.cpp108 Regs* RegsMips64::Read(void* remote_data) { function in class:unwindstack::RegsMips64
132 // Read from elf memory since it is usually more expensive to read from
134 if (!elf_memory->Read(rel_pc, &data, sizeof(data))) {
150 if (!process_memory->Read(sp + 24 + 128 + 40, regs_.data(),
157 if (!process_memory->Read(sp + 24 + 128 + 40 + 576, &regs_[MIPS64_REG_PC], sizeof(uint64_t))) {
H A DRegsArm.cpp113 Regs* RegsArm::Read(void* remote_data) { function in class:unwindstack::RegsArm
132 // Read from elf memory since it is usually more expensive to read from
H A DRegsMips.cpp108 Regs* RegsMips::Read(void* remote_data) { function in class:unwindstack::RegsMips
135 // Read from elf memory since it is usually more expensive to read from
137 if (!elf_memory->Read(rel_pc, &data, sizeof(data))) {
162 if (!process_memory->Read(regs_[MIPS_REG_SP] + offset, values, sizeof(values))) {
H A DRegsX86.cpp84 Regs* RegsX86::Read(void* user_data) { function in class:unwindstack::RegsX86
125 // Read from elf memory since it is usually more expensive to read from
H A DRegsX86_64.cpp92 Regs* RegsX86_64::Read(void* remote_data) { function in class:unwindstack::RegsX86_64
144 // Read from elf memory since it is usually more expensive to read from
160 // Read the mcontext data from the stack.
/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/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;
164 bool FuseMessage<T>::Read(int fd) { function in class:android::fuse::FuseMessage
/system/core/libziparchive/
H A Dzip_archive_stream_entry.cc19 // Read-only stream access to Zip Archive entries.
52 const std::vector<uint8_t>* Read() override;
79 const std::vector<uint8_t>* ZipArchiveStreamEntryUncompressed::Read() { function in class:ZipArchiveStreamEntryUncompressed
116 const std::vector<uint8_t>* Read() override;
194 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

Completed in 462 milliseconds

12