Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc914 EXPECT_TRUE(message.HasExtension(unittest::optional_int32_extension_lite )); in ExpectAllExtensionsSet()
915 EXPECT_TRUE(message.HasExtension(unittest::optional_int64_extension_lite )); in ExpectAllExtensionsSet()
916 EXPECT_TRUE(message.HasExtension(unittest::optional_uint32_extension_lite )); in ExpectAllExtensionsSet()
917 EXPECT_TRUE(message.HasExtension(unittest::optional_uint64_extension_lite )); in ExpectAllExtensionsSet()
918 EXPECT_TRUE(message.HasExtension(unittest::optional_sint32_extension_lite )); in ExpectAllExtensionsSet()
919 EXPECT_TRUE(message.HasExtension(unittest::optional_sint64_extension_lite )); in ExpectAllExtensionsSet()
920 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed32_extension_lite )); in ExpectAllExtensionsSet()
921 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed64_extension_lite )); in ExpectAllExtensionsSet()
922 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed32_extension_lite)); in ExpectAllExtensionsSet()
923 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed64_extension_lite)); in ExpectAllExtensionsSet()
[all …]
Dtest_util.cc1089 EXPECT_TRUE(message.HasExtension(unittest::optional_int32_extension )); in ExpectAllExtensionsSet()
1090 EXPECT_TRUE(message.HasExtension(unittest::optional_int64_extension )); in ExpectAllExtensionsSet()
1091 EXPECT_TRUE(message.HasExtension(unittest::optional_uint32_extension )); in ExpectAllExtensionsSet()
1092 EXPECT_TRUE(message.HasExtension(unittest::optional_uint64_extension )); in ExpectAllExtensionsSet()
1093 EXPECT_TRUE(message.HasExtension(unittest::optional_sint32_extension )); in ExpectAllExtensionsSet()
1094 EXPECT_TRUE(message.HasExtension(unittest::optional_sint64_extension )); in ExpectAllExtensionsSet()
1095 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed32_extension )); in ExpectAllExtensionsSet()
1096 EXPECT_TRUE(message.HasExtension(unittest::optional_fixed64_extension )); in ExpectAllExtensionsSet()
1097 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed32_extension)); in ExpectAllExtensionsSet()
1098 EXPECT_TRUE(message.HasExtension(unittest::optional_sfixed64_extension)); in ExpectAllExtensionsSet()
[all …]
Dextension_set_unittest.cc131 EXPECT_FALSE(message.HasExtension(unittest::optional_int64_extension)); in TEST()
135 EXPECT_TRUE(message.HasExtension(unittest::optional_int32_extension)); in TEST()
136 EXPECT_TRUE(message.HasExtension(unittest::optional_uint32_extension)); in TEST()
327 EXPECT_TRUE(message.HasExtension(unittest::optional_string_extension)); in TEST()
Dextension_set.h793 inline bool HasExtension( \
/external/chromium/chrome/browser/sync/syncable/
Dmodel_type.cc151 if (specifics.HasExtension(sync_pb::bookmark)) in GetModelTypeFromSpecifics()
154 if (specifics.HasExtension(sync_pb::password)) in GetModelTypeFromSpecifics()
157 if (specifics.HasExtension(sync_pb::preference)) in GetModelTypeFromSpecifics()
160 if (specifics.HasExtension(sync_pb::autofill)) in GetModelTypeFromSpecifics()
163 if (specifics.HasExtension(sync_pb::autofill_profile)) in GetModelTypeFromSpecifics()
166 if (specifics.HasExtension(sync_pb::theme)) in GetModelTypeFromSpecifics()
169 if (specifics.HasExtension(sync_pb::typed_url)) in GetModelTypeFromSpecifics()
172 if (specifics.HasExtension(sync_pb::extension)) in GetModelTypeFromSpecifics()
175 if (specifics.HasExtension(sync_pb::nigori)) in GetModelTypeFromSpecifics()
178 if (specifics.HasExtension(sync_pb::app)) in GetModelTypeFromSpecifics()
[all …]
Ddirectory_backing_store_unittest.cc1004 ASSERT_TRUE(specifics.HasExtension(sync_pb::bookmark)); in TEST_F()
1009 ASSERT_TRUE(specifics.HasExtension(sync_pb::bookmark)); in TEST_F()
1364 EXPECT_TRUE((*it)->ref(SPECIFICS).HasExtension(sync_pb::bookmark)); in TEST_P()
1365 EXPECT_TRUE((*it)->ref(SERVER_SPECIFICS).HasExtension(sync_pb::bookmark)); in TEST_P()
1404 EXPECT_FALSE((*it)->ref(SPECIFICS).HasExtension(sync_pb::bookmark)); in TEST_P()
1405 EXPECT_FALSE((*it)->ref(SERVER_SPECIFICS).HasExtension(sync_pb::bookmark)); in TEST_P()
1410 EXPECT_TRUE((*it)->ref(SPECIFICS).HasExtension(sync_pb::bookmark)); in TEST_P()
1411 EXPECT_TRUE((*it)->ref(SERVER_SPECIFICS).HasExtension(sync_pb::bookmark)); in TEST_P()
1416 EXPECT_TRUE((*it)->ref(SPECIFICS).HasExtension(sync_pb::bookmark)); in TEST_P()
1417 EXPECT_TRUE((*it)->ref(SERVER_SPECIFICS).HasExtension(sync_pb::bookmark)); in TEST_P()
[all …]
/external/chromium/chrome/browser/sync/glue/
Dextension_sync_traits.cc53 if (!entity_specifics.HasExtension(sync_pb::extension)) { in GetExtensionSpecificsFromEntity()
115 if (!entity_specifics.HasExtension(sync_pb::app)) { in GetExtensionSpecificsFromEntityOfApp()
Dpassword_change_processor.cc147 DCHECK(changes[i].specifics.HasExtension(sync_pb::password)) in ApplyChangesFromSyncModel()
Dautofill_profile_change_processor.cc76 DCHECK(changes[i].specifics.HasExtension( in ApplyChangesFromSyncModel()
Dtyped_url_change_processor.cc208 DCHECK(changes[i].specifics.HasExtension(sync_pb::typed_url)) << in ApplyChangesFromSyncModel()
Dautofill_change_processor.cc213 DCHECK(changes[i].specifics.HasExtension(sync_pb::autofill)) in ApplyChangesFromSyncModel()
/external/chromium/chrome/browser/sync/engine/
Dbuild_commit_command.cc68 DCHECK(meta_entry->Get(SPECIFICS).HasExtension(sync_pb::bookmark)); in SetOldStyleBookmarkData()
174 if (meta_entry.Get(SPECIFICS).HasExtension(sync_pb::bookmark)) { in ExecuteImpl()
Dsyncer_util.cc294 if (specifics.HasExtension(sync_pb::nigori)) { in AttemptToUpdateEntry()
340 } else if (specifics.HasExtension(sync_pb::password)) { in AttemptToUpdateEntry()
Dsyncapi.cc203 if (!specifics.HasExtension(sync_pb::password)) in DecryptPasswordSpecifics()
221 if (specifics.HasExtension(sync_pb::password)) { in DecryptIfNecessary()
/external/chromium/chrome/browser/extensions/
Dexternal_extension_provider_interface.h58 virtual bool HasExtension(const std::string& id) const = 0;
Dexternal_extension_provider_impl.h55 virtual bool HasExtension(const std::string& id) const;
Dexternal_extension_provider_impl.cc178 bool ExternalExtensionProviderImpl::HasExtension( in HasExtension() function in ExternalExtensionProviderImpl
Dextension_service_unittest.cc168 virtual bool HasExtension(const std::string& id) const { in HasExtension() function in MockExtensionProvider
274 EXPECT_TRUE(provider_->HasExtension(id)); in OnExternalExtensionFileFound()
308 EXPECT_TRUE(provider_->HasExtension(id)); in OnExternalExtensionUpdateUrlFound()
Dextension_service.cc272 if (i->get()->HasExtension(id)) in CheckExternalUninstall()
/external/protobuf/python/google/protobuf/
Dmessage.py223 def HasExtension(self, extension_handle): member in Message
Dreflection.py703 def HasExtension(self, extension_handle): function
713 cls.HasExtension = HasExtension
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py736 self.assertTrue(not extendee_proto.HasExtension(extension))
740 self.assertTrue(not extendee_proto.HasExtension(extension))
744 self.assertTrue(extendee_proto.HasExtension(extension))
748 self.assertTrue(not extendee_proto.HasExtension(extension))
767 self.assertTrue(not extendee_proto.HasExtension(extension))
771 self.assertTrue(not extendee_proto.HasExtension(extension))
774 self.assertTrue(extendee_proto.HasExtension(extension))
784 self.assertTrue(not extendee_proto.HasExtension(extension))
811 self.assertTrue(not extendee_proto.HasExtension(extension))
814 self.assertTrue(not extendee_proto.HasExtension(extension))
[all …]
/external/chromium/chrome/browser/sync/protocol/
Dproto_value_conversions.cc86 if (specifics.HasExtension(ns::field)) { \
/external/clang/lib/Lex/
DPPMacroExpansion.cpp728 static bool HasExtension(const Preprocessor &PP, const IdentifierInfo *II) { in HasExtension() function
1053 Value = HasExtension(*this, FeatureII); in ExpandBuiltinMacro()
/external/chromium/net/tools/testserver/
Dchromiumsync.py125 if specifics.HasExtension(extension)]

12