Home
last modified time | relevance | path

Searched refs:GetExtension (Results 1 – 25 of 87) sorted by relevance

1234

/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dtest_util_lite.cc964 …EXPECT_TRUE(message.GetExtension(unittest::optionalgroup_extension_lite ).has_a()); in ExpectAllExtensionsSet()
965 …EXPECT_TRUE(message.GetExtension(unittest::optional_nested_message_extension_lite ).has_bb()… in ExpectAllExtensionsSet()
966 …EXPECT_TRUE(message.GetExtension(unittest::optional_foreign_message_extension_lite ).has_c()); in ExpectAllExtensionsSet()
967 …EXPECT_TRUE(message.GetExtension(unittest::optional_import_message_extension_lite ).has_d()); in ExpectAllExtensionsSet()
968 …EXPECT_TRUE(message.GetExtension(unittest::optional_public_import_message_extension_lite).has_e()); in ExpectAllExtensionsSet()
969 …EXPECT_TRUE(message.GetExtension(unittest::optional_lazy_message_extension_lite ).has_bb()… in ExpectAllExtensionsSet()
976 EXPECT_EQ(101 , message.GetExtension(unittest::optional_int32_extension_lite )); in ExpectAllExtensionsSet()
977 EXPECT_EQ(102 , message.GetExtension(unittest::optional_int64_extension_lite )); in ExpectAllExtensionsSet()
978 EXPECT_EQ(103 , message.GetExtension(unittest::optional_uint32_extension_lite )); in ExpectAllExtensionsSet()
979 EXPECT_EQ(104 , message.GetExtension(unittest::optional_uint64_extension_lite )); in ExpectAllExtensionsSet()
[all …]
Dtest_util.cc1155 EXPECT_TRUE(message.GetExtension(unittest::optionalgroup_extension ).has_a()); in ExpectAllExtensionsSet()
1156 EXPECT_TRUE(message.GetExtension(unittest::optional_nested_message_extension ).has_bb()); in ExpectAllExtensionsSet()
1157 EXPECT_TRUE(message.GetExtension(unittest::optional_foreign_message_extension ).has_c()); in ExpectAllExtensionsSet()
1158 EXPECT_TRUE(message.GetExtension(unittest::optional_import_message_extension ).has_d()); in ExpectAllExtensionsSet()
1159 EXPECT_TRUE(message.GetExtension(unittest::optional_public_import_message_extension).has_e()); in ExpectAllExtensionsSet()
1160 EXPECT_TRUE(message.GetExtension(unittest::optional_lazy_message_extension ).has_bb()); in ExpectAllExtensionsSet()
1169 EXPECT_EQ(101 , message.GetExtension(unittest::optional_int32_extension )); in ExpectAllExtensionsSet()
1170 EXPECT_EQ(102 , message.GetExtension(unittest::optional_int64_extension )); in ExpectAllExtensionsSet()
1171 EXPECT_EQ(103 , message.GetExtension(unittest::optional_uint32_extension )); in ExpectAllExtensionsSet()
1172 EXPECT_EQ(104 , message.GetExtension(unittest::optional_uint64_extension )); in ExpectAllExtensionsSet()
[all …]
Dreflection_ops_unittest.cc118 message.GetExtension(unittest::optional_int32_extension)); in TEST()
123 message.GetExtension(unittest::optional_string_extension)); in TEST()
128 message.GetExtension(unittest::repeated_int32_extension, 1)); in TEST()
129 int32 i = message.GetExtension(unittest::repeated_int32_extension, 0); in TEST()
203 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
205 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
207 &message.GetExtension( in TEST()
210 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
270 message.GetExtension(unittest::optional_nested_message_extension) in TEST()
273 message.GetExtension(unittest::repeated_nested_message_extension, 0) in TEST()
[all …]
Ddescriptor_unittest.cc2143 file->options().GetExtension(protobuf_unittest::file_opt1)); in TEST()
2145 message->options().GetExtension(protobuf_unittest::message_opt1)); in TEST()
2147 field->options().GetExtension(protobuf_unittest::field_opt1)); in TEST()
2149 field->options().GetExtension(protobuf_unittest::field_opt2)); in TEST()
2151 enm->options().GetExtension(protobuf_unittest::enum_opt1)); in TEST()
2153 enm->value(1)->options().GetExtension( in TEST()
2156 service->options().GetExtension(protobuf_unittest::service_opt1)); in TEST()
2158 method->options().GetExtension(protobuf_unittest::method_opt1)); in TEST()
2170 EXPECT_FALSE( options->GetExtension(protobuf_unittest::bool_opt)); in TEST()
2171 EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::int32_opt)); in TEST()
[all …]
Dextension_set_unittest.cc71 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
73 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
75 &message.GetExtension( in TEST()
78 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
107 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
109 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
111 &message.GetExtension( in TEST()
114 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
129 message.GetExtension(unittest::optional_int64_extension); in TEST()
134 EXPECT_EQ(0, message.GetExtension(unittest::optional_int64_extension)); in TEST()
[all …]
/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc935 EXPECT_TRUE(message.GetExtension(unittest::optionalgroup_extension_lite ).has_a()); in ExpectAllExtensionsSet()
936 EXPECT_TRUE(message.GetExtension(unittest::optional_nested_message_extension_lite ).has_bb()); in ExpectAllExtensionsSet()
937 EXPECT_TRUE(message.GetExtension(unittest::optional_foreign_message_extension_lite).has_c()); in ExpectAllExtensionsSet()
938 EXPECT_TRUE(message.GetExtension(unittest::optional_import_message_extension_lite ).has_d()); in ExpectAllExtensionsSet()
945 EXPECT_EQ(101 , message.GetExtension(unittest::optional_int32_extension_lite )); in ExpectAllExtensionsSet()
946 EXPECT_EQ(102 , message.GetExtension(unittest::optional_int64_extension_lite )); in ExpectAllExtensionsSet()
947 EXPECT_EQ(103 , message.GetExtension(unittest::optional_uint32_extension_lite )); in ExpectAllExtensionsSet()
948 EXPECT_EQ(104 , message.GetExtension(unittest::optional_uint64_extension_lite )); in ExpectAllExtensionsSet()
949 EXPECT_EQ(105 , message.GetExtension(unittest::optional_sint32_extension_lite )); in ExpectAllExtensionsSet()
950 EXPECT_EQ(106 , message.GetExtension(unittest::optional_sint64_extension_lite )); in ExpectAllExtensionsSet()
[all …]
Dtest_util.cc1110 EXPECT_TRUE(message.GetExtension(unittest::optionalgroup_extension ).has_a()); in ExpectAllExtensionsSet()
1111 EXPECT_TRUE(message.GetExtension(unittest::optional_nested_message_extension ).has_bb()); in ExpectAllExtensionsSet()
1112 EXPECT_TRUE(message.GetExtension(unittest::optional_foreign_message_extension).has_c()); in ExpectAllExtensionsSet()
1113 EXPECT_TRUE(message.GetExtension(unittest::optional_import_message_extension ).has_d()); in ExpectAllExtensionsSet()
1122 EXPECT_EQ(101 , message.GetExtension(unittest::optional_int32_extension )); in ExpectAllExtensionsSet()
1123 EXPECT_EQ(102 , message.GetExtension(unittest::optional_int64_extension )); in ExpectAllExtensionsSet()
1124 EXPECT_EQ(103 , message.GetExtension(unittest::optional_uint32_extension )); in ExpectAllExtensionsSet()
1125 EXPECT_EQ(104 , message.GetExtension(unittest::optional_uint64_extension )); in ExpectAllExtensionsSet()
1126 EXPECT_EQ(105 , message.GetExtension(unittest::optional_sint32_extension )); in ExpectAllExtensionsSet()
1127 EXPECT_EQ(106 , message.GetExtension(unittest::optional_sint64_extension )); in ExpectAllExtensionsSet()
[all …]
Dreflection_ops_unittest.cc118 message.GetExtension(unittest::optional_int32_extension)); in TEST()
123 message.GetExtension(unittest::optional_string_extension)); in TEST()
128 message.GetExtension(unittest::repeated_int32_extension, 1)); in TEST()
129 int32 i = message.GetExtension(unittest::repeated_int32_extension, 0); in TEST()
203 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
205 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
207 &message.GetExtension( in TEST()
210 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
270 message.GetExtension(unittest::optional_nested_message_extension) in TEST()
273 message.GetExtension(unittest::repeated_nested_message_extension, 0) in TEST()
[all …]
Ddescriptor_unittest.cc1966 file->options().GetExtension(protobuf_unittest::file_opt1)); in TEST()
1968 message->options().GetExtension(protobuf_unittest::message_opt1)); in TEST()
1970 field->options().GetExtension(protobuf_unittest::field_opt1)); in TEST()
1972 field->options().GetExtension(protobuf_unittest::field_opt2)); in TEST()
1974 enm->options().GetExtension(protobuf_unittest::enum_opt1)); in TEST()
1976 enm->value(1)->options().GetExtension( in TEST()
1979 service->options().GetExtension(protobuf_unittest::service_opt1)); in TEST()
1981 method->options().GetExtension(protobuf_unittest::method_opt1)); in TEST()
1993 EXPECT_EQ(false , options->GetExtension(protobuf_unittest::bool_opt)); in TEST()
1994 EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::int32_opt)); in TEST()
[all …]
Dextension_set_unittest.cc69 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
71 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
73 &message.GetExtension( in TEST()
76 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
105 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
107 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
109 &message.GetExtension( in TEST()
112 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
127 message.GetExtension(unittest::optional_int64_extension); in TEST()
132 EXPECT_EQ(0, message.GetExtension(unittest::optional_int64_extension)); in TEST()
[all …]
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_list_controller_delegate.cc40 const extensions::Extension* GetExtension(Profile* profile, in GetExtension() function
83 const extensions::Extension* extension = GetExtension(profile, app_id); in UserMayModifySettings()
128 const extensions::Extension* extension = GetExtension(profile, app_id); in IsAppFromWebStore()
136 const extensions::Extension* extension = GetExtension(profile, app_id); in ShowAppInWebStore()
159 const extensions::Extension* extension = GetExtension(profile, app_id); in HasOptionsPage()
167 const extensions::Extension* extension = GetExtension(profile, app_id); in ShowOptionsPage()
182 GetExtension(profile, app_id)); in GetExtensionLaunchType()
197 return !!GetExtension(profile, app_id); in IsExtensionInstalled()
Dextension_app_item.cc156 GetExtension() in NeedsOverlay()
158 GetExtension()) in NeedsOverlay()
167 const Extension* extension = GetExtension(); in Reload()
184 if (GetExtension()) { in UpdateIcon()
193 if (GetExtension()->from_bookmark()) in UpdateIcon()
233 const Extension* ExtensionAppItem::GetExtension() const { in GetExtension() function in ExtensionAppItem
269 const Extension* extension = GetExtension(); in Launch()
309 const Extension* extension = GetExtension(); in Activate()
/external/chromium_org/extensions/browser/app_window/
Dapp_web_contents_helper.cc77 const Extension* extension = GetExtension(); in RequestToLockMouse()
92 const Extension* extension = GetExtension(); in RequestMediaAccessPermission()
103 const Extension* extension = GetExtension(); in CheckMediaAccessPermission()
111 const Extension* AppWebContentsHelper::GetExtension() const { in GetExtension() function in extensions::AppWebContentsHelper
/external/chromium_org/chrome/browser/extensions/
Dexternal_install_error.cc131 return GetMenuItemLabel(error_->GetExtension()); in MenuItemLabel()
182 return GetMenuItemLabel(error_->GetExtension()); in MenuItemLabel()
287 const Extension* extension = GetExtension(); in InstallUIProceed()
301 if (user_initiated && GetExtension()) { in InstallUIAbort()
327 const Extension* ExternalInstallError::GetExtension() const { in GetExtension() function in extensions::ExternalInstallError
374 GetExtension(), in OnFetchComplete()
Dextension_context_menu_model.cc137 const Extension* extension = GetExtension(); in IsCommandIdEnabled()
172 const Extension* extension = GetExtension(); in ExecuteCommand()
237 if (GetExtension()) { in ExtensionUninstallAccepted()
303 const Extension* ExtensionContextMenuModel::GetExtension() const { in GetExtension() function in ExtensionContextMenuModel
/external/chromium_org/chrome/browser/extensions/updater/
Dlocal_extension_cache_unittest.cc155 EXPECT_TRUE(cache.GetExtension(kTestExtensionId1, NULL, NULL)); in TEST_F()
156 EXPECT_TRUE(cache.GetExtension(kTestExtensionId2, NULL, NULL)); in TEST_F()
157 EXPECT_TRUE(cache.GetExtension(kTestExtensionId3, NULL, NULL)); in TEST_F()
Dextension_cache_impl.cc83 bool ExtensionCacheImpl::GetExtension(const std::string& id, in GetExtension() function in extensions::ExtensionCacheImpl
87 return cache_->GetExtension(id, file_path, version); in GetExtension()
/external/chromium_org/extensions/shell/browser/
Dshell_content_browser_client.cc146 const Extension* extension = GetExtension(site_instance); in SiteInstanceGotProcess()
168 const Extension* extension = GetExtension(site_instance); in SiteInstanceDeleting()
240 const Extension* ShellContentBrowserClient::GetExtension( in GetExtension() function in extensions::ShellContentBrowserClient
/external/chromium_org/chrome/browser/ui/extensions/
Dapplication_launch.cc116 const Extension* GetExtension(const AppLaunchParams& params) { in GetExtension() function
152 const Extension* const extension = GetExtension(params); in OpenApplicationWindow()
198 const Extension* extension = GetExtension(launch_params); in OpenApplicationTab()
287 const Extension* extension = GetExtension(params); in OpenEnabledApplication()
399 const Extension* extension = GetExtension(params); in OpenApplicationWithReenablePrompt()
/external/chromium_org/extensions/browser/
Dextension_web_contents_observer.cc34 const Extension* extension = GetExtension(render_view_host); in RenderViewCreated()
97 const Extension* ExtensionWebContentsObserver::GetExtension( in GetExtension() function in extensions::ExtensionWebContentsObserver
Dextension_web_contents_observer.h46 const Extension* GetExtension(content::RenderViewHost* render_view_host);
/external/chromium_org/chrome/browser/chromeos/extensions/
Dexternal_cache.cc124 bool ExternalCache::GetExtension(const std::string& id, in GetExtension() function in chromeos::ExternalCache
127 return local_cache_.GetExtension(id, file_path, version); in GetExtension()
259 if (local_cache_.GetExtension(it.key(), &file_path, &version)) { in CheckCache()
316 if (!local_cache_.GetExtension(id, NULL, &version)) { in OnPutExtension()
/external/chromium_org/chrome/browser/ui/views/apps/
Dchrome_native_app_window_views_win.cc116 const extensions::Extension* extension = app_window()->GetExtension(); in InitializeDefaultWindow()
168 const extensions::Extension* extension = app_window()->GetExtension(); in UpdateShelfMenu()
/external/chromium_org/chrome/browser/renderer_context_menu/
Dcontext_menu_content_type_platform_app.cc22 const extensions::Extension* platform_app = GetExtension(); in SupportsGroup()
/external/chromium_org/chrome/browser/guest_view/web_view/
Dcontext_menu_content_type_web_view.cc41 const extensions::Extension* embedder_platform_app = GetExtension(); in SupportsGroup()

1234