/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 | 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_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 | 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_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 | 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_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 | 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_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 | 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_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_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 | 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()
|
D | ipc_test_message_generator.cc | 19 namespace IPC { namespace 25 namespace IPC { namespace 31 namespace IPC { namespace
|
D | ipc_security_test_util.cc | 12 namespace IPC { namespace 15 const IPC::Message& message) { in PwnMessageReceived() 18 base::IgnoreResult(&IPC::ChannelProxy::Context::OnMessageReceived), in PwnMessageReceived()
|
/external/llvm-project/llvm/test/tools/llvm-mca/X86/ |
D | cpus.s | 25 # BARCELONA-NEXT: IPC: 0.97 30 # BDVER2-NEXT: IPC: 0.97 35 # BROADWELL-NEXT: IPC: 0.97 40 # BTVER2-NEXT: IPC: 0.97 45 # HASWELL-NEXT: IPC: 0.97 50 # IVYBRIDGE-NEXT: IPC: 0.97 55 # KNL-NEXT: IPC: 0.97 60 # SANDYBRIDGE-NEXT: IPC: 0.97 65 # SKX-NEXT: IPC: 0.97 70 # SKX-AVX512-NEXT: IPC: 0.97 [all …]
|
D | uop-queue.s | 24 # BTVER2-DEC-2-NEXT: IPC: 2.00 69 # BTVER2-DEC-1-NEXT: IPC: 1.00 74 # BTVER2-UOPQ-1-NEXT: IPC: 1.00 79 # BTVER2-UOPQ-2-NEXT: IPC: 2.00 84 # HASWELL-DEC-2-NEXT: IPC: 2.00 89 # HASWELL-UOPQ-1-NEXT: IPC: 1.00 94 # HASWELL-UOPQ-2-NEXT: IPC: 2.00 99 # HASWELL-UOPQ-3-NEXT: IPC: 3.00 104 # HASWELL-UOPQ-4-NEXT: IPC: 3.99
|
/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/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()
|