Home
last modified time | relevance | path

Searched full:mojo (Results 1 – 25 of 1170) sorted by relevance

12345678910>>...47

/external/libchrome/
DBUILD.gn17 if (use.mojo) {
602 if (use.mojo) {
607 "mojo/public/cpp/base/big_buffer.typemap",
608 "mojo/public/cpp/base/big_string.typemap",
609 "mojo/public/cpp/base/file.typemap",
610 "mojo/public/cpp/base/file_error.typemap",
611 "mojo/public/cpp/base/file_info.typemap",
612 "mojo/public/cpp/base/file_path.typemap",
613 "mojo/public/cpp/base/memory_allocator_dump_cross_process_uid.typemap",
614 "mojo/public/cpp/base/process_id.typemap",
[all …]
DAndroid.bp488 "ui/gfx/geometry/mojo/geometry_struct_traits.h",
503 "ui/gfx/range/mojo/range_struct_traits.h",
1106 "mojo/public/interfaces/bindings/interface_control_messages.mojom",
1107 "mojo/public/interfaces/bindings/native_struct.mojom",
1108 "mojo/public/interfaces/bindings/pipe_control_messages.mojom",
1109 "mojo/public/mojom/base/big_buffer.mojom",
1110 "mojo/public/mojom/base/big_string.mojom",
1111 "mojo/public/mojom/base/file.mojom",
1112 "mojo/public/mojom/base/file_error.mojom",
1113 "mojo/public/mojom/base/file_info.mojom",
[all …]
/external/libchrome/mojo/public/cpp/system/
DREADME.md1 # Mojo C++ System API
2 This document is a subset of the [Mojo documentation](/mojo/README.md).
7 The Mojo C++ System API provides a convenient set of helper classes and
8 functions for working with Mojo primitives. Unlike the low-level
9 [C API](/mojo/public/c/system/README.md) (upon which this is built) this library
11 provide a slightly more idiomatic interface to the Mojo system layer, making it
16 [//mojo/public/cpp/system](https://cs.chromium.org/chromium/src/mojo/public/cpp/system/README.md).
19 top-level `mojo` namespace.
23 All types of Mojo handles in the C API are simply opaque, integral `MojoHandle`
45 mojo::MessagePipe pipe;
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Dstruct_with_traits.typemap5 mojom = "//mojo/public/interfaces/bindings/tests/struct_with_traits.mojom"
7 [ "//mojo/public/cpp/bindings/tests/struct_with_traits_impl.h" ]
9 [ "//mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h" ]
11 "//mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc",
14 "//mojo/public/cpp/bindings/tests:struct_with_traits_impl",
15 "//mojo/public/cpp/system:system",
19 "mojo.test.EnumWithTraits=mojo::test::EnumWithTraitsImpl",
20 "mojo.test.StructWithTraits=mojo::test::StructWithTraitsImpl",
21 "mojo.test.StructWithUnreachableTraits=mojo::test::StructWithUnreachableTraitsImpl",
22 "mojo.test.NestedStructWithTraits=mojo::test::NestedStructWithTraitsImpl",
[all …]
Dserialization_warning_unittest.cc11 #include "mojo/public/cpp/bindings/lib/array_internal.h"
12 #include "mojo/public/cpp/bindings/lib/fixed_buffer.h"
13 #include "mojo/public/cpp/bindings/lib/serialization.h"
14 #include "mojo/public/cpp/bindings/lib/validation_errors.h"
15 #include "mojo/public/cpp/system/message_pipe.h"
16 #include "mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom.h"
17 #include "mojo/public/interfaces/bindings/tests/test_unions.mojom.h"
20 namespace mojo { namespace
24 using mojo::internal::ContainerValidateParams;
48 void TestWarning(T obj, mojo::internal::ValidationError expected_warning) { in TestWarning()
[all …]
Dunion_unittest.cc13 #include "mojo/public/cpp/bindings/binding.h"
14 #include "mojo/public/cpp/bindings/lib/array_internal.h"
15 #include "mojo/public/cpp/bindings/lib/fixed_buffer.h"
16 #include "mojo/public/cpp/bindings/lib/serialization.h"
17 #include "mojo/public/cpp/bindings/lib/validation_context.h"
18 #include "mojo/public/cpp/bindings/lib/validation_errors.h"
19 #include "mojo/public/cpp/bindings/message.h"
20 #include "mojo/public/cpp/test_support/test_utils.h"
21 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h"
22 #include "mojo/public/interfaces/bindings/tests/test_unions.mojom.h"
[all …]
Dtest_native_types_chromium.typemap5 mojom = "//mojo/public/interfaces/bindings/tests/test_native_types.mojom"
7 "//mojo/public/cpp/bindings/tests/pickled_types_chromium.h",
8 "//mojo/public/cpp/bindings/tests/test_native_types.h",
11 "//mojo/public/cpp/bindings/tests/pickled_types_chromium.cc",
12 "//mojo/public/cpp/bindings/tests/test_native_types.cc",
19 "mojo.test.PickledEnum=mojo::test::PickledEnumChromium",
20 "mojo.test.PickledStruct=mojo::test::PickledStructChromium[move_only]",
21 "mojo.test.TestNativeStructMojom=mojo::test::TestNativeStruct",
22 …"mojo.test.TestNativeStructWithAttachmentsMojom=mojo::test::TestNativeStructWithAttachments[move_o…
/external/libchrome/mojo/
DREADME.md1 # Mojo chapter
5 ## Getting Started With Mojo
7 To get started using Mojo in applications which already support it (such as
12 [**Mojom IDL and bindings generator**](/mojo/public/tools/bindings/README.md).
18 out [Converting Legacy Chrome IPC To Mojo](/ipc/README.md).
22 Mojo is a collection of runtime libraries providing a platform-agnostic
28 comprising Mojo. The basic hierarchy of features is as follows:
30 ![Mojo Library Layering: Core on bottom, language bindings on top, public system support APIs in th…
32 ## Mojo Core
34 the System APIs or Bindings APIs, a process must first initialize Mojo Core.
[all …]
/external/libchrome/mojo/core/embedder/
DREADME.md1 # Mojo Core Embedder API
2 This document is a subset of the [Mojo documentation](/mojo/README.md).
8 The Mojo Core Embedder API enables process to initialize and use Mojo for IPC,
9 using an implementation of Mojo Core that is statically linked into the
11 [here](/mojo/README.md#Mojo-Core) for more information about an alternative
12 approach to Mojo Core initialization.
17 Chrome repo today already fully initialize Mojo Core so that all other public
18 Mojo APIs just work out of the box.
22 As an embedder, initializing Mojo Core requires a single call to
23 `mojo::core::Init`:
[all …]
/external/libchrome/ipc/
Dipc_mojo_bootstrap.cc32 #include "mojo/public/cpp/bindings/associated_group.h"
33 #include "mojo/public/cpp/bindings/associated_group_controller.h"
34 #include "mojo/public/cpp/bindings/connector.h"
35 #include "mojo/public/cpp/bindings/interface_endpoint_client.h"
36 #include "mojo/public/cpp/bindings/interface_endpoint_controller.h"
37 #include "mojo/public/cpp/bindings/interface_id.h"
38 #include "mojo/public/cpp/bindings/message.h"
39 #include "mojo/public/cpp/bindings/message_header_validator.h"
40 #include "mojo/public/cpp/bindings/pipe_control_message_handler.h"
41 #include "mojo/public/cpp/bindings/pipe_control_message_handler_delegate.h"
[all …]
Dipc_channel_mojo.h29 #include "mojo/public/cpp/bindings/thread_safe_interface_ptr.h"
30 #include "mojo/public/cpp/system/core.h"
34 // Mojo-based IPC::Channel implementation over a Mojo message pipe.
36 // ChannelMojo builds a Mojo MessagePipe using the provided message pipe
41 // Mojo-based objects talk over this Channel.
50 mojo::ScopedMessagePipeHandle handle, in COMPONENT_EXPORT()
57 // The factory is used to create Mojo-based ChannelProxy family. in COMPONENT_EXPORT()
60 mojo::ScopedMessagePipeHandle handle, in COMPONENT_EXPORT()
65 mojo::ScopedMessagePipeHandle handle, in COMPONENT_EXPORT()
83 base::Optional<std::vector<mojo::native::SerializedHandlePtr>> handles, in COMPONENT_EXPORT()
[all …]
/external/cronet/ipc/
Dipc_mojo_bootstrap.cc37 #include "mojo/public/cpp/bindings/associated_group.h"
38 #include "mojo/public/cpp/bindings/associated_group_controller.h"
39 #include "mojo/public/cpp/bindings/connector.h"
40 #include "mojo/public/cpp/bindings/interface_endpoint_client.h"
41 #include "mojo/public/cpp/bindings/interface_endpoint_controller.h"
42 #include "mojo/public/cpp/bindings/interface_id.h"
43 #include "mojo/public/cpp/bindings/message.h"
44 #include "mojo/public/cpp/bindings/message_header_validator.h"
45 #include "mojo/public/cpp/bindings/mojo_buildflags.h"
46 #include "mojo/public/cpp/bindings/pipe_control_message_handler.h"
[all …]
Dipc_channel_mojo.cc30 #include "mojo/public/cpp/bindings/associated_receiver.h"
31 #include "mojo/public/cpp/bindings/associated_remote.h"
32 #include "mojo/public/cpp/bindings/generic_pending_associated_receiver.h"
33 #include "mojo/public/cpp/bindings/pending_associated_receiver.h"
34 #include "mojo/public/cpp/bindings/thread_safe_proxy.h"
35 #include "mojo/public/cpp/system/platform_handle.h"
44 mojo::ScopedMessagePipeHandle handle, in MojoChannelFactory()
66 mojo::ScopedMessagePipeHandle handle_;
72 class ThreadSafeChannelProxy : public mojo::ThreadSafeProxy {
74 using Forwarder = base::RepeatingCallback<void(mojo::Message)>;
[all …]
Dipc_message_pipe_reader.h23 #include "mojo/public/cpp/bindings/associated_receiver.h"
24 #include "mojo/public/cpp/bindings/associated_remote.h"
25 #include "mojo/public/cpp/bindings/generic_pending_associated_receiver.h"
26 #include "mojo/public/cpp/bindings/pending_associated_receiver.h"
27 #include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h"
28 #include "mojo/public/cpp/bindings/shared_remote.h"
29 #include "mojo/public/cpp/system/message_pipe.h"
34 // A helper class to handle bytestream directly over mojo::MessagePipe
59 mojo::GenericPendingAssociatedReceiver receiver) = 0; in COMPONENT_EXPORT()
72 MessagePipeReader(mojo::MessagePipeHandle pipe, in COMPONENT_EXPORT()
[all …]
/external/libchrome/mojo/public/cpp/base/
Dtypemaps.gni6 "//mojo/public/cpp/base/big_buffer.typemap",
7 "//mojo/public/cpp/base/big_string.typemap",
8 "//mojo/public/cpp/base/file_error.typemap",
9 "//mojo/public/cpp/base/file_info.typemap",
10 "//mojo/public/cpp/base/file_path.typemap",
11 "//mojo/public/cpp/base/file.typemap",
12 "//mojo/public/cpp/base/read_only_buffer.typemap",
13 "//mojo/public/cpp/base/memory_allocator_dump_cross_process_uid.typemap",
14 "//mojo/public/cpp/base/process_id.typemap",
15 "//mojo/public/cpp/base/ref_counted_memory.typemap",
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dmodule.h.tmpl46 #include "mojo/public/cpp/bindings/mojo_buildflags.h"
50 #include "mojo/public/cpp/bindings/clone_traits.h"
51 #include "mojo/public/cpp/bindings/equals_traits.h"
52 #include "mojo/public/cpp/bindings/lib/serialization.h"
53 #include "mojo/public/cpp/bindings/struct_ptr.h"
54 #include "mojo/public/cpp/bindings/struct_traits.h"
55 #include "mojo/public/cpp/bindings/union_traits.h"
70 #include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
71 #include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
72 #include "third_party/blink/renderer/platform/mojo/revocable_interface_ptr.h"
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/
Dinterface_definition.tmpl22 interface {{method|interface_response_name}} extends org.chromium.mojo.bindings.Callbacks.Callback{…
45 org.chromium.mojo.bindings.MessageHeader.NO_FLAG
47 org.chromium.mojo.bindings.MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG
49 org.chromium.mojo.bindings.MessageHeader.MESSAGE_IS_RESPONSE_FLAG
54 {% if fully_qualified %}org.chromium.mojo.bindings.Interface.{% endif %}Manager<{{interface|name}},…
72 public Proxy buildProxy(org.chromium.mojo.system.Core core,
73 … org.chromium.mojo.bindings.MessageReceiverWithResponder messageReceiver) {
78 public Stub buildStub(org.chromium.mojo.system.Core core, {{interface|name}} impl) {
91 org.chromium.mojo.bindings.ServiceMessage messageWithHeader =
93 org.chromium.mojo.bindings.MessageHeader header = messageWithHeader.getHeader();
[all …]
/external/perfetto/test/trace_processor/diff_tests/chrome/
Dchrome_tasks.out8 "viz.mojom.BeginFrameObserver message (hash=2365631060)","mojo",344
10 "RunTask(posted_from=mojo/public/cpp/system/simple_watcher.cc:Notify)","mojo",269
17 "viz.mojom.CompositorFrameSinkClient message (hash=3114070324)","mojo",178
18 "viz.mojom.CompositorFrameSink message (hash=3089589715)","mojo",170
21 "RunTask(posted_from=mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:SendMessage)","sched…
23 "blink.mojom.WidgetInputHandler message (hash=3392143105)","mojo",97
24 "blink.mojom.WidgetInputHandler reply (hash=3392143105)","mojo",97
25 "tracing.mojom.ProducerHost message (hash=3013694824)","mojo",82
27 "RunTask(posted_from=mojo/public/cpp/system/simple_watcher.cc:ArmOrNotify)","mojo",74
33 "tracing.mojom.ProducerHost message (hash=2180696659)","mojo",51
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Dwtf_hash_util.h10 #include "mojo/public/cpp/bindings/lib/hash_util.h"
11 #include "mojo/public/cpp/bindings/struct_ptr.h"
16 namespace mojo {
84 } // namespace mojo
89 struct DefaultHash<mojo::StructPtr<T>> {
90 using Hash = mojo::internal::StructPtrHashFn<T>;
94 struct HashTraits<mojo::StructPtr<T>>
95 : public GenericHashTraits<mojo::StructPtr<T>> {
97 static bool IsEmptyValue(const mojo::StructPtr<T>& value) {
100 static void ConstructDeletedValue(mojo::StructPtr<T>& slot, bool) {
[all …]
Dserialization.h13 #include "mojo/public/cpp/bindings/array_traits_span.h"
14 #include "mojo/public/cpp/bindings/array_traits_stl.h"
15 #include "mojo/public/cpp/bindings/lib/array_serialization.h"
16 #include "mojo/public/cpp/bindings/lib/bindings_internal.h"
17 #include "mojo/public/cpp/bindings/lib/buffer.h"
18 #include "mojo/public/cpp/bindings/lib/handle_serialization.h"
19 #include "mojo/public/cpp/bindings/lib/map_serialization.h"
20 #include "mojo/public/cpp/bindings/lib/string_serialization.h"
21 #include "mojo/public/cpp/bindings/lib/template_util.h"
22 #include "mojo/public/cpp/bindings/map_traits_flat_map.h"
[all …]
/external/libchrome/mojo/public/cpp/platform/
DREADME.md1 # Mojo C++ Platform API
2 This document is a subset of the [Mojo documentation](/mojo/README.md).
7 The Mojo C++ Platform API provides a lightweight set of abstractions around
9 This API is primarily useful in conjunction with Mojo
10 [Invitations](/mojo/public/cpp/system/README.md#Invitations) to bootstrap Mojo
24 [header](https://cs.chromium.org/src/mojo/public/cpp/platform/platform_handle.h)
29 primarily for use with the Mojo
30 [Invitations](/mojo/public/cpp/system/README.md#Invitations) API. Constructing
38 [header](https://cs.chromium.org/src/mojo/public/cpp/platform/platform_channel.h)
40 [Invitations](/mojo/public/cpp/system/README.md#Invitations) documentation for
[all …]
/external/cronet/components/nacl/common/
Dnacl_service.cc13 #include "mojo/core/embedder/scoped_ipc_support.h"
14 #include "mojo/public/cpp/platform/platform_channel.h"
15 #include "mojo/public/cpp/platform/platform_channel_endpoint.h"
16 #include "mojo/public/cpp/platform/platform_handle.h"
17 #include "mojo/public/cpp/system/invitation.h"
31 mojo::IncomingInvitation GetMojoInvitation() { in GetMojoInvitation()
32 mojo::PlatformChannelEndpoint endpoint; in GetMojoInvitation()
34 endpoint = mojo::PlatformChannel::RecoverPassedEndpointFromCommandLine( in GetMojoInvitation()
39 endpoint = mojo::PlatformChannelEndpoint( in GetMojoInvitation()
40 mojo::PlatformHandle(client->TakeReceiveRight('mojo'))); in GetMojoInvitation()
[all …]
/external/libchrome/libchrome_tools/patch/
Dalignof_int64.patch4 Subject: [PATCH] Update asserts in mojo about int64_t's alignment
28 mojo/core/options_validation_unittest.cc | 2 +-
29 mojo/public/c/system/buffer.h | 2 +-
30 mojo/public/c/system/data_pipe.h | 2 +-
31 mojo/public/c/system/message_pipe.h | 2 +-
34 diff --git a/mojo/core/options_validation_unittest.cc b/mojo/core/options_validation_unittest.cc
36 --- a/mojo/core/options_validation_unittest.cc
37 +++ b/mojo/core/options_validation_unittest.cc
47 diff --git a/mojo/public/c/system/buffer.h b/mojo/public/c/system/buffer.h
49 --- a/mojo/public/c/system/buffer.h
[all …]
/external/libchrome/mojo/public/cpp/bindings/
DREADME.md1 # Mojo C++ Bindings API
2 This document is a subset of the [Mojo documentation](/mojo/README.md).
7 The Mojo C++ Bindings API leverages the
8 [C++ System API](/mojo/public/cpp/system/README.md) to provide a more natural
9 set of primitives for communicating over Mojo message pipes. Combined with
11 [Mojom IDL and bindings generator](/mojo/public/tools/bindings/README.md), users
17 [//mojo/public/cpp/bindings](https://cs.chromium.org/chromium/src/mojo/public/cpp/bindings/README.m…
45 import("//mojo/public/tools/bindings/mojom.gni")
129 using LoggerPtr = mojo::InterfacePtr<Logger>;
130 using LoggerRequest = mojo::InterfaceRequest<Logger>;
[all …]
/external/libchrome/mojo/public/js/lib/
Dcontrol_message_proxy.js6 var internal = mojo.internal;
10 mojo.interfaceControl.RunOrClosePipeMessageParams();
13 var messageName = mojo.interfaceControl.kRunOrClosePipeMessageId;
15 mojo.interfaceControl.RunOrClosePipeMessageParams.encodedSize;
17 builder.encodeStruct(mojo.interfaceControl.RunOrClosePipeMessageParams,
30 if (message.getName() != mojo.interfaceControl.kRunMessageId) {
35 error = mojo.interfaceControl.RunResponseMessageParams.validate(
47 mojo.interfaceControl.RunResponseMessageParams);
62 var messageName = mojo.interfaceControl.kRunMessageId;
63 var payloadSize = mojo.interfaceControl.RunMessageParams.encodedSize;
[all …]

12345678910>>...47