Home
last modified time | relevance | path

Searched refs:extension1 (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection_unittest.cc437 const FieldDescriptor* extension1 = in TEST() local
444 EXPECT_EQ(extension1, in TEST()
445 reflection->FindKnownExtensionByNumber(extension1->number())); in TEST()
455 FindKnownExtensionByNumber(extension1->number()) == NULL); in TEST()
462 const FieldDescriptor* extension1 = in TEST() local
469 EXPECT_EQ(extension1, in TEST()
470 reflection->FindKnownExtensionByName(extension1->full_name())); in TEST()
480 FindKnownExtensionByName(extension1->full_name()) == NULL); in TEST()
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py2372 extension1 = extension_message1.message_set_extension
2374 proto.Extensions[extension1].i = 123
2406 self.assertEqual(123, proto2.Extensions[extension1].i)
2451 extension1 = extension_message1.message_set_extension
2452 self.assertEquals(12345, proto.Extensions[extension1].i)