Home
last modified time | relevance | path

Searched refs:kMessage (Results 1 – 11 of 11) sorted by relevance

/external/libmojo/mojo/message_pump/
Dhandle_watcher_perftest.cc143 const std::string kMessage = "hello"; in TEST_P() local
154 ASSERT_TRUE(mojo::test::WriteTextMessage(pipe.handle1.get(), kMessage)); in TEST_P()
160 EXPECT_EQ(kMessage, received_message); in TEST_P()
168 const std::string kMessage = "hello"; in TEST_P() local
194 ASSERT_TRUE(mojo::test::WriteTextMessage(pipe.handle1.get(), kMessage)); in TEST_P()
200 EXPECT_EQ(kMessage, received_message); in TEST_P()
/external/libmojo/mojo/edk/system/
Dmessage_pipe_unittest.cc429 const std::string kMessage = "Hello, world."; in TEST_F() local
432 MojoAllocMessage(static_cast<uint32_t>(kMessage.size()), nullptr, 0, in TEST_F()
439 const std::string kMessage = "Hello, world."; in TEST_F() local
442 MojoAllocMessage(static_cast<uint32_t>(kMessage.size()), nullptr, 0, in TEST_F()
449 memcpy(buffer, kMessage.data(), kMessage.size()); in TEST_F()
465 EXPECT_EQ(static_cast<uint32_t>(kMessage.size()), num_bytes); in TEST_F()
471 EXPECT_EQ(0, strncmp(static_cast<const char*>(buffer), kMessage.data(), in TEST_F()
Ddata_pipe_unittest.cc1841 const std::string kMessage = "Hello, world!"; in TEST_F()
1842 WriteMessageWithHandles(producer_client, kMessage, &p, 1); in TEST_F()
1843 WriteMessageWithHandles(consumer_client, kMessage, &c, 1); in TEST_F()
1863 const std::string kMessage = "Hello, world!"; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
1864 WriteMessageWithHandles(h, kMessage, &c, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
1867 uint32_t num_bytes = static_cast<uint32_t>(kMessage.size()); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
1868 EXPECT_EQ(MOJO_RESULT_OK, MojoWriteData(p, kMessage.data(), &num_bytes, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
1870 EXPECT_EQ(num_bytes, static_cast<uint32_t>(kMessage.size())); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
/external/libbrillo/brillo/
Dprocess_unittest.cc245 const char kMessage[] = "made it!\n"; in TEST_F() local
252 EXPECT_TRUE(base::WriteFile(GetFdPath(write_fd), kMessage, strlen(kMessage))); in TEST_F()
255 ExpectFileEquals(kMessage, output_file_.c_str()); in TEST_F()
Dmime_utils.h24 BRILLO_EXPORT extern const char kMessage[]; // message
Dmime_utils.cc19 const char mime::types::kMessage[] = "message"; member in brillo::mime::types
/external/boringssl/src/tool/
Dspeed.cc482 static const uint8_t kMessage[] = {0, 1, 2, 3, 4, 5}; in Speed25519() local
486 return ED25519_sign(signature, kMessage, sizeof(kMessage), in Speed25519()
495 return ED25519_verify(kMessage, sizeof(kMessage), signature, in Speed25519()
/external/libchrome/crypto/
Dhmac_unittest.cc52 const char kMessage[] = in TEST() local
78 std::string message_data(kMessage); in TEST()
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
Dprotobufwireadapter.h87 kMessage, enumerator
Dprotobufwireadapter.cc154 if (read_state_ == kMessage) { in OnBytesReceived()
162 read_state_ = kMessage; in OnBytesReceived()
/external/webrtc/webrtc/examples/peerconnection/server/
Dpeer_channel.cc46 kMessage, enumerator