Home
last modified time | relevance | path

Searched refs:optional_msg (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddynamic_message_unittest.cc266 const FieldDescriptor* optional_msg = in TEST_F() local
269 EXPECT_TRUE(optional_msg != NULL); in TEST_F()
277 EXPECT_EQ(false, refl->HasField(*message, optional_msg)); in TEST_F()
278 refl->MutableMessage(message, optional_msg); in TEST_F()
279 EXPECT_EQ(true, refl->HasField(*message, optional_msg)); in TEST_F()
280 delete refl->ReleaseMessage(message, optional_msg); in TEST_F()
281 EXPECT_EQ(false, refl->HasField(*message, optional_msg)); in TEST_F()
284 EXPECT_EQ(false, refl->HasField(*proto3_prototype_, optional_msg)); in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Dbasic.rb132 assert m.optional_msg == nil
155 m.optional_msg = TestMessage2.new(:foo => 42)
156 assert m.optional_msg == TestMessage2.new(:foo => 42)
157 m.optional_msg = nil
158 assert m.optional_msg == nil
167 assert m.optional_msg.class == TestMessage2
238 m.optional_msg = TestMessage.new # expects TestMessage2
1118 optional_msg = msgdef.lookup "optional_msg"
1119 assert optional_msg.subtype == TestMessage2.descriptor
1121 optional_msg.set(m, optional_msg.subtype.msgclass.new)
Dgenerated_code.proto16 TestMessage optional_msg = 11; field
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ruby/
Druby_generated_code.proto16 TestMessage optional_msg = 11; field