Home
last modified time | relevance | path

Searched refs:WriteMessage (Results 1 – 25 of 45) sorted by relevance

12

/external/libmojo/mojo/edk/system/
Dshared_buffer_unittest.cc73 WriteMessage(h, "quit"); in TEST_F()
94 WriteMessage(h, message); in TEST_F()
96 WriteMessage(h, "quit"); in TEST_F()
152 WriteMessage(h1, "quit"); in TEST_F()
154 WriteMessage(h0, "quit"); in TEST_F()
176 WriteMessage(child, "quit"); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
189 WriteMessage(child, "quit"); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
220 WriteMessage(child2, "quit"); in TEST_F()
222 WriteMessage(child1, "quit"); in TEST_F()
248 WriteMessage(h, "ok"); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
[all …]
Dmessage_pipe_unittest.cc36 MojoResult WriteMessage(MojoHandle message_pipe_handle, in WriteMessage() function in mojo::edk::__anon1885e6690111::MessagePipeTest
62 WriteMessage(pipe0_, kHelloWorld, sizeof(kHelloWorld))); in TEST_F()
100 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe1_, buffer, sizeof(buffer[0]))); in TEST_F()
122 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe0_, buffer, sizeof(buffer[0]))); in TEST_F()
125 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe0_, buffer, sizeof(buffer[0]))); in TEST_F()
176 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe0_, buffer, sizeof(buffer[0]))); in TEST_F()
189 WriteMessage(pipe1_, buffer, sizeof(buffer[0]))); in TEST_F()
214 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe1_, buffer, kBufferSize)); in TEST_F()
241 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe1_, buffer, sizeof(buffer[0]))); in TEST_F()
262 WriteMessage(pipe1_, buffer, sizeof(buffer[0]))); in TEST_F()
[all …]
Dcore_unittest.cc54 core()->WriteMessage(h, nullptr, 0, nullptr, 0, in TEST_F()
311 core()->WriteMessage(MOJO_HANDLE_INVALID, nullptr, 0, in TEST_F()
325 core()->WriteMessage(h, nullptr, 0, handles, in TEST_F()
332 core()->WriteMessage(h, nullptr, 1, nullptr, 0, in TEST_F()
338 core()->WriteMessage(h, nullptr, 0, nullptr, 1, in TEST_F()
344 core()->WriteMessage( in TEST_F()
353 core()->WriteMessage(h, nullptr, 0, handles, 1, in TEST_F()
360 core()->WriteMessage(h, nullptr, 0, handles, 2, in TEST_F()
369 core()->WriteMessage(h, nullptr, 0, handles, 1, in TEST_F()
381 core()->WriteMessage(h, nullptr, 0, handles, 1, in TEST_F()
[all …]
Dmultiprocess_message_pipe_unittest.cc51 WriteMessage(h_, command); in Send()
61 WriteMessage(h_, "return:" + name); in RetrieveHandle()
67 void Exit() { WriteMessage(h_, "exit"); } in Exit()
743 WriteMessage(h, message); in DEFINE_TEST_CLIENT_WITH_PIPE()
754 WriteMessage(h, "exit"); in TEST_P()
768 WriteMessage(p, message); in DEFINE_TEST_CLIENT_WITH_PIPE()
786 WriteMessage(p0, "exit"); in TEST_P()
821 WriteMessage(handles[index], ReadMessage(handles[index])); in DEFINE_TEST_CLIENT_WITH_PIPE()
868 WriteMessage(h, "exit"); in TEST_P()
884 WriteMessage(a, "exit"); in TEST_P()
[all …]
Dwait_set_dispatcher_unittest.cc78 void WriteMessage(MessagePipeDispatcher* dispatcher, in WriteMessage() function in mojo::edk::__anon17a7901d0111::WaitSetDispatcherTest
93 dispatcher->WriteMessage(std::move(message), in WriteMessage()
173 WriteMessage(dispatcher1_.get(), buffer, sizeof(buffer)); in TEST_F()
218 WriteMessage(dispatcher1_.get(), buffer, sizeof(buffer)); in TEST_F()
341 WriteMessage(dispatcher1_.get(), buffer, sizeof(buffer)); in TEST_F()
Dmessage_pipe_dispatcher.h55 MojoResult WriteMessage(std::unique_ptr<MessageForTransit> message,
Ddispatcher.h80 virtual MojoResult WriteMessage(std::unique_ptr<MessageForTransit> message,
Ddispatcher.cc35 MojoResult Dispatcher::WriteMessage(std::unique_ptr<MessageForTransit> message, in WriteMessage() function in mojo::edk::Dispatcher
Dcore.h182 MojoResult WriteMessage(MojoHandle message_pipe_handle,
/external/libmojo/mojo/edk/embedder/
Dembedder_unittest.cc66 WriteMessage(server_mp, kHello); in TEST_F()
128 WriteMessage(client_mp2, std::string(i, 'A' + (i % 26))); in TEST_F()
159 WriteMessage(h0, kHello); in TEST_F()
168 WriteMessage(h0, kFoo); in TEST_F()
182 WriteMessage(h1, kBarBaz); in TEST_F()
202 WriteMessage(parent_mp.get().value(), kHello); in TEST_F()
263 WriteMessage(server_mp, "hello"); in TEST_F()
273 WriteMessage(mp0, "FOO"); in TEST_F()
290 WriteMessage(server_mp, "quit"); in TEST_F()
311 WriteMessage(client_mp, "world!"); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs492 output.WriteMessage(AnyField); in WriteTo()
496 output.WriteMessage(ApiField); in WriteTo()
500 output.WriteMessage(DurationField); in WriteTo()
504 output.WriteMessage(EmptyField); in WriteTo()
508 output.WriteMessage(FieldMaskField); in WriteTo()
512 output.WriteMessage(SourceContextField); in WriteTo()
516 output.WriteMessage(StructField); in WriteTo()
520 output.WriteMessage(TimestampField); in WriteTo()
524 output.WriteMessage(TypeField); in WriteTo()
555 output.WriteMessage(ValueField); in WriteTo()
[all …]
DUnittestProto3.cs996 output.WriteMessage(SingleNestedMessage); in WriteTo()
1000 output.WriteMessage(SingleForeignMessage); in WriteTo()
1004 output.WriteMessage(SingleImportMessage); in WriteTo()
1020 output.WriteMessage(SinglePublicImportMessage); in WriteTo()
1050 output.WriteMessage(OneofNestedMessage); in WriteTo()
1745 output.WriteMessage(Child); in WriteTo()
1749 output.WriteMessage(Payload); in WriteTo()
2171 output.WriteMessage(ForeignNested); in WriteTo()
2430 output.WriteMessage(A); in WriteTo()
2556 output.WriteMessage(Bb); in WriteTo()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs168 WriteMessage(writer, message); in Format()
195 private void WriteMessage(TextWriter writer, IMessage message) in WriteMessage() method in Google.Protobuf.JsonFormatter
457 WriteMessage(writer, (IMessage)value); in WriteValue()
532 WriteMessage(writer, (IMessage)value); in WriteWellKnownTypeValue()
DCodedOutputStream.cs300 public void WriteMessage(IMessage value) in WriteMessage() method in Google.Protobuf.CodedOutputStream
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc1113 bool WriteMessage(const char *value, T *message, string *wire_buffer) { in WriteMessage() function
1144 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()
1163 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()
1191 WriteMessage(kValidUTF8String, &input, &wire_buffer); in TEST_F()
1200 WriteMessage(kValidUTF8String, &input, &wire_buffer); in TEST_F()
1219 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()
1228 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()
/external/libmojo/mojo/public/c/system/
Dthunks.cc58 assert(g_thunks.WriteMessage); in MojoWriteMessage()
59 return g_thunks.WriteMessage(message_pipe_handle, bytes, num_bytes, handles, in MojoWriteMessage()
Dthunks.h57 MojoResult (*WriteMessage)(MojoHandle message_pipe_handle, member
/external/libmojo/mojo/edk/test/
Dmojo_test_base.cc124 void MojoTestBase::WriteMessage(MojoHandle mp, const std::string& message) { in WriteMessage() function in mojo::edk::test::MojoTestBase
217 WriteMessage(source, message); in VerifyTransmission()
Dmojo_test_base.h95 static void WriteMessage(MojoHandle mp, const std::string& message);
/external/libmojo/mojo/edk/js/
Dcore.cc134 MojoResult WriteMessage( in WriteMessage() function
313 .SetMethod("writeMessage", WriteMessage) in GetModule()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs387 output.WriteMessage(StructValue); in WriteTo()
391 output.WriteMessage(ListValue); in WriteTo()
DType.cs247 output.WriteMessage(SourceContext); in WriteTo()
956 output.WriteMessage(SourceContext); in WriteTo()
1289 output.WriteMessage(Value); in WriteTo()
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs2244 output.WriteMessage(OptionalNestedMessage); in WriteTo()
2248 output.WriteMessage(OptionalForeignMessage); in WriteTo()
2268 output.WriteMessage(RecursiveMessage); in WriteTo()
2316 output.WriteMessage(OneofNestedMessage); in WriteTo()
2364 output.WriteMessage(OptionalDuration); in WriteTo()
2368 output.WriteMessage(OptionalTimestamp); in WriteTo()
2372 output.WriteMessage(OptionalFieldMask); in WriteTo()
2376 output.WriteMessage(OptionalStruct); in WriteTo()
2380 output.WriteMessage(OptionalAny); in WriteTo()
2384 output.WriteMessage(OptionalValue); in WriteTo()
[all …]
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc149 return WriteMessage(type_, name, 0, true, ow); in NamedWriteTo()
172 Status ProtoStreamObjectSource::WriteMessage(const google::protobuf::Type& type, in WriteMessage() function in google::protobuf::util::converter::ProtoStreamObjectSource
635 nested_os.WriteMessage(nested_os.type_, "value", 0, false, ow); in RenderAny()
752 RETURN_IF_ERROR(WriteMessage(*type, field_name, 0, true, ow)); in RenderField()
Dprotostream_objectsource.h126 virtual util::Status WriteMessage(const google::protobuf::Type& descriptor,

12