/external/v8/tools/clang/plugins/tests/ |
D | ipc.txt | 1 ipc.cpp:83:26: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'. 4 ipc.cpp:107:24: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'. 7 ipc.cpp:135:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'. 8 IPC::WriteParam(pickle, size_t(0)); // ERROR 10 ipc.cpp:145:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'time_t'. 11 IPC::WriteParam(pickle, time_t(0)); // ERROR 13 ipc.cpp:156:27: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'. 14 IPC::WriteParam(pickle, long(0)); // ERROR 16 ipc.cpp:162:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'clock_t'. 17 IPC::WriteParam(pickle, clock_t(0)); // ERROR [all …]
|
D | ipc.cpp | 51 namespace IPC { namespace 79 struct IPC::ParamTraits<Data> { 93 struct IPC::ParamTraits<Container<T>> { 96 IPC::WriteParam(pickle, container.value); // NOT CHECKED in Write() 100 IPC::WriteParam<T>(pickle, container.value); // NOT CHECKED in Write() 117 struct IPC::ParamTraits<MultiContainer<T, Ts...>> { 132 IPC::WriteParam(pickle, T(0)); // NOT CHECKED in Write() 135 IPC::WriteParam(pickle, size_t(0)); // ERROR in Write() 136 IPC::WriteParam(pickle, uint64_t(0)); // OK in Write() 142 IPC::WriteParam(pickle, U(0)); // NOT CHECKED in WriteEx() [all …]
|
/external/libchrome/ipc/ |
D | ipc_channel_mojo_unittest.cc | 61 void SendString(IPC::Sender* sender, const std::string& str) { in SendString() 62 IPC::Message* message = new IPC::Message(0, 2, IPC::Message::PRIORITY_NORMAL); in SendString() 67 void SendValue(IPC::Sender* sender, int32_t value) { in SendValue() 68 IPC::Message* message = new IPC::Message(0, 2, IPC::Message::PRIORITY_NORMAL); in SendValue() 73 class ListenerThatExpectsOK : public IPC::Listener { 80 bool OnMessageReceived(const IPC::Message& message) override { in OnMessageReceived() 97 static void SendOK(IPC::Sender* sender) { SendString(sender, "OK"); } in SendOK() 104 class TestListenerBase : public IPC::Listener { 112 void set_sender(IPC::Sender* sender) { sender_ = sender; } in set_sender() 113 IPC::Sender* sender() const { return sender_; } in sender() [all …]
|
D | ipc_message_unittest.cc | 35 namespace IPC { namespace 42 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST() 74 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST() 75 IPC::WriteParam(&msg, input); in TEST() 79 EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output)); in TEST() 84 IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST() 87 EXPECT_FALSE(IPC::ReadParam(&bad_msg, &iter, &output)); in TEST() 109 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST() 110 IPC::WriteParam(&msg, input); in TEST() 114 EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output)); in TEST() [all …]
|
D | ipc_message_utils_unittest.cc | 21 namespace IPC { namespace 43 IPC::Message result_msg; in TEST() 60 IPC::Message dummy; in TEST() 72 IPC::Message message; in TEST() 90 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST() 91 IPC::WriteParam(&msg, stack_vector); in TEST() 95 EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output)); in TEST() 102 IPC::ChannelHandle channel_handle(message_pipe.handle0.release()); in TEST() 104 IPC::Message message; in TEST() 105 IPC::WriteParam(&message, channel_handle); in TEST() [all …]
|
D | native_handle_type_converters.cc | 10 IPC::MessageAttachment::Type 11 TypeConverter<IPC::MessageAttachment::Type, native::SerializedHandle_Type>:: 15 return IPC::MessageAttachment::Type::MOJO_HANDLE; in Convert() 17 return IPC::MessageAttachment::Type::PLATFORM_FILE; in Convert() 19 return IPC::MessageAttachment::Type::WIN_HANDLE; in Convert() 21 return IPC::MessageAttachment::Type::MACH_PORT; in Convert() 23 return IPC::MessageAttachment::Type::FUCHSIA_HANDLE; in Convert() 26 return IPC::MessageAttachment::Type::MOJO_HANDLE; in Convert() 32 IPC::MessageAttachment::Type>::Convert(IPC::MessageAttachment::Type type) { in Convert() 34 case IPC::MessageAttachment::Type::MOJO_HANDLE: in Convert() [all …]
|
D | ipc_fuzzing_tests.cc | 48 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST() 61 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST() 72 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST() 85 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST() 104 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST() 118 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST() 132 IPC::WriteParam(&pickle, 256 * 1024 * 1024); in TEST() 133 IPC::WriteParam(&pickle, 0); in TEST() 134 IPC::WriteParam(&pickle, 1); in TEST() 135 IPC::WriteParam(&pickle, 2); in TEST() [all …]
|
D | ipc_mojo_bootstrap_unittest.cc | 26 explicit Connection(std::unique_ptr<IPC::MojoBootstrap> bootstrap, in Connection() 33 void TakeReceiver(IPC::mojom::ChannelAssociatedRequest* receiver) { in TakeReceiver() 37 IPC::mojom::ChannelAssociatedPtr& GetSender() { return sender_; } in GetSender() 40 IPC::mojom::ChannelAssociatedPtr sender_; 41 IPC::mojom::ChannelAssociatedRequest receiver_; 42 std::unique_ptr<IPC::MojoBootstrap> bootstrap_; 45 class PeerPidReceiver : public IPC::mojom::Channel { 54 IPC::mojom::ChannelAssociatedRequest request, in PeerPidReceiver() 75 void Receive(IPC::MessageView message_view) override { in Receive() 79 IPC::Message message(message_view.data(), message_view.size()); in Receive() [all …]
|
D | ipc_message_protobuf_utils_unittest.cc | 22 namespace IPC { namespace 92 IPC::WriteParam(&pickle, message); in TEST() 96 ASSERT_TRUE(IPC::ReadParam(&pickle, &iter, &output)); in TEST() 112 IPC::WriteParam(&pickle, message); in TEST() 116 ASSERT_TRUE(IPC::ReadParam(&pickle, &iter, &output)); in TEST() 127 IPC::WriteParam(&pickle, message); in TEST() 131 ASSERT_TRUE(IPC::ReadParam(&pickle, &iter, &output)); in TEST() 141 IPC::WriteParam(&pickle, INT_MAX); in TEST() 142 IPC::WriteParam(&pickle, 0); in TEST() 143 IPC::WriteParam(&pickle, INT_MAX); in TEST() [all …]
|
D | message_mojom_traits.cc | 13 StructTraits<IPC::mojom::MessageDataView, IPC::MessageView>::buffer( in buffer() 14 IPC::MessageView& view) { in buffer() 20 StructTraits<IPC::mojom::MessageDataView, IPC::MessageView>::handles( in handles() 21 IPC::MessageView& view) { in handles() 26 bool StructTraits<IPC::mojom::MessageDataView, IPC::MessageView>::Read( in Read() 27 IPC::mojom::MessageDataView data, in Read() 28 IPC::MessageView* out) { in Read() 36 *out = IPC::MessageView(std::move(buffer_view), std::move(handles)); in Read()
|
D | ipc_channel_proxy_unittest.cc | 33 namespace IPC { namespace 39 namespace IPC { namespace 45 namespace IPC { namespace 59 class QuitListener : public IPC::Listener { 63 bool OnMessageReceived(const IPC::Message& message) override { in OnMessageReceived() 71 void OnBadMessageReceived(const IPC::Message& message) override { in OnBadMessageReceived() 92 class ChannelReflectorListener : public IPC::Listener { 96 void Init(IPC::Channel* channel) { in Init() 101 bool OnMessageReceived(const IPC::Message& message) override { in OnMessageReceived() 134 IPC::Channel* channel_ = nullptr; [all …]
|
D | message_router.cc | 9 namespace IPC { namespace 15 bool MessageRouter::OnControlMessageReceived(const IPC::Message& msg) { in OnControlMessageReceived() 21 bool MessageRouter::Send(IPC::Message* msg) { in Send() 27 bool MessageRouter::AddRoute(int32_t routing_id, IPC::Listener* listener) { in AddRoute() 44 bool MessageRouter::OnMessageReceived(const IPC::Message& msg) { in OnMessageReceived() 51 bool MessageRouter::RouteMessage(const IPC::Message& msg) { in RouteMessage() 52 IPC::Listener* listener = routes_.Lookup(msg.routing_id()); in RouteMessage()
|
D | message_mojom_traits.h | 20 class StructTraits<IPC::mojom::MessageDataView, IPC::MessageView> { 22 static mojo_base::BigBufferView buffer(IPC::MessageView& view); 24 IPC::MessageView& view); 26 static bool Read(IPC::mojom::MessageDataView data, IPC::MessageView* out);
|
D | ipc_message_utils.h | 58 namespace IPC { 68 struct COMPONENT_EXPORT(IPC) LogData { in COMPONENT_EXPORT() argument 138 COMPONENT_EXPORT(IPC) static void Log(const param_type& p, std::string* l); 142 struct COMPONENT_EXPORT(IPC) ParamTraits<signed char> { 152 struct COMPONENT_EXPORT(IPC) ParamTraits<unsigned char> { 162 struct COMPONENT_EXPORT(IPC) ParamTraits<unsigned short> { 180 COMPONENT_EXPORT(IPC) static void Log(const param_type& p, std::string* l); 192 COMPONENT_EXPORT(IPC) static void Log(const param_type& p, std::string* l); 219 COMPONENT_EXPORT(IPC) static void Log(const param_type& p, std::string* l); 233 COMPONENT_EXPORT(IPC) static void Log(const param_type& p, std::string* l); [all …]
|
D | sync_socket_unittest.cc | 58 class SyncSocketServerListener : public IPC::Listener { 63 void Init(IPC::Channel* chan) { in Init() 67 bool OnMessageReceived(const IPC::Message& msg) override { in OnMessageReceived() 97 IPC::Message* msg = new MsgClassResponse(kHelloString); in SetHandle() 105 IPC::Channel* chan_; 122 class SyncSocketClientListener : public IPC::Listener { 126 void Init(base::SyncSocket* socket, IPC::Channel* chan) { in Init() 131 bool OnMessageReceived(const IPC::Message& msg) override { in OnMessageReceived() 153 IPC::Message* msg = new MsgClassShutdown(); in OnMsgClassResponse() 159 IPC::Channel* chan_; [all …]
|
D | ipc_test_channel_listener.cc | 12 namespace IPC { namespace 15 void TestChannelListener::SendOneMessage(IPC::Sender* sender, in SendOneMessage() 19 IPC::Message* message = new IPC::Message(0, in SendOneMessage() 21 IPC::Message::PRIORITY_NORMAL); in SendOneMessage() 35 bool TestChannelListener::OnMessageReceived(const IPC::Message& message) { in OnMessageReceived()
|
D | ipc_test_base.h | 40 void CreateChannel(IPC::Listener* listener); 46 IPC::Sender* sender() { return channel(); } in sender() 47 IPC::Channel* channel() { return channel_.get(); } in channel() 59 std::unique_ptr<IPC::Channel> channel_; 71 void Connect(IPC::Listener* listener); 75 IPC::Channel* channel() const { return channel_.get(); } in channel() 80 std::unique_ptr<IPC::Channel> channel_;
|
D | ipc_send_fds_test.cc | 52 IPC::MessageAttachmentSet::kMaxDescriptorsPerMessage, 56 class MyChannelDescriptorListenerBase : public IPC::Listener { 58 bool OnMessageReceived(const IPC::Message& message) override { in OnMessageReceived() 61 while (IPC::ParamTraits<base::FileDescriptor>::Read( in OnMessageReceived() 125 IPC::Message* message = in RunServer() 126 new IPC::Message(0, 3, IPC::Message::PRIORITY_NORMAL); in RunServer() 131 IPC::ParamTraits<base::FileDescriptor>::Write(message, descriptor); in RunServer()
|
D | ipc_test_base.cc | 40 void IPCChannelMojoTestBase::CreateChannel(IPC::Listener* listener) { in CreateChannel() 41 channel_ = IPC::ChannelMojo::Create( in CreateChannel() 42 TakeHandle(), IPC::Channel::MODE_SERVER, listener, in CreateChannel() 66 void IpcChannelMojoTestClient::Connect(IPC::Listener* listener) { in Connect() 67 channel_ = IPC::ChannelMojo::Create( in Connect() 68 std::move(handle_), IPC::Channel::MODE_CLIENT, listener, in Connect()
|
D | native_handle_type_converters.h | 15 struct TypeConverter<IPC::MessageAttachment::Type, 17 static IPC::MessageAttachment::Type Convert( 23 IPC::MessageAttachment::Type> { 25 IPC::MessageAttachment::Type type);
|
D | ipc_channel.h | 35 namespace IPC { 47 class COMPONENT_EXPORT(IPC) Channel : public Sender { in COMPONENT_EXPORT() argument 88 class COMPONENT_EXPORT(IPC) AssociatedInterfaceSupport { in COMPONENT_EXPORT() 175 const IPC::ChannelHandle& channel_handle, in COMPONENT_EXPORT() 180 const IPC::ChannelHandle& channel_handle, in COMPONENT_EXPORT() 185 const IPC::ChannelHandle& channel_handle, in COMPONENT_EXPORT()
|
/external/libchrome/mojo/core/embedder/ |
D | README.md | 8 The Mojo Core Embedder API enables process to initialize and use Mojo for IPC, 40 or accepting Mojo invitations), a second IPC initialization step is required. 42 ## IPC Initialization 44 Internal Mojo IPC implementation requires a background `TaskRunner` on which it 46 `ScopedIPCSupport` object, which keeps IPC support alive through the extent of 52 for Mojo IPC support must be running a `base::MessageLoop::TYPE_IO` loop. 66 // As long as this object is alive, all Mojo API surface relevant to IPC 77 This process is now fully prepared to use Mojo IPC! 84 Once IPC is initialized, you can bootstrap connections to other processes by
|
/external/perfetto/docs/ |
D | ipc.md | 1 # Perfetto IPC 5 <!-- TODO(primiano): write IPC doc. --> 9 We needed an IPC for Android and Linux which was small, simple, controllable, 11 Our IPC transport is not mandatory outside of Android, you can wrap your own IPC 13 Perfetto `{Service,Producer,Consumer}` interfaces for IPC-less full in-process 26 issued after the IPC channel is destroyed.
|
D | life-of-a-tracing-session.md | 4 during a tracing session, with references to code and IPC requests / responses. 6 1. One or more producers connect to the tracing service and sets up their IPC 9 [`RegisterDataSource`](/protos/perfetto/ipc/producer_port.proto#34) IPC. 12 3. A consumer connects to the tracing service and sets up the IPC channel. 15 [`EnableTracing`](/protos/perfetto/ipc/consumer_port.proto#65) IPC. 22 [`SetupTracing`](/protos/perfetto/ipc/producer_port.proto#112) IPC message, 26 [`StartDataSource`](/protos/perfetto/ipc/producer_port.proto#105) IPC message 49 the `SharedMemoryArbiter` will send an other `CommitDataRequest` IPC message 67 [`DisableTracing`](/protos/perfetto/ipc/consumer_port.proto#38) IPC request 73 [`ReadBuffers`](/protos/perfetto/ipc/consumer_port.proto#41) IPC request
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | native_struct_serialization.h | 44 IPC::Message* message, 52 IPC::Message* message); 58 using Traits = IPC::ParamTraits<UserType>; 65 IPC::Message message; in Serialize() 97 IPC::Message message_view(reinterpret_cast<const char*>(header), in Deserialize()
|