Home
last modified time | relevance | path

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

/external/protobuf/js/
Dmessage.js1118 jspb.Message.compareExtensions = function(extension1, extension2) { argument
1119 extension1 = extension1 || {};
1123 for (var name in extension1) {
1130 if (!jspb.Message.compareFields(extension1[name], extension2[name])) {
1173 var extension1 = undefined;
1182 goog.asserts.assert(extension1 === undefined);
1184 extension1 = val1;
1200 if (extension1 || extension2) {
1201 extension1 = extension1 || {};
1203 return jspb.Message.compareExtensions(extension1, extension2);
Dmessage_test.js518 var extension1 = new proto.jspb.test.IsExtension(['ext1field']);
521 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension1);
532 assertObjectEquals(extension1,
578 var extension1 = new proto.jspb.test.IsExtension(['ext1field']);
581 extendable.setExtension(proto.jspb.test.IsExtension.extField, extension1);
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection_unittest.cc443 const FieldDescriptor* extension1 = in TEST() local
450 EXPECT_EQ(extension1, in TEST()
451 reflection->FindKnownExtensionByNumber(extension1->number())); in TEST()
461 FindKnownExtensionByNumber(extension1->number()) == NULL); in TEST()
468 const FieldDescriptor* extension1 = in TEST() local
475 EXPECT_EQ(extension1, in TEST()
476 reflection->FindKnownExtensionByName(extension1->full_name())); in TEST()
486 FindKnownExtensionByName(extension1->full_name()) == NULL); in TEST()
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp154 bool requiredExtensionsSupported(const char* extension1, const char* extension2);
193 bool InternalformatCaseBase::requiredExtensionsSupported(const char* extension1, const char* extens… in requiredExtensionsSupported() argument
196 if (extension1) in requiredExtensionsSupported()
200 …if (!contextInfo.isExtensionSupported(extension1) || !contextInfo.isExtensionSupported(extension2)) in requiredExtensionsSupported()
206 else if (!contextInfo.isExtensionSupported(extension1)) in requiredExtensionsSupported()
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py2402 extension1 = extension_message1.message_set_extension
2405 proto.Extensions[extension1].i = 123
2444 self.assertEqual(123, proto2.Extensions[extension1].i)
2490 extension1 = extension_message1.message_set_extension
2491 self.assertEqual(12345, proto.Extensions[extension1].i)