/external/chromium_org/mojo/embedder/ |
D | platform_channel_pair_posix_unittest.cc | 70 static const char kHello[] = "hello"; in TEST_F() local 71 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F() 72 write(client_handle.get().fd, kHello, sizeof(kHello))); in TEST_F() 79 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F() 81 EXPECT_STREQ(kHello, buffer); in TEST_F() 91 result = PlatformChannelWrite(server_handle.get(), kHello, sizeof(kHello)); in TEST_F() 98 { const_cast<char*>(kHello), sizeof(kHello) }, in TEST_F() 99 { const_cast<char*>(kHello), sizeof(kHello) } in TEST_F() 132 static const char kHello[] = "hello"; in TEST_F() local 152 struct iovec iov = { const_cast<char*>(kHello), sizeof(kHello) }; in TEST_F() [all …]
|
D | embedder_unittest.cc | 128 const char kHello[] = "hello"; in TEST_F() local 130 MojoWriteMessage(server_mp, kHello, in TEST_F() 131 static_cast<uint32_t>(sizeof(kHello)), NULL, 0, in TEST_F() 144 EXPECT_EQ(sizeof(kHello), num_bytes); in TEST_F() 145 EXPECT_STREQ(kHello, buffer); in TEST_F() 180 const char kHello[] = "hello"; in TEST_F() local 182 MojoWriteMessage(h0, kHello, in TEST_F() 183 static_cast<uint32_t>(sizeof(kHello)), NULL, 0, in TEST_F() 233 EXPECT_EQ(sizeof(kHello), num_bytes); in TEST_F() 234 EXPECT_STREQ(kHello, buffer); in TEST_F() [all …]
|
/external/chromium_org/base/posix/ |
D | unix_domain_socket_linux_unittest.cc | 90 static const char kHello[] = "hello"; in TEST() local 92 send_sock.get(), kHello, sizeof(kHello), std::vector<int>())); in TEST() 96 char buf[sizeof(kHello) + 1]; in TEST() 101 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread)); in TEST() 102 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello))); in TEST() 117 static const char kHello[] = "hello"; in TEST() local 121 send_sock.get(), kHello, sizeof(kHello), send_fds)); in TEST() 125 char buf[sizeof(kHello) + 1]; in TEST() 130 ASSERT_EQ(sizeof(kHello), static_cast<size_t>(nread)); in TEST() 131 ASSERT_EQ(0, memcmp(buf, kHello, sizeof(kHello))); in TEST()
|
/external/chromium_org/mojo/system/ |
D | remote_message_pipe_unittest.cc | 175 static const char kHello[] = "hello"; in TEST_F() local 205 kHello, sizeof(kHello), in TEST_F() 220 EXPECT_EQ(sizeof(kHello), static_cast<size_t>(buffer_size)); in TEST_F() 221 EXPECT_STREQ(kHello, buffer); in TEST_F() 271 static const char kHello[] = "hello"; in TEST_F() local 306 kHello, sizeof(kHello), in TEST_F() 341 EXPECT_EQ(sizeof(kHello), static_cast<size_t>(buffer_size)); in TEST_F() 342 EXPECT_STREQ(kHello, buffer); in TEST_F() 396 static const char kHello[] = "hello"; in TEST_F() local 413 kHello, sizeof(kHello), in TEST_F() [all …]
|
D | core_unittest.cc | 429 const char kHello[] = "hello"; in TEST_F() local 430 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST_F() 447 kHello, kHelloSize, in TEST_F() 461 EXPECT_STREQ(kHello, buffer); in TEST_F() 468 kHello, kHelloSize, in TEST_F() 473 kHello, kHelloSize, in TEST_F() 484 kHello, kHelloSize, in TEST_F() 497 EXPECT_STREQ(kHello, buffer); in TEST_F() 535 kHello, kHelloSize, in TEST_F() 548 EXPECT_STREQ(kHello, buffer); in TEST_F() [all …]
|
D | multiprocess_message_pipe_unittest.cc | 328 static const char kHello[] = "hello"; in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() local 329 memcpy(mapping->base(), kHello, sizeof(kHello)); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 430 static const char kHello[] = "hello"; in TEST_F() local 431 EXPECT_EQ(0, memcmp(mapping->base(), kHello, sizeof(kHello))); in TEST_F()
|
/external/chromium_org/dbus/ |
D | end_to_end_async_unittest.cc | 273 const char* kHello = "hello"; in TEST_F() local 278 writer.AppendString(kHello); in TEST_F() 286 EXPECT_EQ(kHello, response_strings_[0]); in TEST_F() 290 const char* kHello = "hello"; in TEST_F() local 295 writer.AppendString(kHello); in TEST_F() 303 EXPECT_EQ(kHello, response_strings_[0]); in TEST_F() 349 const char* kHello = "hello"; in TEST_F() local 357 writer.AppendString(kHello); in TEST_F() 369 const char* kHello = "hello"; in TEST_F() local 377 writer.AppendString(kHello); in TEST_F() [all …]
|
D | mock_unittest.cc | 131 const char kHello[] = "Hello"; in TEST_F() local 140 writer.AppendString(kHello); in TEST_F() 153 EXPECT_EQ(kHello, text_message); in TEST_F() 159 const char kHello[] = "hello"; in TEST_F() local 169 writer.AppendString(kHello); in TEST_F() 179 EXPECT_EQ(kHello, response_string_); in TEST_F()
|
D | end_to_end_sync_unittest.cc | 56 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()
|
/external/chromium_org/mojo/public/c/system/tests/ |
D | core_unittest_pure_c.c | 46 const char kHello[] = "hello"; in MinimalCTest() local 68 MojoWriteMessage(handle0, kHello, (uint32_t) sizeof(kHello), NULL, in MinimalCTest() 79 EXPECT_EQ((uint32_t) sizeof(kHello), num_bytes); in MinimalCTest() 80 EXPECT_EQ(0, memcmp(buffer, kHello, sizeof(kHello))); in MinimalCTest()
|
D | core_unittest.cc | 104 static const char kHello[] = "hello"; in TEST() local 105 buffer_size = static_cast<uint32_t>(sizeof(kHello)); in TEST() 107 MojoWriteMessage(h1, kHello, buffer_size, NULL, 0, in TEST() 120 EXPECT_EQ(static_cast<uint32_t>(sizeof(kHello)), buffer_size); in TEST() 121 EXPECT_STREQ(kHello, buffer); in TEST() 172 static const char kHello[] = "hello "; in TEST() local 174 buffer_size = static_cast<uint32_t>(strlen(kHello)); in TEST() 176 MojoWriteData(hp, kHello, &buffer_size, in TEST()
|
/external/chromium_org/sandbox/linux/services/ |
D | unix_domain_socket_unittest.cc | 31 const char kHello[] = "hello"; variable 76 CHECK(UnixDomainSocket::SendMsg(fd, kHello, sizeof(kHello), send_fds)); in SendHello() 97 char buf[sizeof(kHello) + 1]; in RecvHello() 101 CHECK_EQ(sizeof(kHello), static_cast<size_t>(n)); in RecvHello() 102 CHECK_EQ(0, memcmp(buf, kHello, sizeof(kHello))); in RecvHello()
|
/external/chromium_org/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 198 const char kHello[] = "hello"; in TEST() local 199 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST() 202 kHello, kHelloSize, in TEST() 216 EXPECT_STREQ(kHello, buffer); in TEST() 240 kHello, kHelloSize, in TEST() 261 EXPECT_STREQ(kHello, buffer); in TEST() 322 const char kHello[] = "hello"; in TEST() local 323 const uint32_t kHelloSize = static_cast<uint32_t>(sizeof(kHello)); in TEST() 330 kHello, kHelloSize, in TEST() 369 const char kHello[] = "hello"; in TEST() local [all …]
|
/external/chromium_org/net/websockets/ |
D | websocket_frame_parser_test.cc | 21 const char kHello[] = "Hello, world!"; variable 22 const uint64 kHelloLength = arraysize(kHello) - 1; 76 EXPECT_TRUE(std::equal(kHello, kHello + kHelloLength, frame->data->data())); in TEST() 103 EXPECT_TRUE(std::equal(kHello, kHello + kHelloLength, frame->data->data())); in TEST() 182 std::vector<char> expected1(kHello, kHello + cutting_pos); in TEST() 183 std::vector<char> expected2(kHello + cutting_pos, kHello + kHelloLength); in TEST() 249 std::vector<char> expected1(kHello, kHello + cutting_pos); in TEST() 250 std::vector<char> expected2(kHello + cutting_pos, kHello + kHelloLength); in TEST()
|
/external/chromium_org/chromeos/dbus/ |
D | blocking_method_caller_unittest.cc | 113 const char kHello[] = "Hello"; in TEST_F() local 122 writer.AppendString(kHello); in TEST_F() 135 EXPECT_EQ(kHello, text_message); in TEST_F()
|
/external/chromium_org/base/debug/ |
D | trace_event_memory_unittest.cc | 233 const char kHello[] = "hello"; in TEST_F() local 235 hex_address << &kHello; in TEST_F() 236 EXPECT_STREQ(kHello, StringFromHexAddress(hex_address.str())); in TEST_F()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 272 const string kHello("hello"); in TEST() local 273 message.set_optional_string(kHello); in TEST() 280 message.set_allocated_optional_string(new string(kHello)); in TEST() 282 EXPECT_EQ(kHello, message.optional_string()); in TEST()
|