Home
last modified time | relevance | path

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

/external/libchrome/base/posix/
Dunix_domain_socket_unittest.cc112 static const char kHello[] = "hello"; in TEST() local
113 ASSERT_TRUE(UnixDomainSocket::SendMsg(send_sock.get(), kHello, sizeof(kHello), in TEST()
118 char buf[sizeof(kHello) + 1]; in TEST()
123 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread)); in TEST()
124 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello))); in TEST()
139 static const char kHello[] = "hello"; in TEST() local
142 ASSERT_TRUE(UnixDomainSocket::SendMsg(send_sock.get(), kHello, sizeof(kHello), in TEST()
147 char buf[sizeof(kHello) + 1]; in TEST()
152 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread)); in TEST()
153 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello))); in TEST()
/external/libchrome/dbus/
Dend_to_end_async_unittest.cc275 const char* kHello = "hello"; in TEST_F() local
280 writer.AppendString(kHello); in TEST_F()
288 EXPECT_EQ(kHello, response_strings_[0]); in TEST_F()
292 const char* kHello = "hello"; in TEST_F() local
297 writer.AppendString(kHello); in TEST_F()
305 EXPECT_EQ(kHello, response_strings_[0]); in TEST_F()
351 const char* kHello = "hello"; in TEST_F() local
359 writer.AppendString(kHello); in TEST_F()
371 const char* kHello = "hello"; in TEST_F() local
379 writer.AppendString(kHello); in TEST_F()
[all …]
Dend_to_end_sync_unittest.cc56 const std::string kHello = "hello"; in TEST_F() local
61 writer.AppendString(kHello); in TEST_F()
73 EXPECT_EQ(kHello, returned_message); in TEST_F()
77 const std::string kHello = "hello"; in TEST_F() local
82 writer.AppendString(kHello); in TEST_F()
Dmock_unittest.cc143 const char kHello[] = "Hello"; in TEST_F() local
152 writer.AppendString(kHello); in TEST_F()
164 EXPECT_EQ(kHello, text_message); in TEST_F()
191 const char kHello[] = "hello"; in TEST_F() local
201 writer.AppendString(kHello); in TEST_F()
212 EXPECT_EQ(kHello, response_string_); in TEST_F()
/external/libchrome/mojo/public/cpp/system/tests/
Dcore_unittest.cc212 const char kHello[] = "hello"; in TEST() local
213 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST()
215 WriteMessageRaw(h0.get(), kHello, kHelloSize - 1, nullptr, 0, in TEST()
227 EXPECT_EQ(kHello, std::string(bytes.begin(), bytes.end())); in TEST()
248 WriteMessageRaw(h1.get(), kHello, kHelloSize - 1, handles, in TEST()
262 EXPECT_EQ(kHello, std::string(bytes.begin(), bytes.end())); in TEST()
313 const char kHello[] = "hello"; in TEST() local
314 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST()
320 WriteMessageRaw(h1.get(), kHello, kHelloSize, &h3_value, 1, in TEST()
355 const char kHello[] = "hello"; in TEST() local
[all …]
/external/pigweed/pw_bytes/
Darray_test.cc42 constexpr std::array<byte, 5> kHello{ variable
49 static_assert(Equal(String("Hello"), kHello));
51 static_assert(Equal(MakeArray('H', 'e', 'l', 'l', 'o'), kHello));
52 static_assert(Equal(Concat('H', kEllo), kHello));
/external/libchrome/mojo/core/
Dembedder_unittest.cc84 const std::string kHello = "hello"; in TEST_F() local
87 WriteMessage(server_mp, kHello); in TEST_F()
88 EXPECT_EQ(kHello, ReadMessage(client_mp)); in TEST_F()
135 const std::string kHello = "hello"; in TEST_F() local
136 WriteMessage(h0, kHello); in TEST_F()
152 EXPECT_EQ(kHello, ReadMessage(h1)); in TEST_F()
Dmultiprocess_message_pipe_unittest.cc286 static const char kHello[] = "hello"; in DEFINE_TEST_CLIENT_WITH_PIPE() local
287 memcpy(buffer, kHello, sizeof(kHello)); in DEFINE_TEST_CLIENT_WITH_PIPE()
373 static const char kHello[] = "hello"; in TEST_F() local
377 ASSERT_EQ(0, memcmp(buffer, kHello, sizeof(kHello))); in TEST_F()
/external/skqp/bench/
DPDFBench.cpp235 static const char kHello[] = "HELLO SKIA!\n"; in onDraw() local
239 SkPDFWriteString(fWStream.get(), kHello, strlen(kHello)); in onDraw()
/external/skia/bench/
DPDFBench.cpp236 static const char kHello[] = "HELLO SKIA!\n"; in onDraw() local
240 SkPDFWriteString(fWStream.get(), kHello, strlen(kHello)); in onDraw()
/external/libchrome/mojo/public/c/system/tests/
Dcore_api_unittest.cc190 static const char kHello[] = "hello "; in TEST() local
192 buffer_size = static_cast<uint32_t>(strlen(kHello)); in TEST()
193 EXPECT_EQ(MOJO_RESULT_OK, MojoWriteData(hp, kHello, &buffer_size, nullptr)); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dchar_map_test.cc112 constexpr absl::strings_internal::Charmap kHello = in TEST() local
114 EXPECT_THAT(Members(kHello), " !,Hdelorw"); in TEST()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dchar_map_test.cc112 constexpr absl::strings_internal::Charmap kHello = in TEST() local
114 EXPECT_THAT(Members(kHello), " !,Hdelorw"); in TEST()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dchar_map_test.cc112 constexpr absl::strings_internal::Charmap kHello = in TEST() local
114 EXPECT_THAT(Members(kHello), " !,Hdelorw"); in TEST()
/external/abseil-cpp/absl/strings/internal/
Dchar_map_test.cc112 constexpr absl::strings_internal::Charmap kHello = in TEST() local
114 EXPECT_THAT(Members(kHello), " !,Hdelorw"); in TEST()
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dchar_map_test.cc112 constexpr absl::strings_internal::Charmap kHello = in TEST() local
114 EXPECT_THAT(Members(kHello), " !,Hdelorw"); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dchar_map_test.cc112 constexpr absl::strings_internal::Charmap kHello = in TEST() local
114 EXPECT_THAT(Members(kHello), " !,Hdelorw"); in TEST()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dstruct_traits_unittest.cc391 const char kHello[] = "hello"; in TEST_F() local
392 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST_F()
394 WriteMessageRaw(mp.handle1.get(), kHello, kHelloSize, nullptr, 0, in TEST_F()
404 EXPECT_STREQ(kHello, reinterpret_cast<char*>(bytes.data())); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc293 const std::string kHello("hello");
294 message.set_optional_string(kHello);
301 message.set_allocated_optional_string(new std::string(kHello));
303 EXPECT_EQ(kHello, message.optional_string());
1672 const std::string kHello("hello");
1673 message.set_foo_string(kHello);
1680 message.set_allocated_foo_string(new std::string(kHello));
1682 EXPECT_EQ(kHello, message.foo_string());