Home
last modified time | relevance | path

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

/external/libchrome/mojo/core/
Dplatform_wrapper_unittest.cc67 const std::string kMessage = "Hello, world!"; in TEST_F() local
68 EXPECT_EQ(base::WriteFile(temp_file_path, kMessage.data(), in TEST_F()
69 static_cast<int>(kMessage.size())), in TEST_F()
70 static_cast<int>(kMessage.size())); in TEST_F()
88 WriteMessageWithHandles(h, kMessage, &wrapped_handle, 1); in TEST_F()
115 const std::string kMessage = "Hello, world!"; in TEST_F() local
117 buffer.CreateAndMapAnonymous(kMessage.size()); in TEST_F()
119 memcpy(buffer.memory(), kMessage.data(), kMessage.size()); in TEST_F()
147 &os_buffer, 1, kMessage.size(), &mojo_guid, in TEST_F()
150 WriteMessageWithHandles(h, kMessage, &wrapped_handle, 1); in TEST_F()
Dsignals_unittest.cc109 const char kMessage[] = "ayyy"; in TEST_F() local
110 WriteMessageWithHandles(a, kMessage, &c, 1); in TEST_F()
111 EXPECT_EQ(kMessage, ReadMessageWithHandles(b, &c, 1)); in TEST_F()
113 WriteMessage(c, kMessage); in TEST_F()
114 EXPECT_EQ(kMessage, ReadMessage(d)); in TEST_F()
Ddata_pipe_unittest.cc1897 const std::string kMessage = "Hello, world!"; in TEST_F() local
1898 WriteMessageWithHandles(producer_client, kMessage, &p, 1); in TEST_F()
1899 WriteMessageWithHandles(consumer_client, kMessage, &c, 1); in TEST_F()
1919 const std::string kMessage = "Hello, world!"; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() local
1920 WriteMessageWithHandles(h, kMessage, &c, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
1923 uint32_t num_bytes = static_cast<uint32_t>(kMessage.size()); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
1925 MojoWriteData(p, kMessage.data(), &num_bytes, nullptr)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
1926 EXPECT_EQ(num_bytes, static_cast<uint32_t>(kMessage.size())); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dinvitation_unittest.cc231 const std::string kMessage = "RSVP LOL"; in TEST_F() local
232 WriteMessage(pipe0, kMessage); in TEST_F()
233 EXPECT_EQ(kMessage, ReadMessage(pipe1)); in TEST_F()
Dtrap_unittest.cc1617 const char kMessage[] = "this is not a message"; in TEST_F() local
1619 WriteMessage(b, kMessage); in TEST_F()
1641 EXPECT_EQ(kMessage, ReadMessage(a)); in TEST_F()
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatusor.cc26 const char* kMessage = in HandleInvalidStatusCtorArg() local
28 LOG(ERROR) << kMessage; in HandleInvalidStatusCtorArg()
30 *status = ::tensorflow::errors::Internal(kMessage); in HandleInvalidStatusCtorArg()
/external/grpc-grpc/examples/cpp/helloworld/cocoapods/HelloWorldCpp/
DViewController.mm27 const uint8_t kMessage[] =
59 grpc::Slice send_slice = grpc::Slice(kMessage, sizeof(kMessage) / sizeof(kMessage[0]));
/external/perfetto/include/perfetto/protozero/
Dproto_utils.h55 kMessage, enumerator
89 case ProtoSchemaType::kMessage: in ProtoSchemaToString()
/external/libbrillo/brillo/
Dprocess_unittest.cc264 const char kMessage[] = "made it!\n"; in TEST_F() local
271 EXPECT_TRUE(base::WriteFile(GetFdPath(write_fd), kMessage, strlen(kMessage))); in TEST_F()
274 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/libchrome/crypto/
Dhmac_unittest.cc52 const char kMessage[] = in TEST() local
78 std::string message_data(kMessage); in TEST()
/external/boringssl/src/tool/
Dspeed.cc646 static const uint8_t kMessage[] = {0, 1, 2, 3, 4, 5}; in Speed25519() local
650 return ED25519_sign(signature, kMessage, sizeof(kMessage), in Speed25519()
659 return ED25519_verify(kMessage, sizeof(kMessage), signature, in Speed25519()
/external/libchrome/mojo/core/ports/
Dports_unittest.cc1613 const char* kMessage = "hey"; in TEST_F() local
1615 EXPECT_EQ(OK, node0.SendStringMessage(a, kMessage)); in TEST_F()
1617 EXPECT_TRUE(MessageEquals(message, kMessage)); in TEST_F()
1623 EXPECT_TRUE(MessageEquals(message, kMessage)); in TEST_F()
1629 EXPECT_TRUE(MessageEquals(message, kMessage)); in TEST_F()
1635 EXPECT_TRUE(MessageEquals(message, kMessage)); in TEST_F()
/external/webrtc/webrtc/examples/peerconnection/server/
Dpeer_channel.cc46 kMessage, enumerator
/external/libchrome/mojo/public/cpp/system/
DREADME.md74 const std::string kMessage = "hello";
75 std::copy(kMessage.begin(), kMessage.end(), static_cast<char*>(buffer));
/external/perfetto/src/trace_processor/
Dproto_trace_parser.cc1051 case ProtoSchemaType::kMessage: in ParseTypedFtraceToRaw()