Home
last modified time | relevance | path

Searched refs:HasExtension (Results 1 – 25 of 46) sorted by relevance

12

/third_party/protobuf/src/google/protobuf/
Dtest_util_lite.cc998 EXPECT_TRUE(message.HasExtension(unittest::optional_int32_extension_lite)); in ExpectAllExtensionsSet()
999 EXPECT_TRUE(message.HasExtension(unittest::optional_int64_extension_lite)); in ExpectAllExtensionsSet()
1000 EXPECT_TRUE(message.HasExtension(unittest::optional_uint32_extension_lite)); in ExpectAllExtensionsSet()
1001 EXPECT_TRUE(message.HasExtension(unittest::optional_uint64_extension_lite)); in ExpectAllExtensionsSet()
1002 EXPECT_TRUE(message.HasExtension(unittest::optional_sint32_extension_lite)); in ExpectAllExtensionsSet()
1003 EXPECT_TRUE(message.HasExtension(unittest::optional_sint64_extension_lite)); in ExpectAllExtensionsSet()
1004 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed32_extension_lite)); in ExpectAllExtensionsSet()
1005 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed64_extension_lite)); in ExpectAllExtensionsSet()
1006 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed32_extension_lite)); in ExpectAllExtensionsSet()
1007 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed64_extension_lite)); in ExpectAllExtensionsSet()
[all …]
Dtest_util.inc1160 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_int32_extension));
1161 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_int64_extension));
1162 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_uint32_extension));
1163 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_uint64_extension));
1164 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_sint32_extension));
1165 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_sint64_extension));
1166 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_fixed32_extension));
1167 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_fixed64_extension));
1168 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_sfixed32_extension));
1169 EXPECT_TRUE(message.HasExtension(UNITTEST::optional_sfixed64_extension));
[all …]
Dextension_set_unittest.cc139 EXPECT_FALSE(message.HasExtension(unittest::optional_int64_extension)); in TEST()
143 EXPECT_TRUE(message.HasExtension(unittest::optional_int32_extension)); in TEST()
144 EXPECT_TRUE(message.HasExtension(unittest::optional_uint32_extension)); in TEST()
154 message.HasExtension(unittest::optional_foreign_message_extension)); in TEST()
160 message.HasExtension(unittest::optional_foreign_message_extension)); in TEST()
175 message.HasExtension(unittest::optional_foreign_message_extension)); in TEST()
180 EXPECT_FALSE(message.HasExtension( in TEST()
187 EXPECT_TRUE(message.HasExtension( in TEST()
194 EXPECT_FALSE(message.HasExtension( in TEST()
225 message->HasExtension(unittest::optional_foreign_message_extension)); in TEST()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.Proto2.cs187 Assert.False(message.HasExtension(DefaultBoolExtension)); in DefaultExtensionValues()
188 Assert.False(message.HasExtension(DefaultBytesExtension)); in DefaultExtensionValues()
189 Assert.False(message.HasExtension(DefaultCordExtension)); in DefaultExtensionValues()
190 Assert.False(message.HasExtension(DefaultDoubleExtension)); in DefaultExtensionValues()
191 Assert.False(message.HasExtension(DefaultFixed32Extension)); in DefaultExtensionValues()
192 Assert.False(message.HasExtension(DefaultFixed64Extension)); in DefaultExtensionValues()
193 Assert.False(message.HasExtension(DefaultFloatExtension)); in DefaultExtensionValues()
194 Assert.False(message.HasExtension(DefaultForeignEnumExtension)); in DefaultExtensionValues()
195 Assert.False(message.HasExtension(DefaultImportEnumExtension)); in DefaultExtensionValues()
196 Assert.False(message.HasExtension(DefaultInt32Extension)); in DefaultExtensionValues()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dfeature_manager_test.cpp40 EXPECT_FALSE(context->get_feature_mgr()->HasExtension( in TEST_F()
55 EXPECT_TRUE(context->get_feature_mgr()->HasExtension( in TEST_F()
70 EXPECT_FALSE(context->get_feature_mgr()->HasExtension( in TEST_F()
86 EXPECT_TRUE(context->get_feature_mgr()->HasExtension( in TEST_F()
88 EXPECT_TRUE(context->get_feature_mgr()->HasExtension( in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dfeature_manager_test.cpp40 EXPECT_FALSE(context->get_feature_mgr()->HasExtension( in TEST_F()
55 EXPECT_TRUE(context->get_feature_mgr()->HasExtension( in TEST_F()
70 EXPECT_FALSE(context->get_feature_mgr()->HasExtension( in TEST_F()
86 EXPECT_TRUE(context->get_feature_mgr()->HasExtension( in TEST_F()
88 EXPECT_TRUE(context->get_feature_mgr()->HasExtension( in TEST_F()
/third_party/spirv-tools/test/opt/
Dfeature_manager_test.cpp40 EXPECT_FALSE(context->get_feature_mgr()->HasExtension( in TEST_F()
55 EXPECT_TRUE(context->get_feature_mgr()->HasExtension( in TEST_F()
70 EXPECT_FALSE(context->get_feature_mgr()->HasExtension( in TEST_F()
86 EXPECT_TRUE(context->get_feature_mgr()->HasExtension( in TEST_F()
88 EXPECT_TRUE(context->get_feature_mgr()->HasExtension( in TEST_F()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp75 bool HasExtension(const std::vector<VkExtensionProperties> instanceExtensions, in HasExtension() function
87 bool HasExtension(const std::vector<const char *> enabledExtensions, const char *extensionName) in HasExtension() function
215 if (HasExtension(instanceExtensionProperties, extensionName)) in initialize()
283 if (HasExtension(deviceExtensionProperties, extensionName)) in initialize()
353 HasExtension(enabledDeviceExtensions, VK_KHR_EXTERNAL_MEMORY_FD_EXTENSION_NAME); in initialize()
355 HasExtension(enabledDeviceExtensions, VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME); in initialize()
357 HasExtension(enabledDeviceExtensions, VK_FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME); in initialize()
359 HasExtension(enabledDeviceExtensions, VK_FUCHSIA_EXTERNAL_SEMAPHORE_EXTENSION_NAME); in initialize()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs152 bool HasExtension(IMessage message); in HasExtension() method
241 public bool HasExtension(IMessage message) in HasExtension() method in Google.Protobuf.Reflection.ReflectionUtil.ExtensionReflectionHelper
252 return extensionMessage.HasExtension(extension as Extension<T1, T3>); in HasExtension()
DExtensionAccessor.cs56 return helper.HasExtension(message); in HasValue()
/third_party/protobuf/csharp/src/Google.Protobuf/
DIExtendableMessage.cs67 bool HasExtension<TValue>(Extension<T, TValue> extension); in HasExtension() method
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfeature_manager.h31 bool HasExtension(Extension ext) const { return extensions_.Contains(ext); } in HasExtension() function
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfeature_manager.h31 bool HasExtension(Extension ext) const { return extensions_.Contains(ext); } in HasExtension() function
/third_party/spirv-tools/source/opt/
Dfeature_manager.h31 bool HasExtension(Extension ext) const { return extensions_.Contains(ext); } in HasExtension() function
/third_party/skia/third_party/externals/angle2/util/windows/
DWGLWindow.cpp56 bool HasExtension(const std::vector<std::string> &extensions, const char *ext) in HasExtension() function
257 if (!HasExtension(extensions, "WGL_EXT_create_context_es2_profile")) in createContext()
/third_party/protobuf/docs/csharp/
Dproto2.md50 bool HasExtension<TValue>(Extension<T, TValue> extension);
122 Assert.True(foo.HasExtension(Bas.Extensions.FooExt));
124 Assert.False(foo.HasExtension(Bas.Extensions.FooExt));
/third_party/protobuf/python/google/protobuf/
Dmessage.py311 def HasExtension(self, extension_handle): member in Message
/third_party/protobuf/python/google/protobuf/internal/
Dreflection_test.py1583 self.assertFalse(extendee_proto.HasExtension(extension))
1588 self.assertFalse(extendee_proto.HasExtension(extension))
1593 self.assertTrue(extendee_proto.HasExtension(extension))
1598 self.assertFalse(extendee_proto.HasExtension(extension))
1621 self.assertFalse(extendee_proto.HasExtension(extension))
1626 self.assertFalse(extendee_proto.HasExtension(extension))
1630 self.assertTrue(extendee_proto.HasExtension(extension))
1641 self.assertFalse(extendee_proto.HasExtension(extension))
1669 self.assertFalse(extendee_proto.HasExtension(extension))
1673 self.assertFalse(extendee_proto.HasExtension(extension))
[all …]
Dpython_message.py937 def HasExtension(self, extension_handle): function
947 cls.HasExtension = HasExtension
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DCustomOptionsTest.cs90 Assert.IsFalse(UnittestProto3Reflection.Descriptor.GetOptions().HasExtension(FileOpt1)); in OptionPresenceCanBeDetected()
94 …ssert.IsTrue(UnittestCustomOptionsProto3Reflection.Descriptor.GetOptions().HasExtension(FileOpt1)); in OptionPresenceCanBeDetected()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp743 if (!_.HasExtension(kSPV_KHR_non_semantic_info)) { in ValidateExtInstImport()
1059 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1061 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1067 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
1122 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1124 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1133 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_extensions.cpp743 if (!_.HasExtension(kSPV_KHR_non_semantic_info)) { in ValidateExtInstImport()
1059 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1061 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1067 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
1122 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1124 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1133 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
Dvalidate_instruction.cpp75 if (state.HasExtension(kSPV_AMD_shader_ballot)) return CapabilitySet(); in EnablingCapabilitiesForOp()
/third_party/spirv-tools/source/val/
Dvalidate_extensions.cpp773 !_.HasExtension(kSPV_KHR_non_semantic_info)) { in ValidateExtInstImport()
1088 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1090 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1096 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
1151 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1153 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
1162 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestSelfreferentialOptions.cs341 public bool HasExtension<TValue>(pb::Extension<FooOptions, TValue> extension) { in HasExtension() method in UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions

12