Home
last modified time | relevance | path

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

12

/external/chromium_org/remoting/host/native_messaging/
Dnative_messaging_reader_unittest.cc33 void WriteMessage(std::string message);
77 void NativeMessagingReaderTest::WriteMessage(std::string message) { in WriteMessage() function in remoting::NativeMessagingReaderTest
89 WriteMessage("{\"foo\": 42}"); in TEST_F()
137 WriteMessage(text); in TEST_F()
143 WriteMessage("{}"); in TEST_F()
144 WriteMessage("{\"foo\": 42}"); in TEST_F()
Dnative_messaging_writer_unittest.cc42 EXPECT_TRUE(writer_->WriteMessage(message)); in TEST_F()
68 EXPECT_TRUE(writer_->WriteMessage(message1)); in TEST_F()
69 EXPECT_TRUE(writer_->WriteMessage(message2)); in TEST_F()
94 EXPECT_FALSE(writer_->WriteMessage(message)); in TEST_F()
Dnative_messaging_writer.h25 bool WriteMessage(const base::Value& message);
Dnative_messaging_writer.cc40 bool NativeMessagingWriter::WriteMessage(const base::Value& message) { in WriteMessage() function in remoting::NativeMessagingWriter
/external/chromium_org/mojo/system/
Dmessage_pipe_unittest.cc68 mp->WriteMessage(1, in TEST()
103 mp->WriteMessage(0, in TEST()
111 mp->WriteMessage(0, in TEST()
189 mp->WriteMessage(0, in TEST()
202 mp->WriteMessage(1, in TEST()
247 mp->WriteMessage(1, in TEST()
281 mp->WriteMessage(1, in TEST()
312 mp->WriteMessage(1, in TEST()
347 mp->WriteMessage(1, in TEST()
378 mp->WriteMessage(1, in TEST()
[all …]
Dcore_unittest.cc45 core()->WriteMessage(h, in TEST_F()
379 core()->WriteMessage(MOJO_HANDLE_INVALID, in TEST_F()
396 core()->WriteMessage(h, in TEST_F()
406 core()->WriteMessage( in TEST_F()
417 core()->WriteMessage(h, in TEST_F()
427 core()->WriteMessage(h, in TEST_F()
438 core()->WriteMessage(h, in TEST_F()
452 core()->WriteMessage(h, in TEST_F()
462 core()->WriteMessage(h, in TEST_F()
473 core()->WriteMessage(h, in TEST_F()
[all …]
Dmessage_pipe_dispatcher_unittest.cc71 d1->WriteMessage(UserPointer<const void>(buffer), in TEST()
159 d0->WriteMessage(UserPointer<const void>(buffer), in TEST()
190 d0->WriteMessage( in TEST()
198 d1->WriteMessage(UserPointer<const void>("x"), in TEST()
237 d1->WriteMessage(UserPointer<const void>(buffer), in TEST()
243 d1->WriteMessage(UserPointer<const void>(buffer), in TEST()
341 d0->WriteMessage(UserPointer<const void>(buffer), in TEST()
395 d0->WriteMessage(UserPointer<const void>(buffer), in TEST()
548 write_dispatcher_->WriteMessage(UserPointer<const void>(buffer), in Run()
557 write_dispatcher_->WriteMessage(UserPointer<const void>("quit"), in Run()
Draw_channel_unittest.cc194 TEST_F(RawChannelTest, WriteMessage) { in TEST_F() argument
204 EXPECT_TRUE(rc->WriteMessage(MakeTestMessage(size))); in TEST_F()
210 EXPECT_TRUE(rc->WriteMessage(MakeTestMessage(size))); in TEST_F()
326 EXPECT_TRUE(raw_channel_->WriteMessage(MakeTestMessage( in Run()
486 EXPECT_FALSE(rc->WriteMessage(MakeTestMessage(1))); in TEST_F()
494 EXPECT_FALSE(rc->WriteMessage(MakeTestMessage(2))); in TEST_F()
526 EXPECT_FALSE(rc->WriteMessage(MakeTestMessage(1))); in TEST_F()
554 EXPECT_FALSE(rc->WriteMessage(MakeTestMessage(1))); in TEST_F()
680 EXPECT_FALSE(rc->WriteMessage(MakeTestMessage(1))); in TEST_F()
Dmultiprocess_message_pipe_unittest.cc91 CHECK_EQ(mp->WriteMessage(0, in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
113 mp->WriteMessage(0, in TEST_F()
160 mp->WriteMessage(0, in TEST_F()
169 mp->WriteMessage(0, in TEST_F()
272 CHECK_EQ(mp->WriteMessage(0, in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
350 mp->WriteMessage(0, in TEST_F()
391 mp->WriteMessage(0, in TEST_F()
499 mp->WriteMessage(0, in TEST_F()
Dmessage_pipe_perftest.cc50 CHECK_EQ(mp->WriteMessage(0, in WriteWaitThenRead()
71 CHECK_EQ(mp->WriteMessage(0, in SendQuitMessage()
142 CHECK_EQ(mp->WriteMessage(0, in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
Dremote_message_pipe_unittest.cc207 mp0->WriteMessage(0, in TEST_F()
242 mp1->WriteMessage(1, in TEST_F()
325 mp2->WriteMessage(0, in TEST_F()
386 mp0->WriteMessage(0, in TEST_F()
461 mp0->WriteMessage(0, in TEST_F()
545 mp0->WriteMessage(0, in TEST_F()
598 local_mp->WriteMessage(1, in TEST_F()
637 dispatcher->WriteMessage(UserPointer<const void>(kHello), in TEST_F()
732 mp0->WriteMessage(0, in TEST_F()
857 mp0->WriteMessage(0, in TEST_F()
[all …]
Ddispatcher_unittest.cc47 d->WriteMessage( in TEST()
93 d->WriteMessage( in TEST()
177 dispatcher_->WriteMessage( in Run()
Dchannel.cc179 bool Channel::WriteMessage(scoped_ptr<MessageInTransit> message) { in WriteMessage() function in mojo::system::Channel
189 return raw_channel_->WriteMessage(message.Pass()); in WriteMessage()
510 return WriteMessage(message.Pass()); in SendControlMessage()
/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/mojo/python/tests/
Dsystem_unittest.py104 handles.handle1.WriteMessage()
129 handle0.WriteMessage()
141 handles.handle0.WriteMessage(data)
154 handles.handle0.WriteMessage(None)
164 handles.handle0.WriteMessage(handles=[handles_to_send.handle0,
183 handle.WriteMessage()
Dmessaging_unittest.py50 self.handle.WriteMessage()
176 self.handle.WriteMessage(header_data)
203 self.handle.WriteMessage(response_header_data)
Dasync_wait_unittest.py33 self.handles.handle1.WriteMessage()
/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/public/platform/native/
Dsystem_thunks.cc54 assert(g_thunks.WriteMessage); in MojoWriteMessage()
55 return g_thunks.WriteMessage(message_pipe_handle, bytes, num_bytes, handles, in MojoWriteMessage()
/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