Home
last modified time | relevance | path

Searched refs:ExtensionInfo (Results 1 – 17 of 17) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/
DExtensionRegistry.java111 public static final class ExtensionInfo { class in ExtensionRegistry
121 private ExtensionInfo(final FieldDescriptor descriptor) { in ExtensionInfo() method in ExtensionRegistry.ExtensionInfo
125 private ExtensionInfo(final FieldDescriptor descriptor, in ExtensionInfo() method in ExtensionRegistry.ExtensionInfo
140 public ExtensionInfo findExtensionByName(final String fullName) { in findExtensionByName()
150 public ExtensionInfo findExtensionByNumber(final Descriptor containingType, in findExtensionByNumber()
165 add(new ExtensionInfo(extension.getDescriptor(), in add()
168 add(new ExtensionInfo(extension.getDescriptor(), null)); in add()
179 add(new ExtensionInfo(type, null)); in add()
189 add(new ExtensionInfo(type, defaultInstance)); in add()
196 this.extensionsByName = new HashMap<String, ExtensionInfo>(); in ExtensionRegistry()
[all …]
DAbstractMessage.java306 final ExtensionRegistry.ExtensionInfo extension = in mergeFieldFrom()
466 final ExtensionRegistry.ExtensionInfo extension; in mergeMessageSetExtensionFromCodedStream()
DTextFormat.java869 ExtensionRegistry.ExtensionInfo extension = null; in mergeField()
/external/chromium/chrome/common/extensions/
Dextension_l10n_util.h21 struct ExtensionInfo;
37 bool ShouldRelocalizeManifest(const ExtensionInfo& info);
Dextension_l10n_util_unittest.cc404 ExtensionInfo info(NULL, "", FilePath(), Extension::LOAD); in TEST()
412 ExtensionInfo info(&manifest, "", FilePath(), Extension::LOAD); in TEST()
422 ExtensionInfo info(&manifest, "", FilePath(), Extension::LOAD); in TEST()
433 ExtensionInfo info(&manifest, "", FilePath(), Extension::LOAD); in TEST()
445 ExtensionInfo info(&manifest, "", FilePath(), Extension::LOAD); in TEST()
456 ExtensionInfo info(&manifest, "", FilePath(), Extension::LOAD); in TEST()
Dextension.h936 struct ExtensionInfo { struct
937 ExtensionInfo(const DictionaryValue* manifest,
941 ~ExtensionInfo();
949 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); argument
Dextension_l10n_util.cc51 bool ShouldRelocalizeManifest(const ExtensionInfo& info) { in ShouldRelocalizeManifest()
Dextension.cc2918 ExtensionInfo::ExtensionInfo(const DictionaryValue* manifest, in ExtensionInfo() function in ExtensionInfo
2929 ExtensionInfo::~ExtensionInfo() {} in ~ExtensionInfo()
/external/protobuf/src/google/protobuf/
Dextension_set.h90 struct ExtensionInfo { struct
91 inline ExtensionInfo() {} in ExtensionInfo() argument
92 inline ExtensionInfo(FieldType type, bool is_repeated, bool is_packed) in ExtensionInfo() argument
123 virtual bool Find(int number, ExtensionInfo* output) = 0; argument
135 virtual bool Find(int number, ExtensionInfo* output);
Dextension_set.cc63 ExtensionInfo> ExtensionRegistry;
80 int number, ExtensionInfo info) { in Register()
91 const ExtensionInfo* FindRegisteredExtension( in FindRegisteredExtension()
101 bool GeneratedExtensionFinder::Find(int number, ExtensionInfo* output) { in Find()
102 const ExtensionInfo* extension = in Find()
118 ExtensionInfo info(type, is_repeated, is_packed); in RegisterExtension()
140 ExtensionInfo info(type, is_repeated, is_packed); in RegisterEnumExtension()
153 ExtensionInfo info(type, is_repeated, is_packed); in RegisterMessageExtension()
712 ExtensionInfo extension; in ParseField()
Dextension_set_heavy.cc60 virtual bool Find(int number, ExtensionInfo* output);
180 bool DescriptorPoolExtensionFinder::Find(int number, ExtensionInfo* output) { in Find()
/external/chromium/chrome/browser/extensions/
Dextension_prefs.h43 typedef std::vector<linked_ptr<ExtensionInfo> > ExtensionsInfo;
229 ExtensionInfo* GetInstalledExtensionInfo(const std::string& extension_id);
Dextension_prefs.cc1042 static ExtensionInfo* GetInstalledExtensionInfoImpl( in GetInstalledExtensionInfoImpl()
1099 return new ExtensionInfo(manifest, *extension_id, FilePath(path), location); in GetInstalledExtensionInfoImpl()
1113 ExtensionInfo* info = GetInstalledExtensionInfoImpl(extension_data.get(), in GetInstalledExtensionsInfo()
1116 extensions_info->push_back(linked_ptr<ExtensionInfo>(info)); in GetInstalledExtensionsInfo()
1122 ExtensionInfo* ExtensionPrefs::GetInstalledExtensionInfo( in GetInstalledExtensionInfo()
1376 ExtensionInfo* info = extensions_info->at(i).get(); in GetExtensions()
Dextension_service.cc114 ManifestReloadReason ShouldReloadExtensionManifest(const ExtensionInfo& info) { in ShouldReloadExtensionManifest()
625 scoped_ptr<ExtensionInfo> installed_extension( in ReloadExtension()
872 ExtensionInfo* info = extensions_info->at(i).get(); in LoadAllExtensions()
1031 void ExtensionService::LoadInstalledExtension(const ExtensionInfo& info, in LoadInstalledExtension()
1432 ExtensionInfo* info = extensions_info->at(i).get(); in OnExternalProviderReady()
Dextension_service.h519 void LoadInstalledExtension(const ExtensionInfo& info, bool write_to_prefs);
Dextension_prefs_unittest.cc365 ExtensionInfo* extension_info = info_iter->get(); in Verify()
/external/protobuf/java/src/test/java/com/google/protobuf/
DTestUtil.java2812 ExtensionRegistry.ExtensionInfo extension = in newBuilderForField()