/external/chromium_org/chrome/browser/extensions/api/cast_channel/ |
D | cast_message_util.cc | 27 CastMessage* message_proto) { in MessageInfoToCastMessage() argument 28 DCHECK(message_proto); in MessageInfoToCastMessage() 29 message_proto->set_protocol_version(CastMessage_ProtocolVersion_CASTV2_1_0); in MessageInfoToCastMessage() 30 message_proto->set_source_id(message.source_id); in MessageInfoToCastMessage() 31 message_proto->set_destination_id(message.destination_id); in MessageInfoToCastMessage() 32 message_proto->set_namespace_(message.namespace_); in MessageInfoToCastMessage() 41 message_proto->set_payload_type(CastMessage_PayloadType_STRING); in MessageInfoToCastMessage() 42 message_proto->set_payload_utf8(data); in MessageInfoToCastMessage() 49 message_proto->set_payload_type(CastMessage_PayloadType_BINARY); in MessageInfoToCastMessage() 50 message_proto->set_payload_binary(real_value->GetBuffer(), in MessageInfoToCastMessage() [all …]
|
D | cast_message_util.h | 20 CastMessage* message_proto); 23 bool CastMessageToMessageInfo(const CastMessage& message_proto, 27 std::string CastMessageToString(const CastMessage& message_proto); 33 void CreateAuthChallengeMessage(CastMessage* message_proto);
|
D | cast_socket.cc | 362 CastMessage message_proto; in SendMessage() local 363 if (!MessageInfoToCastMessage(message, &message_proto)) { in SendMessage() 370 SendMessageInternal(message_proto, callback); in SendMessage() 373 int CastSocket::SendMessageInternal(const CastMessage& message_proto, in SendMessageInternal() argument 376 if (!write_request.SetContent(message_proto)) in SendMessageInternal() 541 CastMessage message_proto; in ParseMessageFromBody() local 542 if (!message_proto.ParseFromArray( in ParseMessageFromBody() 546 VLOG(1) << "Parsed message " << CastMessageToString(message_proto); in ParseMessageFromBody() 548 if (IsAuthMessage(message_proto)) { in ParseMessageFromBody() 549 challenge_reply_.reset(new CastMessage(message_proto)); in ParseMessageFromBody() [all …]
|
D | cast_socket.h | 211 static bool Serialize(const CastMessage& message_proto, 295 bool SetContent(const CastMessage& message_proto);
|
/external/chromium_org/sync/engine/ |
D | traffic_recorder.cc | 72 sync_pb::ClientToServerMessage message_proto; in ToValue() local 73 if (message_proto.ParseFromString(message)) in ToValue() 75 ClientToServerMessageToValue(message_proto, in ToValue() 78 sync_pb::ClientToServerResponse message_proto; in ToValue() local 79 if (message_proto.ParseFromString(message)) in ToValue() 81 ClientToServerResponseToValue(message_proto, in ToValue()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 1588 DescriptorProto* message_proto = AddMessage(&file_proto, "TestMessage"); in TEST_F() local 1594 AddField(message_proto, "int32" , 1, label, FD::TYPE_INT32 ) in TEST_F() 1596 AddField(message_proto, "int64" , 2, label, FD::TYPE_INT64 ) in TEST_F() 1598 AddField(message_proto, "uint32", 3, label, FD::TYPE_UINT32) in TEST_F() 1600 AddField(message_proto, "uint64", 4, label, FD::TYPE_UINT64) in TEST_F() 1602 AddField(message_proto, "float" , 5, label, FD::TYPE_FLOAT ) in TEST_F() 1604 AddField(message_proto, "double", 6, label, FD::TYPE_DOUBLE) in TEST_F() 1606 AddField(message_proto, "bool" , 7, label, FD::TYPE_BOOL ) in TEST_F() 1608 AddField(message_proto, "string", 8, label, FD::TYPE_STRING) in TEST_F() 1610 AddField(message_proto, "data" , 9, label, FD::TYPE_BYTES ) in TEST_F() [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 1657 DescriptorProto* message_proto = AddMessage(&file_proto, "TestMessage"); in TEST_F() local 1663 AddField(message_proto, "int32" , 1, label, FD::TYPE_INT32 ) in TEST_F() 1665 AddField(message_proto, "int64" , 2, label, FD::TYPE_INT64 ) in TEST_F() 1667 AddField(message_proto, "uint32", 3, label, FD::TYPE_UINT32) in TEST_F() 1669 AddField(message_proto, "uint64", 4, label, FD::TYPE_UINT64) in TEST_F() 1671 AddField(message_proto, "float" , 5, label, FD::TYPE_FLOAT ) in TEST_F() 1673 AddField(message_proto, "double", 6, label, FD::TYPE_DOUBLE) in TEST_F() 1675 AddField(message_proto, "bool" , 7, label, FD::TYPE_BOOL ) in TEST_F() 1677 AddField(message_proto, "string", 8, label, FD::TYPE_STRING) in TEST_F() 1679 AddField(message_proto, "data" , 9, label, FD::TYPE_BYTES ) in TEST_F() [all …]
|