/external/protobuf/src/google/protobuf/ |
D | test_util_lite.cc | 964 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 …]
|
D | test_util.cc | 1163 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 …]
|
D | extension_set_unittest.cc | 135 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 …]
|
D | extension_set.h | 1113 inline bool HasExtension( \
|
D | descriptor_unittest.cc | 3250 options.HasExtension(protobuf_unittest::required_enum_opt)); in TEST()
|
/external/vulkan-validation-layers/libs/vkjson/ |
D | vkjson_instance.cc | 45 bool HasExtension(const char* extension_name, in HasExtension() function 54 bool HasExtension(const char* extension_name, in HasExtension() function 73 HasExtension("VK_KHR_get_physical_device_properties2", in VkJsonGetDevice() 100 if (HasExtension("VK_KHR_get_physical_device_properties2", in VkJsonGetDevice() 107 if (HasExtension("VK_KHR_variable_pointers", device.extensions)) { in VkJsonGetDevice() 172 if (HasExtension(extension, instance.extensions)) in VkJsonGetInstance()
|
/external/libtextclassifier/smartselect/ |
D | model-params.cc | 33 if (reader.trimmed_proto().HasExtension(model_options_extension_id)) { in ModelParamsBuilder() 41 if (reader.trimmed_proto().HasExtension(feature_processor_extension_id)) { in ModelParamsBuilder() 67 if (reader.trimmed_proto().HasExtension(selection_options_extension_id)) { in ModelParamsBuilder() 111 if (reader.trimmed_proto().HasExtension(sharing_options_extension_id)) { in ModelParamsBuilder()
|
D | text-classification-model.cc | 225 if (reader.trimmed_proto().HasExtension(model_options_extension_id)) { in ReadSelectionModelOptions()
|
/external/drm_hwcomposer/ |
D | glworker.cpp | 134 static bool HasExtension(const char *extension, const char *extensions) { in HasExtension() function 492 if (!HasExtension("EGL_KHR_image_base", egl_extensions)) in Init() 495 if (!HasExtension("EGL_ANDROID_image_native_buffer", egl_extensions)) in Init() 498 if (!HasExtension("EGL_ANDROID_native_fence_sync", egl_extensions)) in Init() 523 if (!HasExtension("GL_OES_EGL_image", gl_extensions)) in Init() 526 if (!HasExtension("GL_OES_EGL_image_external", gl_extensions)) in Init()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 210 PyObject* HasExtension(ExtensionDict* self, PyObject* extension) { in HasExtension() function 286 EDMETHOD(HasExtension, METH_O, "Checks if the object has an extension."),
|
D | message.cc | 1476 PyObject* HasExtension(CMessage* self, PyObject* extension) { in CheckAndGetInteger() function 2598 { "HasExtension", (PyCFunction)HasExtension, METH_O, in CheckAndGetInteger()
|
/external/nanopb-c/generator/google/protobuf/ |
D | message.py | 240 def HasExtension(self, extension_handle): member in Message
|
/external/protobuf/python/google/protobuf/ |
D | message.py | 252 def HasExtension(self, extension_handle): member in Message
|
D | text_format.py | 663 if not self._allow_multiple_scalars and message.HasExtension(field):
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_helpers.cc | 94 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/internal/ |
D | reflection_test.py | 1098 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 …]
|
D | python_message.py | 904 def HasExtension(self, extension_handle): function 914 cls.HasExtension = HasExtension
|
/external/libtextclassifier/common/memory_image/ |
D | embedding-network-params-from-image.h | 60 if (trimmed_proto_.HasExtension(extension_id)) { in GetTaskSpec()
|
/external/libtextclassifier/common/ |
D | embedding-network-params-from-proto.h | 100 if (proto_->HasExtension(extension_id)) { in GetTaskSpec()
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | python_message.py | 654 def HasExtension(self, extension_handle): function 664 cls.HasExtension = HasExtension
|
/external/cros/system_api/dbus/cryptohome/ |
D | rpc.proto | 111 // if (reply.HasExtension(MountReply::reply)) { ... }
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 1228 static bool HasExtension(const Preprocessor &PP, StringRef Extension) { in HasExtension() function 1683 return II && HasExtension(*this, II->getName()); in ExpandBuiltinMacro()
|
/external/nanopb-c/generator/ |
D | nanopb_generator.py | 937 if subdesc.options.HasExtension(ext_type):
|