Home
last modified time | relevance | path

Searched refs:message_data (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/
Dfault_pm_nameservice_test.cc102 void Initialize(const pp::Var& message_data, nacl::StringBuffer* sb) { in Initialize() argument
124 void NameServiceDump(const pp::Var& message_data, nacl::StringBuffer* sb) { in NameServiceDump() argument
125 Initialize(message_data, sb); in NameServiceDump()
132 void RngDump(const pp::Var& message_data, nacl::StringBuffer* sb) { in RngDump() argument
137 Initialize(message_data, sb); in RngDump()
152 void ManifestTest(const pp::Var& message_data, nacl::StringBuffer* sb) { in ManifestTest() argument
156 Initialize(message_data, sb); in ManifestTest()
188 void (*handler)(const pp::Var& message_data, nacl::StringBuffer* out);
196 virtual void HandleMessage(const pp::Var& message_data);
203 void MyInstance::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
[all …]
/external/chromium_org/ppapi/native_client/tests/nacl_browser/nameservice/
Dpm_nameservice_test.cc102 void Initialize(const pp::Var& message_data, nacl::StringBuffer* sb) { in Initialize() argument
124 void NameServiceDump(const pp::Var& message_data, nacl::StringBuffer* sb) { in NameServiceDump() argument
125 Initialize(message_data, sb); in NameServiceDump()
132 void RngDump(const pp::Var& message_data, nacl::StringBuffer* sb) { in RngDump() argument
137 Initialize(message_data, sb); in RngDump()
152 void ManifestTest(const pp::Var& message_data, nacl::StringBuffer* sb) { in ManifestTest() argument
156 Initialize(message_data, sb); in ManifestTest()
188 void (*handler)(const pp::Var& message_data, nacl::StringBuffer* out);
196 virtual void HandleMessage(const pp::Var& message_data);
203 void MyInstance::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
[all …]
/external/chromium_org/ppapi/examples/scripting/
Dpost_message.cc25 virtual void HandleMessage(const pp::Var& message_data);
32 void MyInstance::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
33 if (message_data.is_string()) { in HandleMessage()
34 std::string string_copy(message_data.AsString()); in HandleMessage()
36 bool is_palindrome(message_data.AsString() == string_copy); in HandleMessage()
/external/chromium_org/ppapi/proxy/
Dppp_messaging_proxy.cc25 void HandleMessage(PP_Instance instance, PP_Var message_data) { in HandleMessage() argument
27 if (!dispatcher || (message_data.type == PP_VARTYPE_OBJECT)) { in HandleMessage()
37 SerializedVarSendInputShmem(dispatcher, message_data, instance))); in HandleMessage()
92 PP_Instance instance, SerializedVarReceiveInput message_data) { in OnMsgHandleMessage() argument
93 PP_Var received_var(message_data.GetForInstance(dispatcher(), instance)); in OnMsgHandleMessage()
Dppp_messaging_proxy_perftest.cc21 void HandleMessage(PP_Instance /* instance */, PP_Var message_data) { in HandleMessage() argument
22 StringVar* string_var = StringVar::FromPPVar(message_data); in HandleMessage()
32 PpapiGlobals::Get()->GetVarTracker()->ReleaseVar(message_data); in HandleMessage()
Dppp_messaging_proxy_unittest.cc27 void HandleMessage(PP_Instance instance, PP_Var message_data) { in HandleMessage() argument
29 received_var = message_data; in HandleMessage()
/external/chromium_org/crypto/
Dhmac_unittest.cc75 std::string message_data(kMessage); in TEST() local
81 EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize)); in TEST()
211 std::string message_data(kKnownMessage); in TEST() local
218 EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize)); in TEST()
221 message_data, in TEST()
225 message_data, in TEST()
233 EXPECT_TRUE(hmac2.Sign(message_data, calculated_hmac2, kSHA256DigestSize)); in TEST()
/external/chromium_org/content/renderer/pepper/
Dmessage_channel.h62 void PostMessageToJavaScript(PP_Var message_data);
65 void PostMessageToNative(PP_Var message_data);
118 const blink::WebSerializedScriptValue& message_data);
121 void PostMessageToNativeImpl(PP_Var message_data);
Dmessage_channel.cc382 void MessageChannel::PostMessageToJavaScript(PP_Var message_data) { in PostMessageToJavaScript() argument
402 message_data, context, &v8_val)) { in PostMessageToJavaScript()
499 const WebSerializedScriptValue& message_data) { in PostMessageToJavaScriptImpl() argument
514 message_data, // data in PostMessageToJavaScriptImpl()
530 void MessageChannel::PostMessageToNative(PP_Var message_data) { in PostMessageToNative() argument
535 PostMessageToNativeImpl(message_data); in PostMessageToNative()
538 PP_Var var_copy(CopyPPVar(message_data)); in PostMessageToNative()
548 void MessageChannel::PostMessageToNativeImpl(PP_Var message_data) { in PostMessageToNativeImpl() argument
549 instance_->HandleMessage(message_data); in PostMessageToNativeImpl()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
Dfakedtlsidentityservice.h106 FakeIdentityService::MessageData* message_data = in OnMessage() local
108 DTLSIdentityRequestObserver* observer = message_data->data().observer.get(); in OnMessage()
112 GenerateIdentity(message_data->data().common_name, &cert, &key); in OnMessage()
120 delete message_data; in OnMessage() local
/external/chromium/crypto/
Dhmac_unittest.cc53 std::string message_data(kMessage); in TEST() local
59 EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize)); in TEST()
188 std::string message_data(kKnownMessage); in TEST() local
194 EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize)); in TEST()
201 EXPECT_TRUE(hmac2.Sign(message_data, calculated_hmac2, kSHA256DigestSize)); in TEST()
/external/chromium_org/ppapi/examples/url_loader/
Dstreaming.cc43 virtual void HandleMessage(const pp::Var& message_data);
75 void MyInstance::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
76 if (message_data.is_string() && message_data.AsString() == "go") in HandleMessage()
Dstream_to_file.cc46 virtual void HandleMessage(const pp::Var& message_data);
80 void MyInstance::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
81 if (message_data.is_string() && message_data.AsString() == "go") in HandleMessage()
/external/chromium_org/ppapi/examples/enumerate_devices/
Denumerate_devices.cc46 virtual void HandleMessage(const pp::Var& message_data);
77 void EnumerateDevicesDemoInstance::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
78 if (message_data.is_string()) { in HandleMessage()
79 std::string event = message_data.AsString(); in HandleMessage()
/external/chromium_org/ppapi/examples/crxfs/
Dcrxfs.cc35 virtual void HandleMessage(const pp::Var& message_data);
58 void MyInstance::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
59 if (!message_data.is_string()) { in HandleMessage()
63 std::string filename = message_data.AsString(); in HandleMessage()
/external/chromium_org/ppapi/tests/
Dtest_video_source.cc62 void TestVideoSource::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
63 if (message_data.AsString().find("blob:") == 0) { in HandleMessage()
64 stream_url_ = message_data.AsString(); in HandleMessage()
Dtest_video_destination.cc65 void TestVideoDestination::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
66 if (message_data.AsString().find("blob:") == 0) { in HandleMessage()
67 stream_url_ = message_data.AsString(); in HandleMessage()
Dtest_video_destination.h25 virtual void HandleMessage(const pp::Var& message_data);
/external/chromium_org/ppapi/examples/video_effects/
Dvideo_effects.cc53 virtual void HandleMessage(const pp::Var& message_data);
81 void VEDemoInstance::HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
82 if (message_data.is_string()) { in HandleMessage()
84 messages = SplitStringBySpace(message_data.AsString()); in HandleMessage()
/external/chromium_org/chrome/browser/extensions/api/cast_channel/
Dcast_socket.cc562 std::string* message_data) { in Serialize() argument
563 DCHECK(message_data); in Serialize()
564 message_proto.SerializeToString(message_data); in Serialize()
565 size_t message_size = message_data->size(); in Serialize()
567 message_data->clear(); in Serialize()
572 header.PrependToString(message_data); in Serialize()
667 std::string message_data; in SetContent() local
668 if (!Serialize(message_proto, &message_data)) in SetContent()
670 io_buffer = new net::DrainableIOBuffer(new net::StringIOBuffer(message_data), in SetContent()
671 message_data.size()); in SetContent()
Dcast_socket_unittest.cc661 std::string message_data; in TEST_F() local
662 ASSERT_TRUE(CastSocket::Serialize(test_proto_, &message_data)); in TEST_F()
688 message_data.c_str(), 4); in TEST_F()
691 message_data.c_str() + 4, 35); in TEST_F()
712 std::string message_data[4]; in TEST_F() local
717 ASSERT_TRUE(CastSocket::Serialize(test_proto_, &message_data[i])); in TEST_F()
746 message_data[i].c_str(), 4); in TEST_F()
749 message_data[i].c_str() + 4, sizes[i]); in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dsharedexclusivelock_unittest.cc85 TypedMessageData<int*>* message_data = in OnMessage() local
94 *message_data->data() = *value_; in OnMessage()
118 TypedMessageData<int>* message_data = in OnMessage() local
127 *value_ = message_data->data(); in OnMessage()
/external/chromium_org/ppapi/examples/scaling/
Dscaling.cc70 virtual void HandleMessage(const pp::Var& message_data) { in HandleMessage() argument
71 if (message_data.is_string()) { in HandleMessage()
72 std::string str = message_data.AsString(); in HandleMessage()
/external/chromium_org/chrome/browser/ui/webui/quota_internals/
Dquota_internals_handler.cc81 scoped_ptr<base::Value> message_data(base::Value::CreateStringValue(message)); in SendMessage() local
83 *message_data, in SendMessage()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dextension_set_heavy.cc568 string message_data; in ParseMessageSetItem() local
581 if (!message_data.empty()) { in ParseMessageSetItem()
585 reinterpret_cast<const uint8*>(message_data.data()), in ParseMessageSetItem()
586 message_data.size()); in ParseMessageSetItem()
591 message_data.clear(); in ParseMessageSetItem()
604 io::StringOutputStream output_stream(&message_data); in ParseMessageSetItem()

12