Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc964 EXPECT_TRUE(message.HasExtension(unittest::optional_int32_extension_lite )); in ExpectAllExtensionsSet()
965 EXPECT_TRUE(message.HasExtension(unittest::optional_int64_extension_lite )); in ExpectAllExtensionsSet()
966 EXPECT_TRUE(message.HasExtension(unittest::optional_uint32_extension_lite )); in ExpectAllExtensionsSet()
967 EXPECT_TRUE(message.HasExtension(unittest::optional_uint64_extension_lite )); in ExpectAllExtensionsSet()
968 EXPECT_TRUE(message.HasExtension(unittest::optional_sint32_extension_lite )); in ExpectAllExtensionsSet()
969 EXPECT_TRUE(message.HasExtension(unittest::optional_sint64_extension_lite )); in ExpectAllExtensionsSet()
970 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed32_extension_lite )); in ExpectAllExtensionsSet()
971 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed64_extension_lite )); in ExpectAllExtensionsSet()
972 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed32_extension_lite)); in ExpectAllExtensionsSet()
973 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed64_extension_lite)); in ExpectAllExtensionsSet()
[all …]
Dtest_util.cc1163 EXPECT_TRUE(message.HasExtension(unittest::optional_int32_extension )); in ExpectAllExtensionsSet()
1164 EXPECT_TRUE(message.HasExtension(unittest::optional_int64_extension )); in ExpectAllExtensionsSet()
1165 EXPECT_TRUE(message.HasExtension(unittest::optional_uint32_extension )); in ExpectAllExtensionsSet()
1166 EXPECT_TRUE(message.HasExtension(unittest::optional_uint64_extension )); in ExpectAllExtensionsSet()
1167 EXPECT_TRUE(message.HasExtension(unittest::optional_sint32_extension )); in ExpectAllExtensionsSet()
1168 EXPECT_TRUE(message.HasExtension(unittest::optional_sint64_extension )); in ExpectAllExtensionsSet()
1169 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed32_extension )); in ExpectAllExtensionsSet()
1170 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed64_extension )); in ExpectAllExtensionsSet()
1171 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed32_extension)); in ExpectAllExtensionsSet()
1172 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed64_extension)); in ExpectAllExtensionsSet()
[all …]
Dextension_set_unittest.cc135 EXPECT_FALSE(message.HasExtension(unittest::optional_int64_extension)); in TEST()
139 EXPECT_TRUE(message.HasExtension(unittest::optional_int32_extension)); in TEST()
140 EXPECT_TRUE(message.HasExtension(unittest::optional_uint32_extension)); in TEST()
149 EXPECT_FALSE(message.HasExtension( in TEST()
155 EXPECT_TRUE(message.HasExtension( in TEST()
172 EXPECT_FALSE(message.HasExtension( in TEST()
178 EXPECT_FALSE(message.HasExtension( in TEST()
186 EXPECT_TRUE(message.HasExtension( in TEST()
193 EXPECT_FALSE(message.HasExtension( in TEST()
281 EXPECT_TRUE(message1.HasExtension(unittest::optional_int32_extension)); in TEST()
[all …]
/external/deqp-deps/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()
/external/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()
/external/golang-protobuf/protoc-gen-go/testdata/
Dextension_test.go65 if !proto.HasExtension(bm_new, user.E_LoudMessage_Volume) {
76 if proto.HasExtension(bm_new, user.E_LoudMessage_Volume) {
103 if !proto.HasExtension(bm_new, user.E_LoginMessage_UserMessage) {
117 if proto.HasExtension(bm_new, user.E_LoginMessage_UserMessage) {
140 if !proto.HasExtension(bm_new, user.E_Width) {
151 if proto.HasExtension(bm_new, user.E_Width) {
/external/nos/host/generic/libnos/generator/
Dmain.cpp50 if (!service.options().HasExtension(app_id)) { in validateServiceOptions()
53 if (!service.options().HasExtension(request_buffer_size)) { in validateServiceOptions()
56 if (!service.options().HasExtension(response_buffer_size)) { in validateServiceOptions()
/external/dynamic_depth/includes/xmpmeta/
Dxmp_const.h21 static const char* HasExtension();
/external/dynamic_depth/internal/xmpmeta/
Dxmp_const.cc30 const char* XmpConst::HasExtension() { return "HasExtendedXMP"; } in HasExtension() function in dynamic_depth::xmpmeta::XmpConst
Dxmp_writer.cc260 ToXmlChar(XmpConst::HasExtension()), in LinkXmpStandardAndExtendedSections()
262 xmlUnsetProp(description_node, ToXmlChar(XmpConst::HasExtension())); in LinkXmpStandardAndExtendedSections()
Dxmp_parser.cc212 XmpConst::HasExtension(), &extension_name)) { in ExtractXmpMeta()
/external/golang-protobuf/proto/
Dextensions_test.go414 if proto.HasExtension(nilMsg, desc) {
442 exists := proto.HasExtension(msg, pb.E_Ext_More)
645 if proto.HasExtension(m, desc) {
651 if !proto.HasExtension(m, desc) {
655 if proto.HasExtension(m, desc) {
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfeature_manager.h31 bool HasExtension(Extension ext) const { return extensions_.Contains(ext); } in HasExtension() function
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfeature_manager.h31 bool HasExtension(Extension ext) const { return extensions_.Contains(ext); } in HasExtension() function
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc210 PyObject* HasExtension(ExtensionDict* self, PyObject* extension) { in HasExtension() function
286 EDMETHOD(HasExtension, METH_O, "Checks if the object has an extension."),
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc94 bool HasExtension(const Descriptor* descriptor) { in HasExtension() function
99 if (HasExtension(descriptor->nested_type(i))) { in HasExtension()
496 if (HasExtension(file->message_type(i))) { in StaticInitializersForced()
/external/protobuf/python/google/protobuf/
Dmessage.py252 def HasExtension(self, extension_handle): member in Message
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py1098 self.assertTrue(not extendee_proto.HasExtension(extension))
1102 self.assertTrue(not extendee_proto.HasExtension(extension))
1106 self.assertTrue(extendee_proto.HasExtension(extension))
1110 self.assertTrue(not extendee_proto.HasExtension(extension))
1129 self.assertTrue(not extendee_proto.HasExtension(extension))
1133 self.assertTrue(not extendee_proto.HasExtension(extension))
1136 self.assertTrue(extendee_proto.HasExtension(extension))
1146 self.assertTrue(not extendee_proto.HasExtension(extension))
1173 self.assertTrue(not extendee_proto.HasExtension(extension))
1176 self.assertTrue(not extendee_proto.HasExtension(extension))
[all …]
Dpython_message.py904 def HasExtension(self, extension_handle): function
914 cls.HasExtension = HasExtension
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp381 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
383 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
389 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
444 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
446 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
455 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
Dvalidate_type.cpp54 if (_.HasExtension(Extension::kSPV_VALIDATOR_ignore_type_decl_unique)) in ValidateUniqueness()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp381 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
383 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
389 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
444 (!_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
446 (_.HasExtension(kSPV_AMD_gpu_shader_int16) && in ValidateExtInst()
455 << (_.HasExtension(kSPV_AMD_gpu_shader_int16) in ValidateExtInst()
Dvalidate_type.cpp53 if (_.HasExtension(Extension::kSPV_VALIDATOR_ignore_type_decl_unique)) in ValidateUniqueness()
Dvalidation_state.h318 bool HasExtension(Extension ext) const { in HasExtension() function
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dextensions.go267 func HasExtension(pb Message, extension *ExtensionDesc) bool { func

12