Home
last modified time | relevance | path

Searched refs:mojo (Results 1 – 25 of 805) sorted by relevance

12345678910>>...33

/external/libchrome/mojo/public/java/system/
DBUILD.gn18 "javatests/src/org/chromium/mojo/MojoTestRule.java",
19 "javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java",
25 jni_package = "mojo"
30 "src/org/chromium/mojo/system/impl/BaseRunLoop.java",
31 "src/org/chromium/mojo/system/impl/CoreImpl.java",
32 "src/org/chromium/mojo/system/impl/WatcherImpl.java",
35 jni_package = "mojo"
48 "//mojo/public/c/system",
49 "//mojo/public/cpp/system",
55 "src/org/chromium/mojo/system/impl/BaseRunLoop.java",
[all …]
/external/libchrome/mojo/public/java/
DBUILD.gn9 "system/src/org/chromium/mojo/system/Core.java",
10 "system/src/org/chromium/mojo/system/DataPipe.java",
11 "system/src/org/chromium/mojo/system/Flags.java",
12 "system/src/org/chromium/mojo/system/Handle.java",
13 "system/src/org/chromium/mojo/system/InvalidHandle.java",
14 "system/src/org/chromium/mojo/system/MessagePipeHandle.java",
15 "system/src/org/chromium/mojo/system/MojoException.java",
16 "system/src/org/chromium/mojo/system/MojoResult.java",
17 "system/src/org/chromium/mojo/system/Pair.java",
18 "system/src/org/chromium/mojo/system/ResultAnd.java",
[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 …]
DBUILD.gn53 "//mojo/core/embedder",
54 "//mojo/public/cpp/bindings",
55 "//mojo/public/cpp/system",
56 "//mojo/public/cpp/test_support:test_utils",
57 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces",
58 "//mojo/public/interfaces/bindings/tests:test_export_component",
59 "//mojo/public/interfaces/bindings/tests:test_export_component2",
60 "//mojo/public/interfaces/bindings/tests:test_exported_import",
61 "//mojo/public/interfaces/bindings/tests:test_interfaces",
62 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces",
[all …]
Dserialization_warning_unittest.cc20 namespace mojo { namespace
24 using mojo::internal::ContainerValidateParams;
48 void TestWarning(T obj, mojo::internal::ValidationError expected_warning) { in TestWarning()
51 warning_observer_.set_last_warning(mojo::internal::VALIDATION_ERROR_NONE); in TestWarning()
53 mojo::internal::SerializationContext context; in TestWarning()
54 mojo::Message message(0, 0, 0, 0, nullptr); in TestWarning()
55 typename mojo::internal::MojomTypeTraits<MojomType>::Data::BufferWriter in TestWarning()
57 mojo::internal::Serialize<MojomType>(obj, message.payload_buffer(), &writer, in TestWarning()
64 mojo::internal::ValidationError expected_warning, in TestArrayWarning()
66 warning_observer_.set_last_warning(mojo::internal::VALIDATION_ERROR_NONE); in TestArrayWarning()
[all …]
Dunion_unittest.cc25 namespace mojo { namespace
30 mojo::Message* message, in SerializeStruct()
31 mojo::internal::SerializationContext* context, in SerializeStruct()
35 *message = mojo::Message(0, 0, 0, 0, nullptr); in SerializeStruct()
38 mojo::internal::Serialize<DataViewType>(input, message->payload_buffer(), in SerializeStruct()
46 mojo::Message* message, in SerializeUnion()
47 mojo::internal::SerializationContext* context, in SerializeUnion()
51 *message = mojo::Message(0, 0, 0, 0, nullptr); in SerializeUnion()
54 mojo::internal::Serialize<DataViewType>(input, message->payload_buffer(), in SerializeUnion()
63 mojo::Message* message, in SerializeArray()
[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…
Drect_blink.typemap5 mojom = "//mojo/public/interfaces/bindings/tests/rect.mojom"
7 "//mojo/public/cpp/bindings/tests/rect_blink.h",
8 "//mojo/public/cpp/bindings/tests/shared_rect.h",
11 "//mojo/public/cpp/bindings/tests/rect_blink_traits.h",
12 "//mojo/public/cpp/bindings/tests/shared_rect_traits.h",
16 "mojo.test.TypemappedRect=mojo::test::RectBlink[hashable]",
17 "mojo.test.SharedTypemappedRect=mojo::test::SharedRect",
/external/libchrome/
DBUILD.gn13 if (use.mojo) {
568 if (use.mojo) {
570 mojom_bindings_generator = "mojo/public/tools/bindings/mojom_bindings_generator.py"
573 "mojo/public/mojom/base/big_buffer.mojom",
574 "mojo/public/mojom/base/big_string.mojom",
575 "mojo/public/mojom/base/file.mojom",
576 "mojo/public/mojom/base/file_error.mojom",
577 "mojo/public/mojom/base/file_info.mojom",
578 "mojo/public/mojom/base/file_path.mojom",
579 "mojo/public/mojom/base/process_id.mojom",
[all …]
/external/libchrome/ipc/
Dipc_mojo_bootstrap.cc94 : public mojo::AssociatedGroupController,
95 public mojo::MessageReceiver,
96 public mojo::PipeControlMessageHandlerDelegate {
112 filters_.Append<mojo::MessageHeaderValidator>( in ChannelAssociatedGroupController()
123 void Bind(mojo::ScopedMessagePipeHandle handle) { in Bind()
127 connector_.reset(new mojo::Connector( in Bind()
128 std::move(handle), mojo::Connector::SINGLE_THREADED_SEND, in Bind()
149 std::vector<mojo::Message> outgoing_messages; in FlushOutgoingMessages()
160 mojo::InterfaceId sender_id, receiver_id; in CreateChannelEndpoints()
162 sender_id = 1 | mojo::kInterfaceIdNamespaceMask; in CreateChannelEndpoints()
[all …]
Dipc_mojo_param_traits.cc13 void ParamTraits<mojo::MessagePipeHandle>::Write(base::Pickle* m, in Write()
17 MojoMessageHelper::WriteMessagePipeTo(m, mojo::ScopedMessagePipeHandle(p)); in Write()
20 bool ParamTraits<mojo::MessagePipeHandle>::Read(const base::Pickle* m, in Read()
29 mojo::ScopedMessagePipeHandle handle; in Read()
37 void ParamTraits<mojo::MessagePipeHandle>::Log(const param_type& p, in Log()
44 void ParamTraits<mojo::DataPipeConsumerHandle>::Write(base::Pickle* m, in Write()
51 mojo::ScopedHandle::From(mojo::ScopedDataPipeConsumerHandle(p)))); in Write()
54 bool ParamTraits<mojo::DataPipeConsumerHandle>::Read(const base::Pickle* m, in Read()
76 mojo::ScopedDataPipeConsumerHandle handle; in Read()
77 handle.reset(mojo::DataPipeConsumerHandle( in Read()
[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/
DBUILD.gn8 group("mojo") {
16 deps += [ "//mojo/public" ]
20 deps += [ "//mojo/public/java/system" ]
38 "//mojo/core:test_sources",
39 "//mojo/core/test:run_all_unittests",
40 "//mojo/public/cpp/base:tests",
41 "//mojo/public/cpp/bindings/tests",
42 "//mojo/public/cpp/platform/tests",
43 "//mojo/public/cpp/system/tests",
49 "//mojo/core/test:run_all_perftests",
[all …]
/external/libchrome/mojo/public/js/
Dbase.js7 if ((typeof mojo !== 'undefined') && mojo.bindingsLibraryInitialized) {
11 var mojo = mojo || {}; variable
12 mojo.bindingsLibraryInitialized = true;
14 mojo.internal = mojo.internal || {};
16 mojo.config = mojo.config || {};
17 if (typeof mojo.config.global === 'undefined') {
18 mojo.config.global = this;
21 if (typeof mojo.config.autoLoadMojomDeps === 'undefined') {
62 mojo.config.autoLoadMojomDeps = true;
66 var internal = mojo.internal;
[all …]
Dbindings.js6 var internal = mojo.internal;
13 if (output instanceof mojo.AssociatedInterfacePtrInfo) {
18 return new mojo.AssociatedInterfaceRequest(handle1);
21 if (output instanceof mojo.InterfacePtrInfo) {
26 return new mojo.InterfaceRequest(pipe.handle1);
30 output.ptr.bind(new mojo.InterfacePtrInfo(pipe.handle0, 0));
31 return new mojo.InterfaceRequest(pipe.handle1);
59 if (ptrInfoOrHandle instanceof mojo.InterfacePtrInfo) {
113 result = new mojo.InterfacePtrInfo(
118 result = new mojo.InterfacePtrInfo(this.handle_, this.version);
[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 …]
Dcontrol_message_handler.js6 var internal = mojo.internal;
15 if (message.getName() != mojo.interfaceControl.kRunMessageId) {
20 error = mojo.interfaceControl.RunMessageParams.validate(messageValidator,
34 if (message.getName() != mojo.interfaceControl.kRunOrClosePipeMessageId) {
39 error = mojo.interfaceControl.RunOrClosePipeMessageParams.validate(
49 mojo.interfaceControl.RunOrClosePipeMessageParams);
57 reader.decodeStruct(mojo.interfaceControl.RunMessageParams);
61 runOutput = new mojo.interfaceControl.RunOutput();
63 mojo.interfaceControl.QueryVersionResult(
68 mojo.interfaceControl.RunResponseMessageParams();
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Dwtf_hash_util.h16 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) {
101 mojo::internal::StructPtrWTFHelper<T>::ConstructDeletedValue(slot);
103 static bool IsDeletedValue(const mojo::StructPtr<T>& value) {
104 return mojo::internal::StructPtrWTFHelper<T>::IsHashTableDeletedValue(
[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/cpp/system/
DREADME.md2 This document is a subset of the [Mojo documentation](/mojo/README.md).
9 [C API](/mojo/public/c/system/README.md) (upon which this is built) this library
16 [//mojo/public/cpp/system](https://cs.chromium.org/chromium/src/mojo/public/cpp/system/README.md).
19 top-level `mojo` namespace.
45 mojo::MessagePipe pipe;
51 mojo::ScopedMessagePipeHandle client = std::move(pipe.handle0);
52 mojo::ScopedMessagePipeHandle server = std::move(pipe.handle1);
58 mojo::ScopedMessagePipeHandle client;
59 mojo::ScopedMessagePipeHandle server;
60 mojo::CreateMessagePipe(nullptr, &client, &server);
[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/libchrome/mojo/public/tools/bindings/generators/js_templates/
Dmodule.amd.tmpl9 if (mojo.internal.isMojomLoaded(mojomId)) {
13 mojo.internal.markMojomLoaded(mojomId);
16 the mojo namespace, so that we can refer to mojo directly. #}
17 var bindings = mojo;
18 var associatedBindings = mojo;
19 var codec = mojo.internal;
20 var validator = mojo.internal;
22 var exports = mojo.internal.exposeNamespace('{{module.namespace}}');
26 mojo.internal.exposeNamespace('{{import.namespace}}');
27 if (mojo.config.autoLoadMojomDeps) {
[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/java/system/javatests/src/org/chromium/mojo/bindings/
DSerializationTest.java5 package org.chromium.mojo.bindings;
14 import org.chromium.mojo.HandleMock;
15 import org.chromium.mojo.bindings.test.mojom.mojo.Struct1;
16 import org.chromium.mojo.bindings.test.mojom.mojo.Struct2;
17 import org.chromium.mojo.bindings.test.mojom.mojo.Struct3;
18 import org.chromium.mojo.bindings.test.mojom.mojo.Struct4;
19 import org.chromium.mojo.bindings.test.mojom.mojo.Struct5;
20 import org.chromium.mojo.bindings.test.mojom.mojo.Struct6;
21 import org.chromium.mojo.bindings.test.mojom.mojo.StructOfNullables;
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/
DHandleMock.java5 package org.chromium.mojo;
7 import org.chromium.mojo.system.Core;
8 import org.chromium.mojo.system.Core.HandleSignalsState;
9 import org.chromium.mojo.system.DataPipe;
10 import org.chromium.mojo.system.DataPipe.ConsumerHandle;
11 import org.chromium.mojo.system.DataPipe.ProducerHandle;
12 import org.chromium.mojo.system.Handle;
13 import org.chromium.mojo.system.MessagePipeHandle;
14 import org.chromium.mojo.system.MojoResult;
15 import org.chromium.mojo.system.ResultAnd;
[all …]

12345678910>>...33