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