Searched refs:hr (Results 101 - 125 of 441) sorted by relevance

1234567891011>>

/external/chromium/chrome/browser/accessibility/
H A Dbrowser_accessibility_win_unittest.cc33 HRESULT hr = CComObject<CountedBrowserAccessibility>::CreateInstance( local
35 DCHECK(SUCCEEDED(hr));
127 HRESULT hr = root_accessible->get_accChild(var_child, &root_iaccessible); local
128 ASSERT_EQ(S_OK, hr);
130 hr = root_accessible->get_accChild(var_child, &child1_iaccessible);
131 ASSERT_EQ(S_OK, hr);
176 HRESULT hr = manager->GetRoot()->toBrowserAccessibilityWin()->get_accChild( local
178 ASSERT_EQ(S_OK, hr);
181 hr = text_dispatch.QueryInterface(text_accessible.Receive());
182 ASSERT_EQ(S_OK, hr);
[all...]
/external/chromium_org/win8/delegate_execute/
H A Ddelegate_execute.cc41 HRESULT hr = ParentClass::AddCommonRGSReplacements(registrar); local
42 if (FAILED(hr))
43 return hr;
52 hr = registrar->AddReplacement(L"DELEGATE_EXECUTE_CLSID",
54 ATLASSERT(SUCCEEDED(hr));
55 return hr;
H A Dcommand_execute_impl.cc43 HRESULT hr = shell_item->BindToHandler(NULL, local
47 if (SUCCEEDED(hr)) {
54 hr = shell_item->GetDisplayName(SIGDN_URL, &name);
55 if (hr != S_OK) {
57 return hr;
317 HRESULT hr = E_FAIL;
319 hr = activation_manager.CoCreateInstance(CLSID_ApplicationActivationManager);
321 AtlTrace("Failed to get the activation manager, error 0x%x\n", hr);
331 hr = activation_manager->ActivateApplication(app_id.c_str(),
337 hr
428 HRESULT hr = items->Next(1, &shell_item, &count); local
[all...]
/external/chromium_org/chrome_frame/
H A Dutils.cc134 HRESULT hr = AtlLoadTypeLib(tlb_instance, index, &path, &type_lib); local
135 if (SUCCEEDED(hr)) {
136 hr = UtilRegisterTypeLib(type_lib, path, NULL, for_current_user_only);
138 return hr;
146 HRESULT hr = AtlLoadTypeLib(tlb_instance, index, &path, &type_lib); local
147 if (SUCCEEDED(hr)) {
148 hr = UtilUnRegisterTypeLib(type_lib, for_current_user_only);
150 return hr;
160 HRESULT hr = ::LoadTypeLib(typelib_path, &type_lib); local
161 if (SUCCEEDED(hr)) {
173 HRESULT hr = ::LoadTypeLib(typelib_path, &type_lib); local
223 HRESULT hr = typelib->GetLibAttr(&tla); local
441 HRESULT hr = SHGetFolderLocation(NULL, CSIDL_INTERNET_CACHE, NULL, local
822 HRESULT hr = DoQueryService(SID_SWebBrowserApp, browser, local
844 HRESULT hr = E_FAIL; local
1016 HRESULT hr = info->QueryInfo(HTTP_QUERY_RAW_HEADERS_CRLF, NULL, &size, local
1038 HRESULT hr = DoQueryService(IID_ITargetFrame2, service_provider, local
1108 HRESULT hr = E_POINTER; local
1386 HRESULT hr = stream->Read(WriteInto(data, size + 1), size, &read); local
[all...]
H A Dprotocol_sink_wrap.cc77 HRESULT hr,
126 HRESULT hr = E_FAIL; local
128 hr = delegate_->Switch(protocol_data);
129 return hr;
138 HRESULT hr = prot_data_->ReportProgress(delegate_, status_code, status_text); local
139 return hr;
148 HRESULT hr = prot_data_->ReportData(delegate_, flags, progress, max_progress); local
149 return hr;
158 HRESULT hr = prot_data_->ReportResult(delegate_, result, error, result_text); local
159 return hr;
195 HRESULT hr = DoQueryService(GUID_NULL, sink, http_negotiate.Receive()); local
296 HRESULT hr = info->QueryInfo(HTTP_QUERY_CUSTOM, buffer, &len, &flags, NULL); local
372 HRESULT hr = S_OK; local
474 HRESULT hr = FillBuffer(); local
519 HRESULT hr = S_OK; local
576 HRESULT hr = info->QueryInfo( local
802 HRESULT hr = E_FAIL; local
856 Hook_Abort(InternetProtocol_Abort_Fn orig_req, IInternetProtocol* protocol, HRESULT hr, DWORD options) argument
952 HRESULT hr = vtable_patch::PatchInterfaceMethods(p, CTransaction_PatchInfo); local
968 HRESULT hr = ::CoInternetGetSession(0, session.Receive(), 0); local
[all...]
H A Dutils.h115 HRESULT hr = BaseAtlModule::RegisterServer(FALSE, clsid); local
116 if (FAILED(hr)) {
117 return hr;
120 hr = UtilRegisterTypeLib(_AtlComModule.m_hInstTypeLib, NULL, false);
122 return hr;
127 HRESULT hr = BaseAtlModule::UnregisterServer(FALSE, clsid); local
128 if (FAILED(hr)) {
129 return hr;
132 hr = UtilUnRegisterTypeLib(_AtlComModule.m_hInstTypeLib, NULL, false);
134 return hr;
306 HRESULT hr = service_provider.QueryFrom(unk); local
355 HRESULT hr = E_NOINTERFACE; local
376 HRESULT hr = E_NOINTERFACE; local
[all...]
H A Dbuggy_bho_handling.cc132 HRESULT hr = cpc.QueryFrom(browser); local
133 if (SUCCEEDED(hr)) {
155 return hr;
166 HRESULT hr = unk->QueryInterface(diid, local
168 if (FAILED(hr)) // Sometimes only IDispatch QI is supported
169 hr = disp.QueryFrom(unk);
170 DCHECK(SUCCEEDED(hr));
172 if (SUCCEEDED(hr)) {
216 HRESULT hr = S_OK;
221 hr
[all...]
H A Dnavigation_constraints.cc61 HRESULT hr = security_manager_.CreateInstance( local
63 if (FAILED(hr)) {
66 << hr; local
H A Dvtable_patch_manager.cc119 HRESULT hr = AtlHresultFromLastError(); local
120 DLOG(ERROR) << "VirtualProtect failed 0x" << std::hex << hr; local
211 HRESULT hr;
213 hr = PatchInterfaceMethods(unknown, entry->patch_info_);
214 if (SUCCEEDED(hr)) {
219 hr = S_FALSE;
226 return hr;
H A Dchrome_frame_activex_base.h69 HRESULT hr = events->Invoke(static_cast<DISPID>(dispid), local
73 DLOG_IF(ERROR, FAILED(hr)) << "invoke(" << dispid << ") failed" <<
74 base::StringPrintf("0x%08X", hr);
413 HRESULT hr = InvokeScriptFunction(onload_handler_, url.spec()); local
417 HRESULT hr = InvokeScriptFunction(onerror_handler_, url); local
748 HRESULT hr = GetHandlersForEvent(event_type, &handlers); local
749 if (FAILED(hr))
750 return hr;
756 return hr;
762 HRESULT hr local
837 HRESULT hr = S_OK; local
884 HRESULT hr = CComObject<ComMessageEvent>::CreateInstance(&ev); local
924 HRESULT hr = script.InvokeN(static_cast<DISPID>(DISPID_VALUE), local
951 HRESULT hr = S_FALSE; local
1026 HRESULT hr = TranslateAccelerator(const_cast<MSG*>(&accel_message)); local
1168 HRESULT hr = web_browser2->Navigate2(url.AsInput(), &flags, &empty, &empty, local
[all...]
/external/chromium_org/win8/metro_driver/
H A Dchrome_app_view.cc375 HRESULT hr = winrt_utils::CreateActivationFactory( local
378 CheckHR(hr);
382 hr = view_statics->get_Value(&state);
383 CheckHR(hr);
387 hr = view_statics->TryUnsnap(&success);
389 if (FAILED(hr) || !success) {
390 LOG(ERROR) << "Failed to unsnap. Error 0x" << hr;
391 if (SUCCEEDED(hr))
392 hr = E_UNEXPECTED;
395 return hr;
667 HRESULT hr = view_->add_Activated(mswr::Callback<ActivatedHandler>( local
681 HRESULT hr = window->QueryInterface(interop.GetAddressOf()); local
763 HRESULT hr = dispatcher->ProcessEvents( local
811 HRESULT hr = window_->get_Dispatcher(&dispatcher); local
882 HRESULT hr = winrt_utils::CreateActivationFactory( local
946 HRESULT hr = settings_handler_.Initialize(); local
1062 HRESULT hr = event_args->get_Request(&data_request); local
[all...]
/external/chromium_org/chrome_frame/turndown_prompt/
H A Dturndown_prompt.cc93 HRESULT hr = web_browser_->Navigate(location, &flags, NULL, NULL, NULL); local
94 DLOG_IF(ERROR, FAILED(hr)) << "Failed to invoke Navigate on IWebBrowser2. "
95 << "Error: " << hr;
161 HRESULT hr = NOERROR; local
164 hr = DoQueryService(SID_SShellBrowser, web_browser_, ole_window.Receive());
165 if (FAILED(hr) || ole_window == NULL) {
167 << "Error: " << hr;
172 hr = ole_window->GetWindow(&web_browser_hwnd);
173 if (FAILED(hr) || web_browser_hwnd == NULL) {
175 << "Error: " << hr;
196 HRESULT hr = local
[all...]
/external/chromium_org/content/browser/accessibility/
H A Daccessibility_win_browsertest.cc55 HRESULT hr = parent->get_accChild(*var, dispatch.Receive()); local
56 EXPECT_TRUE(SUCCEEDED(hr));
69 HRESULT hr = accessible->QueryInterface(service_provider.Receive()); local
70 return SUCCEEDED(hr) ?
71 service_provider->QueryService(IID_IAccessible2, accessible2) : hr;
102 HRESULT hr = node->get_accChildCount(&child_count); local
103 ASSERT_EQ(S_OK, hr);
107 hr = AccessibleChildren(
109 ASSERT_EQ(S_OK, hr);
171 HRESULT hr local
309 HRESULT hr = accessible->get_accName(childid_self, name.Receive()); local
324 HRESULT hr = accessible->get_accRole(childid_self, role.Receive()); local
333 HRESULT hr = QueryIAccessible2(accessible, accessible2.Receive()); local
349 HRESULT hr = accessible->get_accRole(childid_self, role.Receive()); local
369 HRESULT hr = accessible->get_accState(childid_self, state.Receive()); local
384 HRESULT hr = parent->get_accChildCount(&child_count); local
461 HRESULT hr = document_accessible->get_accParent(parent_dispatch.Receive()); local
657 HRESULT hr = document_accessible->accSelect(SELFLAG_TAKEFOCUS, childid_self); local
714 HRESULT hr = AccessibleObjectFromWindow( local
814 HRESULT hr = static_cast<IAccessible*>(document_accessible)->QueryInterface( local
[all...]
/external/chromium_org/cloud_print/virtual_driver/win/
H A Dvirtual_driver_helpers.cc20 void DisplayWindowsMessage(HWND hwnd, HRESULT hr, const string16 &caption) { argument
21 ::MessageBox(hwnd, GetErrorMessage(hr).c_str(), caption.c_str(), MB_OK);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dcaltztst.h40 UDate date(int32_t y, int32_t m, int32_t d, int32_t hr=0, int32_t min=0, int32_t sec=0);
44 // Date utcDate(int y, int m, int d, int hr=0, int min=0, int sec=0);
47 void dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int32_t& min, int32_t& sec);
/external/chromium_org/ui/webui/resources/css/
H A Dmenu.css32 menu > :not(hr) {
45 menu > hr {
62 menu > :not(hr)[selected] {
66 menu > :not(hr)[selected]:active {
/external/icu4c/test/intltest/
H A Dcaltztst.h40 UDate date(int32_t y, int32_t m, int32_t d, int32_t hr=0, int32_t min=0, int32_t sec=0);
44 // Date utcDate(int y, int m, int d, int hr=0, int min=0, int sec=0);
47 void dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int32_t& min, int32_t& sec);
/external/chromium_org/third_party/skia/src/utils/win/
H A DSkIStream.cpp148 HRESULT hr = S_OK; local
153 hr = E_FAIL;
160 hr = E_FAIL;
171 hr = E_FAIL;
177 hr = E_FAIL;
184 hr = E_FAIL;
190 hr = STG_E_INVALIDFUNCTION;
197 return hr;
241 HRESULT hr = S_OK; local
247 hr
[all...]
/external/skia/src/utils/win/
H A DSkIStream.cpp148 HRESULT hr = S_OK; local
153 hr = E_FAIL;
160 hr = E_FAIL;
171 hr = E_FAIL;
177 hr = E_FAIL;
184 hr = E_FAIL;
190 hr = STG_E_INVALIDFUNCTION;
197 return hr;
241 HRESULT hr = S_OK; local
247 hr
[all...]
/external/chromium_org/ui/surface/
H A Daccelerated_surface_win.cc228 HRESULT hr = device_->CreateQuery(D3DQUERYTYPE_EVENT, query_.Receive()); local
229 if (FAILED(hr)) {
246 HRESULT hr = device_->CheckDeviceState(NULL); local
247 return FAILED(hr) || hr == S_PRESENT_MODE_CHANGED;
487 HRESULT hr = swap_chain_->GetBackBuffer(0, local
490 if (FAILED(hr)) {
496 hr = back_buffer->GetDesc(&desc);
497 if (FAILED(hr)) {
562 HRESULT hr local
701 HRESULT hr; local
779 HRESULT hr = present_thread_->device()->CreateAdditionalSwapChain( local
952 HRESULT hr = present_thread_->device()->CreateTexture( local
968 HRESULT hr = system_texture->GetSurfaceLevel(0, system_surface.Receive()); local
[all...]
H A Daccelerated_surface_transformer_win.cc141 HRESULT hr = device->GetDeviceCaps(&caps); local
142 if (FAILED(hr))
171 HRESULT hr = device_->CreateVertexDeclaration(g_vertexElements, local
173 if (FAILED(hr))
175 hr = device_->SetVertexDeclaration(vertex_declaration);
176 if (FAILED(hr))
185 HRESULT hr = device_->CreateVertexShader( local
189 if (FAILED(hr))
201 HRESULT hr = device_->CreatePixelShader( local
205 if (FAILED(hr))
473 HRESULT hr = gpu_surface->LockRect(&locked_rect, NULL, local
501 HRESULT hr = 0; local
[all...]
/external/chromium_org/media/audio/win/
H A Dcore_audio_util_win_unittest.cc151 HRESULT hr = CoreAudioUtil::GetDeviceName(audio_device, &device_name); local
152 EXPECT_TRUE(SUCCEEDED(hr));
162 hr = CoreAudioUtil::GetDeviceName(audio_device, &device_name);
163 EXPECT_TRUE(SUCCEEDED(hr));
243 HRESULT hr = CoreAudioUtil::GetPreferredAudioParameters(eRender, eConsole, local
245 EXPECT_TRUE(SUCCEEDED(hr));
319 HRESULT hr = CoreAudioUtil::SharedModeInitialize(client, &format, NULL, local
321 EXPECT_TRUE(SUCCEEDED(hr));
325 hr = CoreAudioUtil::SharedModeInitialize(client, &format, NULL,
327 EXPECT_FALSE(SUCCEEDED(hr));
[all...]
/external/chromium_org/cloud_print/service/win/
H A Dcloud_print_service_config.cc110 void ShowError(HRESULT hr);
327 void SetupDialog::ShowError(HRESULT hr) { argument
328 ShowError(GetErrorMessage(hr));
340 HRESULT hr = controller_.InstallCheckService(user, password, local
342 if (FAILED(hr))
343 return ShowError(hr);
351 hr = controller_.StartService();
352 if (FAILED(hr))
353 return ShowError(hr);
394 hr
406 HRESULT hr = controller_.StartService(); local
414 HRESULT hr = controller_.StopService(); local
422 HRESULT hr = controller_.UninstallService(); local
[all...]
H A Dinstaller.cc91 HRESULT hr = controller.UpdateBinaryPath(); local
92 if (FAILED(hr))
93 return hr;
109 HRESULT hr = controller.UninstallService(); local
110 if (FAILED(hr))
111 return hr;
/external/chromium_org/content/browser/download/
H A Dbase_file_win.cc335 HRESULT hr = CLSIDFromString( local
337 if (FAILED(hr))
341 HRESULT hr = AVScanFile(full_path_, source_url_.spec(), guid); local
355 DCHECK(FAILED(hr));
356 result = MapScanAndSaveErrorCodeToInterruptReason(hr);
361 LogInterruptReason("ScanAndSaveDownloadedFile", hr, result);

Completed in 592 milliseconds

1234567891011>>