Home
last modified time | relevance | path

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

12

/external/chromium_org/mojo/system/
Dcore_impl_unittest.cc41 core()->WriteMessage(h, NULL, 0, NULL, 0, in TEST_F()
45 core()->WriteMessage(h, NULL, 1, NULL, 0, in TEST_F()
202 core()->WriteMessage(MOJO_HANDLE_INVALID, NULL, 0, NULL, 0, in TEST_F()
211 core()->WriteMessage(h, NULL, 0, NULL, 1, in TEST_F()
222 core()->WriteMessage(h, NULL, 0, handles, in TEST_F()
229 core()->WriteMessage(h, NULL, 0, handles, in TEST_F()
237 core()->WriteMessage(h, NULL, 0, handles, 1, in TEST_F()
243 core()->WriteMessage(h, NULL, 0, handles, 2, in TEST_F()
250 core()->WriteMessage(h, NULL, 0, handles, 1, in TEST_F()
260 core()->WriteMessage(h, NULL, 0, handles, 1, in TEST_F()
[all …]
Dmessage_pipe_unittest.cc64 mp->WriteMessage(1, in TEST()
94 mp->WriteMessage(0, in TEST()
101 mp->WriteMessage(0, in TEST()
168 mp->WriteMessage(0, in TEST()
180 mp->WriteMessage(1, in TEST()
220 mp->WriteMessage(1, in TEST()
251 mp->WriteMessage(1, in TEST()
277 mp->WriteMessage(1, in TEST()
307 mp->WriteMessage(1, in TEST()
333 mp->WriteMessage(1, in TEST()
[all …]
Dmessage_pipe_dispatcher_unittest.cc65 d_1->WriteMessage(buffer, kBufferSize, in TEST()
130 d_0->WriteMessage(NULL, 1, in TEST()
135 d_0->WriteMessage(buffer, std::numeric_limits<uint32_t>::max(), in TEST()
171 d_1->WriteMessage(buffer, kBufferSize, in TEST()
176 d_1->WriteMessage(buffer, kBufferSize, in TEST()
248 d_0->WriteMessage(buffer, kBufferSize, in TEST()
289 d_0->WriteMessage(buffer, kBufferSize, in TEST()
417 write_dispatcher_->WriteMessage(buffer, bytes_to_write, in Run()
425 write_dispatcher_->WriteMessage("quit", 4, in Run()
Dmultiprocess_message_pipe_unittest.cc191 CHECK_EQ(mp->WriteMessage(0, in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
216 mp->WriteMessage(0, in TEST_F()
254 mp->WriteMessage(0, in TEST_F()
263 mp->WriteMessage(0, in TEST_F()
Draw_channel_posix_unittest.cc210 TEST_F(RawChannelPosixTest, WriteMessage) { in TEST_F() argument
226 EXPECT_TRUE(rc->WriteMessage(MakeTestMessage(size))); in TEST_F()
232 EXPECT_TRUE(rc->WriteMessage(MakeTestMessage(size))); in TEST_F()
371 EXPECT_TRUE(raw_channel_->WriteMessage(MakeTestMessage( in Run()
529 EXPECT_FALSE(rc->WriteMessage(MakeTestMessage(1))); in TEST_F()
563 EXPECT_FALSE(rc->WriteMessage(MakeTestMessage(1))); in TEST_F()
Dremote_message_pipe_posix_unittest.cc197 mp_0->WriteMessage(0, in TEST_F()
222 mp_1->WriteMessage(1, in TEST_F()
293 mp_2->WriteMessage(0, in TEST_F()
338 mp_0->WriteMessage(0, in TEST_F()
392 mp_0->WriteMessage(0, in TEST_F()
Ddispatcher_unittest.cc40 d->WriteMessage(NULL, 0, NULL, MOJO_WRITE_MESSAGE_FLAG_NONE)); in TEST()
67 d->WriteMessage(NULL, 0, NULL, MOJO_WRITE_MESSAGE_FLAG_NONE)); in TEST()
135 dispatcher_->WriteMessage(NULL, 0, NULL, in Run()
Dchannel.cc108 bool Channel::WriteMessage(MessageInTransit* message) { in WriteMessage() function in mojo::system::Channel
117 return raw_channel_->WriteMessage(message); in WriteMessage()
Draw_channel.h85 virtual bool WriteMessage(MessageInTransit* message) = 0;
Dmessage_pipe.h49 MojoResult WriteMessage(unsigned port,
Dchannel.h86 bool WriteMessage(MessageInTransit* message);
Dcore_impl.cc176 MojoResult CoreImpl::WriteMessage(MojoHandle message_pipe_handle, in WriteMessage() function in mojo::system::CoreImpl
188 return dispatcher->WriteMessage(bytes, num_bytes, NULL, flags); in WriteMessage()
274 MojoResult rv = dispatcher->WriteMessage(bytes, num_bytes, in WriteMessage()
/external/chromium_org/remoting/host/native_messaging/
Dnative_messaging_reader_unittest.cc35 void WriteMessage(std::string message);
85 void NativeMessagingReaderTest::WriteMessage(std::string message) { in WriteMessage() function in remoting::NativeMessagingReaderTest
98 WriteMessage("{\"foo\": 42}"); in TEST_F()
146 WriteMessage(text); in TEST_F()
152 WriteMessage("{}"); in TEST_F()
153 WriteMessage("{\"foo\": 42}"); in TEST_F()
Dnative_messaging_writer_unittest.cc54 EXPECT_TRUE(writer_->WriteMessage(message)); in TEST_F()
82 EXPECT_TRUE(writer_->WriteMessage(message1)); in TEST_F()
83 EXPECT_TRUE(writer_->WriteMessage(message2)); in TEST_F()
112 EXPECT_FALSE(writer_->WriteMessage(message)); in TEST_F()
Dnative_messaging_writer.h26 bool WriteMessage(const base::Value& message);
Dnative_messaging_writer.cc61 bool NativeMessagingWriter::WriteMessage(const base::Value& message) { in WriteMessage() function in remoting::NativeMessagingWriter
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Ddefault_logger.h61 impl_->WriteMessage("\n");
68 impl_->WriteMessage(ConvertToString<T>::DoWork(value));
99 virtual void WriteMessage(const string& msg);
Dlogger.h55 virtual void WriteMessage(const string& msg) = 0;
97 virtual void WriteMessage(const string& /* msg */) {} in WriteMessage() function
Ddefault_logger.cc27 void StdoutLogger::WriteMessage(const string& msg) { in WriteMessage() function in i18n::phonenumbers::StdoutLogger
/external/chromium_org/ppapi/tests/
Dtest_broker.cc104 bool WriteMessage(PlatformFile file, size_t message_len, const char* message) { in WriteMessage() function
179 if (!WriteMessage(file, sizeof(kHelloMessage), kHelloMessage)) { in OnInstanceConnected()
186 if (!WriteMessage(file, sizeof(kBrokerUnsandboxed), kBrokerUnsandboxed)) { in OnInstanceConnected()
191 if (!WriteMessage(file, sizeof(kBrokerSandboxed), kBrokerSandboxed)) { in OnInstanceConnected()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dinternal_logging.cc58 static void WriteMessage(const char* msg, int length) { in WriteMessage() function
62 void (*log_message_writer)(const char* msg, int length) = WriteMessage;
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dinternal_logging.cc59 static void WriteMessage(const char* msg, int length) { in WriteMessage() function
63 void (*log_message_writer)(const char* msg, int length) = WriteMessage;
/external/chromium_org/mojo/apps/js/bindings/
Dcore.cc36 MojoResult WriteMessage(MojoHandle handle, in WriteMessage() function
103 .SetMethod("writeMessage", WriteMessage) in GetTemplate()
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc791 bool WriteMessage(const char *value, T *message, string *wire_buffer) { in WriteMessage() function
809 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST()
827 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST()
853 WriteMessage(kValidUTF8String, &input, &wire_buffer); in TEST()
862 WriteMessage(kValidUTF8String, &input, &wire_buffer); in TEST()
881 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST()
890 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dwire_format_unittest.cc839 bool WriteMessage(const char *value, T *message, string *wire_buffer) { in WriteMessage() function
861 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST()
878 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST()
904 WriteMessage(kValidUTF8String, &input, &wire_buffer); in TEST()
913 WriteMessage(kValidUTF8String, &input, &wire_buffer); in TEST()
932 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST()
941 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST()

12