Home
last modified time | relevance | path

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

/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 …]
Dextension_set.h1113 inline bool HasExtension( \
Ddescriptor_unittest.cc3250 options.HasExtension(protobuf_unittest::required_enum_opt)); in TEST()
/external/vulkan-validation-layers/libs/vkjson/
Dvkjson_instance.cc45 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/
Dmodel-params.cc33 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()
Dtext-classification-model.cc225 if (reader.trimmed_proto().HasExtension(model_options_extension_id)) { in ReadSelectionModelOptions()
/external/drm_hwcomposer/
Dglworker.cpp134 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/
Dextension_dict.cc210 PyObject* HasExtension(ExtensionDict* self, PyObject* extension) { in HasExtension() function
286 EDMETHOD(HasExtension, METH_O, "Checks if the object has an extension."),
Dmessage.cc1476 PyObject* HasExtension(CMessage* self, PyObject* extension) { in CheckAndGetInteger() function
2598 { "HasExtension", (PyCFunction)HasExtension, METH_O, in CheckAndGetInteger()
/external/nanopb-c/generator/google/protobuf/
Dmessage.py240 def HasExtension(self, extension_handle): member in Message
/external/protobuf/python/google/protobuf/
Dmessage.py252 def HasExtension(self, extension_handle): member in Message
Dtext_format.py663 if not self._allow_multiple_scalars and message.HasExtension(field):
/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/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/libtextclassifier/common/memory_image/
Dembedding-network-params-from-image.h60 if (trimmed_proto_.HasExtension(extension_id)) { in GetTaskSpec()
/external/libtextclassifier/common/
Dembedding-network-params-from-proto.h100 if (proto_->HasExtension(extension_id)) { in GetTaskSpec()
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py654 def HasExtension(self, extension_handle): function
664 cls.HasExtension = HasExtension
/external/cros/system_api/dbus/cryptohome/
Drpc.proto111 // if (reply.HasExtension(MountReply::reply)) { ... }
/external/clang/lib/Lex/
DPPMacroExpansion.cpp1228 static bool HasExtension(const Preprocessor &PP, StringRef Extension) { in HasExtension() function
1683 return II && HasExtension(*this, II->getName()); in ExpandBuiltinMacro()
/external/nanopb-c/generator/
Dnanopb_generator.py937 if subdesc.options.HasExtension(ext_type):