Home
last modified time | relevance | path

Searched refs:kHello (Results 1 – 12 of 12) sorted by relevance

/external/libmojo/mojo/edk/embedder/
Dplatform_channel_pair_posix_unittest.cc72 static const char kHello[] = "hello"; in TEST_F() local
73 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F()
74 write(client_handle.get().handle, kHello, sizeof(kHello))); in TEST_F()
81 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F()
83 EXPECT_STREQ(kHello, buffer); in TEST_F()
93 result = PlatformChannelWrite(server_handle.get(), kHello, sizeof(kHello)); in TEST_F()
99 struct iovec iov[2] = {{const_cast<char*>(kHello), sizeof(kHello)}, in TEST_F()
100 {const_cast<char*>(kHello), sizeof(kHello)}}; in TEST_F()
135 static const char kHello[] = "hello"; in TEST_F() local
165 struct iovec iov = {const_cast<char*>(kHello), sizeof(kHello)}; in TEST_F()
[all …]
Dembedder_unittest.cc63 const std::string kHello = "hello"; in TEST_F() local
66 WriteMessage(server_mp, kHello); in TEST_F()
67 EXPECT_EQ(kHello, ReadMessage(client_mp)); in TEST_F()
89 const std::string kHello = "hello"; in TEST_F() local
90 WriteMessageWithHandles(server_mp2, kHello, &client_mp3, 1); in TEST_F()
99 WriteMessageWithHandles(server_mp, kHello, &client_mp2, 1); in TEST_F()
103 EXPECT_EQ(kHello, message); in TEST_F()
107 EXPECT_EQ(kHello, message); in TEST_F()
158 const std::string kHello = "hello"; in TEST_F() local
159 WriteMessage(h0, kHello); in TEST_F()
[all …]
/external/libchrome/base/posix/
Dunix_domain_socket_linux_unittest.cc92 static const char kHello[] = "hello"; in TEST() local
94 send_sock.get(), kHello, sizeof(kHello), std::vector<int>())); in TEST()
98 char buf[sizeof(kHello) + 1]; in TEST()
103 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread)); in TEST()
104 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello))); in TEST()
119 static const char kHello[] = "hello"; in TEST() local
123 send_sock.get(), kHello, sizeof(kHello), send_fds)); in TEST()
127 char buf[sizeof(kHello) + 1]; in TEST()
132 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread)); in TEST()
133 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello))); in TEST()
/external/libmojo/mojo/public/c/system/tests/
Dcore_unittest_pure_c.c46 const char kHello[] = "hello"; in MinimalCTest() local
78 MojoWriteMessage(handle0, kHello, (uint32_t)sizeof(kHello), NULL, in MinimalCTest()
94 EXPECT_EQ((uint32_t)sizeof(kHello), num_bytes); in MinimalCTest()
95 EXPECT_EQ(0, memcmp(buffer, kHello, sizeof(kHello))); in MinimalCTest()
Dcore_unittest.cc125 static const char kHello[] = "hello"; in TEST() local
126 buffer_size = static_cast<uint32_t>(sizeof(kHello)); in TEST()
127 EXPECT_EQ(MOJO_RESULT_OK, MojoWriteMessage(h1, kHello, buffer_size, nullptr, in TEST()
146 EXPECT_EQ(static_cast<uint32_t>(sizeof(kHello)), buffer_size); in TEST()
147 EXPECT_STREQ(kHello, buffer); in TEST()
219 static const char kHello[] = "hello "; in TEST() local
221 buffer_size = static_cast<uint32_t>(strlen(kHello)); in TEST()
222 EXPECT_EQ(MOJO_RESULT_OK, MojoWriteData(hp, kHello, &buffer_size, in TEST()
/external/libmojo/mojo/public/cpp/system/tests/
Dcore_unittest.cc240 const char kHello[] = "hello"; in TEST() local
241 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST()
244 kHello, in TEST()
266 EXPECT_STREQ(kHello, buffer); in TEST()
292 kHello, in TEST()
319 EXPECT_STREQ(kHello, buffer); in TEST()
391 const char kHello[] = "hello"; in TEST() local
392 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST()
399 kHello, in TEST()
445 const char kHello[] = "hello"; in TEST() local
[all …]
/external/libmojo/mojo/edk/system/
Dcore_unittest.cc678 const char kHello[] = "hello"; in TEST_F() local
679 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST_F()
696 core()->WriteMessage(h_passing[0], kHello, kHelloSize, nullptr, 0, in TEST_F()
712 ASSERT_STREQ(kHello, buffer); in TEST_F()
718 core()->WriteMessage(h_passing[0], kHello, kHelloSize, in TEST_F()
725 core()->WriteMessage(h_passing[0], kHello, kHelloSize, in TEST_F()
737 core()->WriteMessage(h_passed[0], kHello, kHelloSize, nullptr, 0, in TEST_F()
753 ASSERT_STREQ(kHello, buffer); in TEST_F()
792 core()->WriteMessage(h_passed[0], kHello, kHelloSize, nullptr, 0, in TEST_F()
808 ASSERT_STREQ(kHello, buffer); in TEST_F()
[all …]
Dmultiprocess_message_pipe_unittest.cc253 static const char kHello[] = "hello"; in DEFINE_TEST_CLIENT_WITH_PIPE() local
254 memcpy(buffer, kHello, sizeof(kHello)); in DEFINE_TEST_CLIENT_WITH_PIPE()
341 static const char kHello[] = "hello"; in TEST_F() local
346 ASSERT_EQ(0, memcmp(buffer, kHello, sizeof(kHello))); in TEST_F()
/external/skqp/bench/
DPDFBench.cpp234 static const char kHello[] = "HELLO SKIA!\n"; in onDraw() local
238 SkPDFUtils::WriteString(fWStream.get(), kHello, strlen(kHello)); in onDraw()
/external/skia/bench/
DPDFBench.cpp234 static const char kHello[] = "HELLO SKIA!\n"; in onDraw() local
238 SkPDFUtils::WriteString(fWStream.get(), kHello, strlen(kHello)); in onDraw()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dstruct_traits_unittest.cc302 const char kHello[] = "hello"; in TEST_F() local
303 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST_F()
305 WriteMessageRaw(mp.handle1.get(), kHello, kHelloSize, nullptr, 0, in TEST_F()
317 EXPECT_STREQ(kHello, buffer); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc310 const string kHello("hello"); in TEST() local
311 message.set_optional_string(kHello); in TEST()
318 message.set_allocated_optional_string(new string(kHello)); in TEST()
320 EXPECT_EQ(kHello, message.optional_string()); in TEST()
1598 const string kHello("hello"); in TEST_F() local
1599 message.set_foo_string(kHello); in TEST_F()
1606 message.set_allocated_foo_string(new string(kHello)); in TEST_F()
1608 EXPECT_EQ(kHello, message.foo_string()); in TEST_F()