Home
last modified time | relevance | path

Searched refs:message_view (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/ipc/
Dipc_message_pipe_reader.cc84 void MessagePipeReader::Receive(MessageView message_view) { in Receive() argument
85 if (!message_view.size()) { in Receive()
89 Message message(message_view.data(), message_view.size()); in Receive()
97 message_view.TakeHandles(), &message); in Receive()
Dipc_mojo_bootstrap_unittest.cc75 void Receive(IPC::MessageView message_view) override { in Receive() argument
79 IPC::Message message(message_view.data(), message_view.size()); in Receive()
Dipc_message_pipe_reader.h97 void Receive(MessageView message_view) override; in COMPONENT_EXPORT()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dnative_struct_serialization.h97 IPC::Message message_view(reinterpret_cast<const char*>(header), in Deserialize()
99 base::PickleIterator iter(message_view); in Deserialize()
101 data, context, &message_view)) { in Deserialize()
105 if (!Traits::Read(&message_view, &iter, out)) in Deserialize()
/external/libchrome/mojo/core/
Dchannel_posix.cc501 bool WriteNoLock(MessageView message_view) { in WriteNoLock() argument
503 outgoing_messages_.emplace_front(std::move(message_view)); in WriteNoLock()
508 message_view.advance_data_offset(bytes_written); in WriteNoLock()
511 std::vector<PlatformHandleInTransit> handles = message_view.TakeHandles(); in WriteNoLock()
513 iovec iov = {const_cast<void*>(message_view.data()), in WriteNoLock()
514 message_view.data_num_bytes()}; in WriteNoLock()
551 result = SocketWrite(socket_.get(), message_view.data(), in WriteNoLock()
552 message_view.data_num_bytes()); in WriteNoLock()
577 message_view.SetHandles(std::move(handles)); in WriteNoLock()
578 outgoing_messages_.emplace_front(std::move(message_view)); in WriteNoLock()
[all …]
Dchannel_fuchsia.cc381 bool WriteNoLock(MessageView message_view) { in WriteNoLock() argument
384 message_view.advance_data_offset(write_bytes); in WriteNoLock()
387 message_view.TakeHandles(); in WriteNoLock()
397 write_bytes = std::min(message_view.data_num_bytes(), in WriteNoLock()
399 zx_status_t result = handle_.write(0, message_view.data(), write_bytes, in WriteNoLock()
414 } while (write_bytes < message_view.data_num_bytes()); in WriteNoLock()
/external/v8/src/
Dd8.cc2410 v8_inspector::StringView message_view(buffer.get(), length); in SendInspectorMessage() local
2411 session->dispatchProtocolMessage(message_view); in SendInspectorMessage()