Home
last modified time | relevance | path

Searched refs:proto_ (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dtext_format_unittest.cc88 unittest::TestAllTypes proto_; member in google::protobuf::text_format_unittest::TextFormatTest
111 unittest::TestAllExtensions proto_; member in google::protobuf::text_format_unittest::TextFormatExtensionsTest
120 TestUtil::SetAllFields(&proto_); in TEST_F()
121 EXPECT_EQ(proto_debug_string_, proto_.DebugString()); in TEST_F()
125 TestUtil::SetAllExtensions(&proto_); in TEST_F()
126 EXPECT_EQ(proto_debug_string_, proto_.DebugString()); in TEST_F()
130 proto_.set_optional_int32(1); in TEST_F()
131 proto_.set_optional_string("hello"); in TEST_F()
132 proto_.mutable_optional_nested_message()->set_bb(2); in TEST_F()
133 proto_.mutable_optional_foreign_message(); in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/
Dtext_format_unittest.cc88 unittest::TestAllTypes proto_; member in google::protobuf::text_format_unittest::TextFormatTest
111 unittest::TestAllExtensions proto_; member in google::protobuf::text_format_unittest::TextFormatExtensionsTest
120 TestUtil::SetAllFields(&proto_); in TEST_F()
121 EXPECT_EQ(proto_debug_string_, proto_.DebugString()); in TEST_F()
125 TestUtil::SetAllExtensions(&proto_); in TEST_F()
126 EXPECT_EQ(proto_debug_string_, proto_.DebugString()); in TEST_F()
130 proto_.set_optional_int32(1); in TEST_F()
131 proto_.set_optional_string("hello"); in TEST_F()
132 proto_.mutable_optional_nested_message()->set_bb(2); in TEST_F()
133 proto_.mutable_optional_foreign_message(); in TEST_F()
[all …]
/external/chromium_org/ash/system/chromeos/power/
Dpower_status.cc141 return proto_.battery_state() != in IsBatteryPresent()
146 return proto_.battery_state() == in IsBatteryFull()
151 return proto_.battery_state() == in IsBatteryCharging()
156 return IsLinePowerConnected() && proto_.battery_state() == in IsBatteryDischargingOnLinePower()
161 return proto_.battery_percent(); in GetBatteryPercent()
170 return proto_.is_calculating_battery_time(); in IsBatteryTimeBeingCalculated()
174 return base::TimeDelta::FromSeconds(proto_.battery_time_to_empty_sec()); in GetBatteryTimeToEmpty()
178 return base::TimeDelta::FromSeconds(proto_.battery_time_to_full_sec()); in GetBatteryTimeToFull()
182 return proto_.external_power() != in IsLinePowerConnected()
187 return proto_.external_power() == in IsMainsChargerConnected()
[all …]
Dpower_status.h149 power_manager::PowerSupplyProperties proto_; variable
/external/chromium_org/sync/api/attachments/
Dattachment_id.cc43 return proto_.Get().unique_id() == other.proto_.Get().unique_id(); in operator ==()
51 return proto_.Get().unique_id() < other.proto_.Get().unique_id(); in operator <()
68 return proto_.Get(); in GetProto()
72 : proto_(proto) {} in AttachmentId()
Dattachment_id.h63 ImmutableAttachmentIdProto proto_; variable
/external/chromium_org/components/copresence/rpc/
Dhttp_post_unittest.cc35 proto_.set_client("test_client"); in HttpPostTest()
36 proto_.set_version_code(123); in HttpPostTest()
54 proto_); in ResponsePassedThrough()
90 ClientVersion proto_; member in copresence::HttpPostTest
106 proto_); in TEST_F()
121 ASSERT_TRUE(proto_.SerializeToString(&upload_data)); in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dturnserver.h116 Connection() : proto_(PROTO_UDP), socket_(NULL) {} in Connection()
129 cricket::ProtocolType proto_; variable
Dturnserver.cc623 proto_(proto), in Connection()
628 return src_ == c.src_ && dst_ == c.dst_ && proto_ == c.proto_; in operator ==()
632 return src_ < c.src_ || dst_ < c.dst_ || proto_ < c.proto_; in operator <()
640 ost << src_.ToString() << "-" << dst_.ToString() << ":"<< kProtos[proto_]; in ToString()
/external/chromium_org/sync/protocol/
Dattachments.proto7 // Update proto_{value,enum}_conversions{.h,.cc,_unittest.cc} if you change any
Dapp_list_specifics.proto7 // Update proto_{value,enum}_conversions{.h,.cc,_unittest.cc} if you change