/external/skia/src/ports/ |
D | SkImageDecoder_WIC.cpp | 33 HRESULT hr = S_OK; in onDecode() local 37 if (SUCCEEDED(hr)) { in onDecode() 38 hr = CoCreateInstance( in onDecode() 48 if (SUCCEEDED(hr)) { in onDecode() 49 hr = SkIStream::CreateFromSkStream(stream, false, &piStream); in onDecode() 53 if (SUCCEEDED(hr)) { in onDecode() 55 hr = piStream->Seek(liBeginning, STREAM_SEEK_SET, NULL); in onDecode() 60 if (SUCCEEDED(hr)) { in onDecode() 61 hr = piImagingFactory->CreateDecoderFromStream( in onDecode() 71 if (SUCCEEDED(hr)) { in onDecode() [all …]
|
/external/qemu/audio/ |
D | dsoundaudio.c | 93 static void dsound_log_hresult (HRESULT hr) in dsound_log_hresult() argument 97 switch (hr) { in dsound_log_hresult() 227 AUD_log (AUDIO_CAP, "Reason: Unknown (HRESULT %#lx)\n", hr); in dsound_log_hresult() 235 HRESULT hr, in dsound_logerr() argument 246 dsound_log_hresult (hr); in dsound_logerr() 250 HRESULT hr, in dsound_logerr2() argument 263 dsound_log_hresult (hr); in dsound_logerr2() 286 HRESULT hr; in dsound_restore_out() local 290 hr = IDirectSoundBuffer_Restore (dsb); in dsound_restore_out() 292 switch (hr) { in dsound_restore_out() [all …]
|
D | dsound_template.h | 50 HRESULT hr; in glue() local 52 hr = glue (IFACE, _Unlock) (buf, p1, blen1, p2, blen2); in glue() 53 if (FAILED (hr)) { in glue() 54 dsound_logerr (hr, "Could not unlock " NAME "\n"); in glue() 73 HRESULT hr; in glue() local 85 hr = glue (IFACE, _Lock) ( in glue() 96 if (FAILED (hr)) { in glue() 98 if (hr == DSERR_BUFFERLOST) { in glue() 100 dsound_logerr (hr, "Could not lock " NAME "\n"); in glue() 106 dsound_logerr (hr, "Could not lock " NAME "\n"); in glue() [all …]
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | winfirewall.cc | 63 HRESULT hr = CoCreateInstance(__uuidof(NetFwMgr), in Initialize() local 67 if (SUCCEEDED(hr) && (mgr_ != NULL)) in Initialize() 68 hr = mgr_->get_LocalPolicy(&policy_); in Initialize() 69 if (SUCCEEDED(hr) && (policy_ != NULL)) in Initialize() 70 hr = policy_->get_CurrentProfile(&profile_); in Initialize() 73 *result = hr; in Initialize() 74 return SUCCEEDED(hr) && (profile_ != NULL); in Initialize() 108 HRESULT hr = profile_->get_AuthorizedApplications(&apps); in QueryAuthorizedW() local 109 if (SUCCEEDED(hr) && (apps != NULL)) { in QueryAuthorizedW() 111 hr = apps->Item(bfilename, &app); in QueryAuthorizedW() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | ndis_events.c | 54 HRESULT hr; in call_IWbemServices_ExecQuery() local 59 hr = IWbemServices_ExecQuery(pSvc, bsQueryLanguage, bsQuery, lFlags, in call_IWbemServices_ExecQuery() 65 return hr; in call_IWbemServices_ExecQuery() 74 HRESULT hr; in call_IWbemServices_ExecNotificationQueryAsync() local 79 hr = IWbemServices_ExecNotificationQueryAsync(pSvc, bsQueryLanguage, in call_IWbemServices_ExecNotificationQueryAsync() 86 return hr; in call_IWbemServices_ExecNotificationQueryAsync() 96 HRESULT hr; in call_IWbemLocator_ConnectServer() local 104 hr = IWbemLocator_ConnectServer(pLoc, bsNetworkResource, bsUser, in call_IWbemLocator_ConnectServer() 114 return hr; in call_IWbemLocator_ConnectServer() 250 HRESULT hr; in ndis_events_media_specific() local [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | ndis_events.c | 48 HRESULT hr; in call_IWbemServices_ExecQuery() local 53 hr = IWbemServices_ExecQuery(pSvc, bsQueryLanguage, bsQuery, lFlags, in call_IWbemServices_ExecQuery() 59 return hr; in call_IWbemServices_ExecQuery() 68 HRESULT hr; in call_IWbemServices_ExecNotificationQueryAsync() local 73 hr = IWbemServices_ExecNotificationQueryAsync(pSvc, bsQueryLanguage, in call_IWbemServices_ExecNotificationQueryAsync() 80 return hr; in call_IWbemServices_ExecNotificationQueryAsync() 90 HRESULT hr; in call_IWbemLocator_ConnectServer() local 98 hr = IWbemLocator_ConnectServer(pLoc, bsNetworkResource, bsUser, in call_IWbemLocator_ConnectServer() 108 return hr; in call_IWbemLocator_ConnectServer() 244 HRESULT hr; in ndis_events_media_specific() local [all …]
|
/external/webkit/Source/WebKit/win/ |
D | WebHistory.cpp | 148 …HRESULT hr = nc->postNotificationName(getNotificationString(notifyType), static_cast<IWebHistory*>… in postNotification() local 149 if (FAILED(hr)) in postNotification() 150 return hr; in postNotification() 241 HRESULT hr = S_OK; in loadFromURL() local 247 hr = loadHistoryGutsFromURL(urlRef.get(), discardedItems.get(), error); in loadFromURL() 248 if (FAILED(hr)) in loadFromURL() 251 hr = postNotification(kWebHistoryLoadedNotification); in loadFromURL() 252 if (FAILED(hr)) in loadFromURL() 257 hr = postNotification(kWebHistoryItemsDiscardedWhileLoadingNotification, userInfo.get()); in loadFromURL() 258 if (FAILED(hr)) in loadFromURL() [all …]
|
D | AccessibleBase.cpp | 162 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); in get_accChild() local 163 if (FAILED(hr)) in get_accChild() 164 return hr; in get_accChild() 179 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); in get_accName() local 181 if (FAILED(hr)) in get_accName() 182 return hr; in get_accName() 197 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); in get_accValue() local 199 if (FAILED(hr)) in get_accValue() 200 return hr; in get_accValue() 215 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); in get_accDescription() local [all …]
|
D | WebHTMLRepresentation.cpp | 157 HRESULT hr = m_frame->elementDoesAutoComplete(element, &doesAutoComplete); in elementDoesAutoComplete() local 159 return hr; in elementDoesAutoComplete() 167 HRESULT hr = m_frame->elementIsPassword(element, &isPassword); in elementIsPassword() local 169 return hr; in elementIsPassword() 258 HRESULT hr = this->m_frame->canProvideDocumentSource(&canProvideSource); in canProvideDocumentSource() local 260 return hr; in canProvideDocumentSource() 271 HRESULT hr = S_OK; in documentSource() local 274 hr = m_frame->dataSource(&dataSource); in documentSource() 275 if (FAILED(hr)) in documentSource() 276 return hr; in documentSource() [all …]
|
D | WebView.cpp | 225 HRESULT hr = S_OK; in onNotify() local 228 hr = notification->getObject(&unkPrefs); in onNotify() 229 if (FAILED(hr)) in onNotify() 230 return hr; in onNotify() 237 hr = preferences->cacheModel(&cacheModel); in onNotify() 238 if (FAILED(hr)) in onNotify() 239 return hr; in onNotify() 242 hr = notification->name(&nameBSTR); in onNotify() 243 if (FAILED(hr)) in onNotify() 244 return hr; in onNotify() [all …]
|
D | MarshallingHelpers.cpp | 227 HRESULT hr = ::SafeArrayGetLBound(inArray, 1, &lBound); in safeArrayToStringArray() local 228 if (SUCCEEDED(hr)) in safeArrayToStringArray() 229 hr = ::SafeArrayGetUBound(inArray, 1, &uBound); in safeArrayToStringArray() 230 long len = (SUCCEEDED(hr)) ? (uBound-lBound+1) : 0; in safeArrayToStringArray() 236 hr = ::SafeArrayGetElement(inArray, &lBound, &str); in safeArrayToStringArray() 250 HRESULT hr = ::SafeArrayGetLBound(inArray, 1, &lBound); in safeArrayToIntArray() local 251 if (SUCCEEDED(hr)) in safeArrayToIntArray() 252 hr = ::SafeArrayGetUBound(inArray, 1, &uBound); in safeArrayToIntArray() 253 long len = (SUCCEEDED(hr)) ? (uBound-lBound+1) : 0; in safeArrayToIntArray() 259 hr = ::SafeArrayGetElement(inArray, &lBound, &num); in safeArrayToIntArray() [all …]
|
/external/expat/xmlwf/ |
D | xmlwin32url.cxx | 103 Callback::OnStopBinding(HRESULT hr, LPCWSTR szError) in OnStopBinding() argument 113 stopHandler_(stopArg_, hr); in OnStopBinding() 148 HRESULT hr = pBinding_->QueryInterface(IID_IWinInetHttpInfo, in OnDataAvailable() local 150 if (SUCCEEDED(hr)) { in OnDataAvailable() 155 hr = hp->QueryInfo(HTTP_QUERY_CONTENT_TYPE, contentType, in OnDataAvailable() 157 if (SUCCEEDED(hr)) { in OnDataAvailable() 190 HRESULT hr = pstgmed->pstm->Read(buf, nToRead, &nRead); in OnDataAvailable() local 191 if (SUCCEEDED(hr)) { in OnDataAvailable() 265 HRESULT hr; in openStream() local 268 hr = CreateURLMoniker(0, uri, &m); in openStream() [all …]
|
/external/chromium/chrome/browser/accessibility/ |
D | accessibility_win_browsertest.cc | 115 HRESULT hr = parent->get_accChild(CreateI4Variant(V_I4(var)), &dispatch); in GetAccessibleFromResultVariant() local 116 EXPECT_TRUE(SUCCEEDED(hr)); in GetAccessibleFromResultVariant() 129 HRESULT hr = accessible->QueryInterface(service_provider.Receive()); in QueryIAccessible2() local 130 if (FAILED(hr)) in QueryIAccessible2() 131 return hr; in QueryIAccessible2() 133 hr = service_provider->QueryService(IID_IAccessible2, accessible2); in QueryIAccessible2() 134 return hr; in QueryIAccessible2() 146 HRESULT hr = child->get_uniqueID(&unique_id); in AccessibleContainsAccessible() local 147 ASSERT_EQ(S_OK, hr); in AccessibleContainsAccessible() 155 hr = QueryIAccessible2(accessible, accessible2.Receive()); in AccessibleContainsAccessible() [all …]
|
/external/webkit/Tools/WinLauncher/ |
D | WinLauncher.cpp | 70 HRESULT hr = S_OK; in updateAddressBar() local 72 hr = webView->mainFrame(&mainFrame); in updateAddressBar() 73 if (FAILED(hr)) in updateAddressBar() 76 hr = mainFrame->dataSource(&dataSource); in updateAddressBar() 77 if (FAILED(hr) || !dataSource) in updateAddressBar() 78 hr = mainFrame->provisionalDataSource(&dataSource); in updateAddressBar() 79 if (FAILED(hr) || !dataSource) in updateAddressBar() 82 hr = dataSource->request(&request); in updateAddressBar() 83 if (FAILED(hr) || !request) in updateAddressBar() 86 hr = request->mainDocumentURL(&frameURL); in updateAddressBar() [all …]
|
/external/markdown/MarkdownTest/Tests_2004/ |
D | Inline HTML (Simple).text | 48 <hr /> 52 <hr> 54 <hr/> 56 <hr /> 58 <hr> 60 <hr/> 62 <hr /> 64 <hr class="foo" id="bar" /> 66 <hr class="foo" id="bar"/> 68 <hr class="foo" id="bar" >
|
/external/markdown/MarkdownTest/Tests_2007/ |
D | Inline HTML (Simple).text | 48 <hr /> 52 <hr> 54 <hr/> 56 <hr /> 58 <hr> 60 <hr/> 62 <hr /> 64 <hr class="foo" id="bar" /> 66 <hr class="foo" id="bar"/> 68 <hr class="foo" id="bar" >
|
/external/markdown/tests/safe_mode/ |
D | inline-html-simple.txt | 48 <hr /> 52 <hr> 54 <hr/> 56 <hr /> 58 <hr> 60 <hr/> 62 <hr /> 64 <hr class="foo" id="bar" /> 66 <hr class="foo" id="bar"/> 68 <hr class="foo" id="bar" >
|
/external/markdown/tests/markdown-test/ |
D | inline-html-simple.txt | 48 <hr /> 52 <hr> 54 <hr/> 56 <hr /> 58 <hr> 60 <hr/> 62 <hr /> 64 <hr class="foo" id="bar" /> 66 <hr class="foo" id="bar"/> 68 <hr class="foo" id="bar" >
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
D | Blit.cpp | 158 …HRESULT hr = device->CreateVertexBuffer(sizeof(quad), D3DUSAGE_WRITEONLY, 0, D3DPOOL_DEFAULT, &mQu… in initGeometry() local 160 if (FAILED(hr)) in initGeometry() 162 ASSERT(hr == D3DERR_OUTOFVIDEOMEMORY || hr == E_OUTOFMEMORY); in initGeometry() 177 hr = device->CreateVertexDeclaration(elements, &mQuadVertexDeclaration); in initGeometry() 178 if (FAILED(hr)) in initGeometry() 180 ASSERT(hr == D3DERR_OUTOFVIDEOMEMORY || hr == E_OUTOFMEMORY); in initGeometry() 201 …HRESULT hr = D3DXCompileShader(mShaderSource[source], strlen(mShaderSource[source]), NULL, NULL, "… in setShader() local 203 if (FAILED(hr)) in setShader() 205 … ERR("Failed to compile %s shader for blit operation %d, error 0x%08X.", profile, (int)source, hr); in setShader() 209 … hr = (device->*createShader)(static_cast<const DWORD*>(shaderCode->GetBufferPointer()), &shader); in setShader() [all …]
|
/external/chromium/base/win/ |
D | event_trace_consumer_unittest.cc | 122 HRESULT hr = consumer_.Consume(); in ConsumerThread() local 123 return hr; in ConsumerThread() 139 HRESULT hr = S_OK; in StartConsumerThread() local 164 return hr; in StartConsumerThread() 188 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); in TEST_F() local 189 if (hr == E_ACCESSDENIED) { in TEST_F() 220 HRESULT hr = controller.StartRealtimeSession(kTestSessionName, 100 * 1024); in TEST_F() local 221 if (hr == E_ACCESSDENIED) { in TEST_F() 273 HRESULT hr = controller.StartFileSession(kTestSessionName, in LogEventToTempSession() local 275 if (FAILED(hr)) in LogEventToTempSession() [all …]
|
/external/chromium/chrome/browser/google/ |
D | google_update.cc | 288 HRESULT hr = in InitiateGoogleUpdateCheck() local 290 if (hr != S_OK) { in InitiateGoogleUpdateCheck() 291 return ReportFailure(hr, GOOGLE_UPDATE_JOB_SERVER_CREATION_FAILED, in InitiateGoogleUpdateCheck() 302 hr = on_demand.CreateInstance(CLSID_OnDemandUserAppsClass); in InitiateGoogleUpdateCheck() 308 hr = on_demand.CreateInstance(CLSID_OnDemandMachineAppsClass); in InitiateGoogleUpdateCheck() 315 hr = CoCreateInstanceAsAdmin(CLSID_OnDemandMachineAppsClass, in InitiateGoogleUpdateCheck() 322 if (hr != S_OK) in InitiateGoogleUpdateCheck() 323 return ReportFailure(hr, GOOGLE_UPDATE_ONDEMAND_CLASS_NOT_FOUND, main_loop); in InitiateGoogleUpdateCheck() 329 hr = on_demand->CheckForUpdate(app_guid.c_str(), job_observer); in InitiateGoogleUpdateCheck() 331 hr = on_demand->Update(app_guid.c_str(), job_observer); in InitiateGoogleUpdateCheck() [all …]
|
/external/chromium/net/http/ |
D | url_security_manager_win.cc | 58 HRESULT hr; in CanUseDefaultCredentials() local 59 hr = security_manager_->ProcessUrlAction(url_w.c_str(), in CanUseDefaultCredentials() 64 if (FAILED(hr)) { in CanUseDefaultCredentials() 65 LOG(ERROR) << "IInternetSecurityManager::ProcessUrlAction failed: " << hr; in CanUseDefaultCredentials() 87 hr = security_manager_->MapUrlToZone(url_w.c_str(), &zone, 0); in CanUseDefaultCredentials() 88 if (FAILED(hr)) { in CanUseDefaultCredentials() 89 LOG(ERROR) << "IInternetSecurityManager::MapUrlToZone failed: " << hr; in CanUseDefaultCredentials() 115 HRESULT hr = CoInternetCreateSecurityManager(NULL, in EnsureSystemSecurityManager() local 118 if (FAILED(hr) || !security_manager_) { in EnsureSystemSecurityManager()
|
/external/chromium/chrome/common/ |
D | win_safe_util.cc | 28 HRESULT hr = attachment_services.CreateInstance(CLSID_AttachmentServices); in SaferOpenItemViaShell() local 29 if (FAILED(hr)) { in SaferOpenItemViaShell() 32 if (hr == CO_E_NOTINITIALIZED) { in SaferOpenItemViaShell() 54 hr = attachment_services->SetLocalPath(full_path.value().c_str()); in SaferOpenItemViaShell() 55 if (FAILED(hr)) in SaferOpenItemViaShell() 58 hr = attachment_services->SetSource(source_url.c_str()); in SaferOpenItemViaShell() 59 if (FAILED(hr)) in SaferOpenItemViaShell() 78 hr = attachment_services->Prompt(hwnd, ATTACHMENT_PROMPT_EXEC, &action); in SaferOpenItemViaShell() 79 if (FAILED(hr) || (ATTACHMENT_ACTION_CANCEL == action)) { in SaferOpenItemViaShell()
|
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/ |
D | Surface.cpp | 222 HRESULT hr; in applyFlipState() local 229 hr = device->BeginStateBlock(); in applyFlipState() 230 ASSERT(SUCCEEDED(hr)); in applyFlipState() 232 hr = device->EndStateBlock(&mPreFlipState); in applyFlipState() 233 ASSERT(SUCCEEDED(hr) || hr == D3DERR_OUTOFVIDEOMEMORY || hr == E_OUTOFMEMORY); in applyFlipState() 235 if (SUCCEEDED(hr)) in applyFlipState() 241 hr = device->BeginStateBlock(); in applyFlipState() 242 ASSERT(SUCCEEDED(hr)); in applyFlipState() 246 hr = device->EndStateBlock(&mFlipState); in applyFlipState() 247 ASSERT(SUCCEEDED(hr) || hr == D3DERR_OUTOFVIDEOMEMORY || hr == E_OUTOFMEMORY); in applyFlipState() [all …]
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
D | devicemanager.cc | 172 HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); in Init() local 173 need_couninitialize_ = SUCCEEDED(hr); in Init() 174 if (FAILED(hr)) { in Init() 175 LOG(LS_ERROR) << "CoInitialize failed, hr=" << hr; in Init() 176 if (hr != RPC_E_CHANGED_MODE) { in Init() 390 HRESULT hr; in GetDevices() local 397 if (FAILED(hr = sys_dev_enum.CoCreateInstance(CLSID_SystemDeviceEnum)) || in GetDevices() 398 FAILED(hr = sys_dev_enum->CreateClassEnumerator(catid, &cam_enum, 0))) { in GetDevices() 399 LOG(LS_ERROR) << "Failed to create device enumerator, hr=" << hr; in GetDevices() 405 if (hr == S_OK) { in GetDevices() [all …]
|