Home
last modified time | relevance | path

Searched refs:hr (Results 1 – 25 of 172) sorted by relevance

1234567

/external/qemu/audio/
Ddsoundaudio.c93 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 …]
Ddsound_template.h50 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/wpa_supplicant/
Dndis_events.c54 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/webkit/WebKitTools/WinLauncher/
DWinLauncher.cpp65 HRESULT hr = S_OK; in updateAddressBar() local
67 hr = webView->mainFrame(&mainFrame); in updateAddressBar()
68 if (FAILED(hr)) in updateAddressBar()
71 hr = mainFrame->dataSource(&dataSource); in updateAddressBar()
72 if (FAILED(hr) || !dataSource) in updateAddressBar()
73 hr = mainFrame->provisionalDataSource(&dataSource); in updateAddressBar()
74 if (FAILED(hr) || !dataSource) in updateAddressBar()
77 hr = dataSource->request(&request); in updateAddressBar()
78 if (FAILED(hr) || !request) in updateAddressBar()
81 hr = request->mainDocumentURL(&frameURL); in updateAddressBar()
[all …]
/external/webkit/WebKit/win/
DWebHistory.cpp159 …HRESULT hr = nc->postNotificationName(getNotificationString(notifyType), static_cast<IWebHistory*>… in postNotification() local
160 if (FAILED(hr)) in postNotification()
161 return hr; in postNotification()
252 HRESULT hr = S_OK; in loadFromURL() local
258 hr = loadHistoryGutsFromURL(urlRef.get(), discardedItems.get(), error); in loadFromURL()
259 if (FAILED(hr)) in loadFromURL()
262 hr = postNotification(kWebHistoryLoadedNotification); in loadFromURL()
263 if (FAILED(hr)) in loadFromURL()
268 hr = postNotification(kWebHistoryItemsDiscardedWhileLoadingNotification, userInfo); in loadFromURL()
270 if (FAILED(hr)) in loadFromURL()
[all …]
DAccessibleBase.cpp131 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); in get_accChild() local
132 if (FAILED(hr)) in get_accChild()
133 return hr; in get_accChild()
148 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); in get_accName() local
150 if (FAILED(hr)) in get_accName()
151 return hr; in get_accName()
166 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); in get_accValue() local
168 if (FAILED(hr)) in get_accValue()
169 return hr; in get_accValue()
184 HRESULT hr = getAccessibilityObjectForChild(vChild, childObj); in get_accDescription() local
[all …]
DWebHTMLRepresentation.cpp158 HRESULT hr = m_frame->elementDoesAutoComplete(element, &doesAutoComplete); in elementDoesAutoComplete() local
160 return hr; in elementDoesAutoComplete()
168 HRESULT hr = m_frame->elementIsPassword(element, &isPassword); in elementIsPassword() local
170 return hr; in elementIsPassword()
254 HRESULT hr = this->m_frame->canProvideDocumentSource(&canProvideSource); in canProvideDocumentSource() local
256 return hr; in canProvideDocumentSource()
267 HRESULT hr = S_OK; in documentSource() local
270 hr = m_frame->dataSource(&dataSource); in documentSource()
271 if (FAILED(hr)) in documentSource()
272 return hr; in documentSource()
[all …]
DWebView.cpp193 HRESULT hr = S_OK; in onNotify() local
196 hr = notification->getObject(&unkPrefs); in onNotify()
197 if (FAILED(hr)) in onNotify()
198 return hr; in onNotify()
205 hr = preferences->cacheModel(&cacheModel); in onNotify()
206 if (FAILED(hr)) in onNotify()
207 return hr; in onNotify()
210 hr = notification->name(&nameBSTR); in onNotify()
211 if (FAILED(hr)) in onNotify()
212 return hr; in onNotify()
[all …]
DMarshallingHelpers.cpp229 HRESULT hr = ::SafeArrayGetLBound(inArray, 1, &lBound); in safeArrayToStringArray() local
230 if (SUCCEEDED(hr)) in safeArrayToStringArray()
231 hr = ::SafeArrayGetUBound(inArray, 1, &uBound); in safeArrayToStringArray()
232 long len = (SUCCEEDED(hr)) ? (uBound-lBound+1) : 0; in safeArrayToStringArray()
238 hr = ::SafeArrayGetElement(inArray, &lBound, &str); in safeArrayToStringArray()
252 HRESULT hr = ::SafeArrayGetLBound(inArray, 1, &lBound); in safeArrayToIntArray() local
253 if (SUCCEEDED(hr)) in safeArrayToIntArray()
254 hr = ::SafeArrayGetUBound(inArray, 1, &uBound); in safeArrayToIntArray()
255 long len = (SUCCEEDED(hr)) ? (uBound-lBound+1) : 0; in safeArrayToIntArray()
261 hr = ::SafeArrayGetElement(inArray, &lBound, &num); in safeArrayToIntArray()
[all …]
DWebURLAuthenticationChallenge.cpp126 HRESULT hr = S_OK; in initWithProtectionSpace() local
128 hr = space->QueryInterface(&webSpace); in initWithProtectionSpace()
129 if (FAILED(hr)) in initWithProtectionSpace()
130 return hr; in initWithProtectionSpace()
137 hr = failureResponse->QueryInterface(&webResponse); in initWithProtectionSpace()
138 if (FAILED(hr)) in initWithProtectionSpace()
139 return hr; in initWithProtectionSpace()
142 hr = error->QueryInterface(CLSID_WebError, (void**)&webError); in initWithProtectionSpace()
143 if (FAILED(hr)) in initWithProtectionSpace()
144 return hr; in initWithProtectionSpace()
DDOMCoreClasses.cpp320 HRESULT hr = other->QueryInterface(__uuidof(DOMNode), (void**)&domOther); in isSameNode() local
321 if (FAILED(hr)) in isSameNode()
322 return hr; in isSameNode()
385 HRESULT hr = evt->QueryInterface(IID_DOMEvent, (void**) &domEvent); in dispatchEvent() local
386 if (FAILED(hr)) in dispatchEvent()
387 return hr; in dispatchEvent()
419 HRESULT hr = S_OK; in createInstance() local
428 hr = newElement->QueryInterface(IID_IDOMNode, (void**)&domNode); in createInstance()
437 hr = newDocument->QueryInterface(IID_IDOMNode, (void**)&domNode); in createInstance()
445 hr = newNode->QueryInterface(IID_IDOMNode, (void**)&domNode); in createInstance()
[all …]
DWebNotificationCenter.cpp167 HRESULT hr = notification->name(&name); in postNotification() local
168 if (FAILED(hr)) in postNotification()
169 return hr; in postNotification()
172 hr = notification->getObject(&obj); in postNotification()
173 if (FAILED(hr)) in postNotification()
174 return hr; in postNotification()
179 return hr; in postNotification()
DDOMEventsClasses.cpp75 HRESULT hr; in createInstance() local
80 hr = newEvent->QueryInterface(IID_IDOMKeyboardEvent, (void**)&domEvent); in createInstance()
83 hr = newEvent->QueryInterface(IID_IDOMMouseEvent, (void**)&domEvent); in createInstance()
86 hr = newEvent->QueryInterface(IID_IDOMMutationEvent, (void**)&domEvent); in createInstance()
89 hr = newEvent->QueryInterface(IID_IDOMOverflowEvent, (void**)&domEvent); in createInstance()
92 hr = newEvent->QueryInterface(IID_IDOMWheelEvent, (void**)&domEvent); in createInstance()
95 hr = newEvent->QueryInterface(IID_IDOMUIEvent, (void**)&domEvent); in createInstance()
98 hr = newEvent->QueryInterface(IID_IDOMEvent, (void**)&domEvent); in createInstance()
101 if (FAILED(hr)) in createInstance()
DCFDictionaryPropertyBag.cpp165 HRESULT hr = E_FAIL; in Read() local
168 hr = S_OK; in Read()
170 hr = E_INVALIDARG; in Read()
172 return hr; in Read()
DWebFrame.cpp170 HRESULT hr = element->QueryInterface(IID_IDOMElementPrivate, (void**) &elePriv); in elementFromDOMElement() local
171 if (SUCCEEDED(hr)) { in elementFromDOMElement()
173 hr = elePriv->coreElement((void**)&ele); in elementFromDOMElement()
174 if (SUCCEEDED(hr)) in elementFromDOMElement()
186 HRESULT hr = element->QueryInterface(IID_IDOMElementPrivate, (void**) &elePriv); in formElementFromDOMElement() local
187 if (SUCCEEDED(hr)) { in formElementFromDOMElement()
189 hr = elePriv->coreElement((void**)&ele); in formElementFromDOMElement()
191 if (SUCCEEDED(hr) && ele && ele->hasTagName(formTag)) in formElementFromDOMElement()
203 HRESULT hr = element->QueryInterface(IID_IDOMElementPrivate, (void**) &elePriv); in inputElementFromDOMElement() local
204 if (SUCCEEDED(hr)) { in inputElementFromDOMElement()
[all …]
DWebKitClassFactory.cpp164 HRESULT hr = unknown->QueryInterface(riid, ppvObject); in CreateInstance() local
165 if (FAILED(hr)) in CreateInstance()
170 return hr; in CreateInstance()
DDOMCSSClasses.cpp56 HRESULT hr; in createInstance() local
60 hr = newStyle->QueryInterface(IID_IDOMCSSStyleDeclaration, (void**)&domStyle); in createInstance()
62 if (FAILED(hr)) in createInstance()
/external/expat/xmlwf/
Dxmlwin32url.cxx103 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/webkit/WebCore/platform/graphics/chromium/
DUniscribeHelper.cpp212 HRESULT hr; in characterToX() local
231 hr = ScriptCPtoX(charLength, FALSE, itemLength, in characterToX()
235 if (FAILED(hr)) in characterToX()
255 HRESULT hr; in xToCharacter() local
274 hr = ScriptXtoCP(x, itemLength, shaping.glyphLength(), in xToCharacter()
390 HRESULT hr = ScriptTextOut(dc, shaping.m_scriptCache, in draw() local
399 ASSERT(S_OK == hr); in draw()
400 textOutOk = (hr == S_OK); in draw()
464 HRESULT hr; in fillRuns() local
520 hr = ScriptItemize(m_input, m_inputLength, in fillRuns()
[all …]
DFontPlatformDataChromiumWin.cpp136 HRESULT hr = ScriptGetFontProperties(dc, scriptCache(), in scriptFontProperties() local
138 if (S_OK != hr) { in scriptFontProperties()
141 hr = ScriptGetFontProperties(dc, scriptCache(), in scriptFontProperties()
143 if (S_OK != hr) { in scriptFontProperties()
/external/webkit/WebKitTools/DumpRenderTree/win/
DFrameLoadDelegate.cpp170 HRESULT hr = webView->QueryInterface(&webViewPrivate); in didCommitLoadForFrame() local
171 if (FAILED(hr)) in didCommitLoadForFrame()
172 return hr; in didCommitLoadForFrame()
317 HRESULT hr = frame->QueryInterface(&webFramePrivate); in didFinishDocumentLoadForFrame() local
318 if (FAILED(hr)) in didFinishDocumentLoadForFrame()
319 return hr; in didFinishDocumentLoadForFrame()
321 hr = webFramePrivate->pendingFrameUnloadEventCount(&pendingFrameUnloadEvents); in didFinishDocumentLoadForFrame()
322 if (FAILED(hr)) in didFinishDocumentLoadForFrame()
323 return hr; in didFinishDocumentLoadForFrame()
/external/icu4c/data/coll/
Dhr.txt6 // * Source File:<path>/common/collation/hr.xml
10 * ICU <specials> source: <path>/xml/collation/hr.xml
12 hr{
/external/icu4c/test/intltest/
Dcaltztst.cpp177 CalendarTimeZoneTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) in date() argument
182 cal->set(1900 + y, m, d, hr, min, sec); // Add 1900 to follow java.util.Date protocol in date()
215 CalendarTimeZoneTest::dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int… in dateToFields() argument
224 hr = cal->get(UCAL_HOUR_OF_DAY, status); in dateToFields()
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);
47 …void dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int32_t& min, int32…
/external/webkit/WebCore/platform/win/
DClipboardWin.cpp175 HRESULT hr = S_OK; in createGlobalURLContent() local
289 HRESULT hr = S_OK; in createGlobalUrlFileDescriptor() local
325 HRESULT hr = S_OK; in createGlobalImageFileDescriptor() local
365 HRESULT hr = S_OK; in writeFileToDataObject() local
378 if (FAILED(hr = dataObject->SetData(fe, &medium, TRUE))) in writeFileToDataObject()
384 if (FAILED(hr = dataObject->SetData(fe, &medium, TRUE))) in writeFileToDataObject()
390 hr = dataObject->SetData(cfHDropFormat(), &medium, TRUE); in writeFileToDataObject()
394 if (FAILED(hr)) { in writeFileToDataObject()
402 return hr; in writeFileToDataObject()

1234567