Home
last modified time | relevance | path

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

12345678910>>...22

/external/webrtc/webrtc/modules/video_capture/windows/
Dvideo_capture_ds.cc86 HRESULT hr = CoCreateInstance(CLSID_FilterGraph, NULL, in Init() local
89 if (FAILED(hr)) in Init()
96 hr = _graphBuilder->QueryInterface(IID_IMediaControl, in Init()
98 if (FAILED(hr)) in Init()
104 hr = _graphBuilder->AddFilter(_captureFilter, CAPTURE_FILTER_NAME); in Init()
105 if (FAILED(hr)) in Init()
115 _sinkFilter = new CaptureSinkFilter(SINK_FILTER_NAME, NULL, &hr, in Init()
117 if (hr != S_OK) in Init()
125 hr = _graphBuilder->AddFilter(_sinkFilter, SINK_FILTER_NAME); in Init()
126 if (FAILED(hr)) in Init()
[all …]
Ddevice_info_ds.cc80 …HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); // Use COINIT_MULTITHREADED since Voice E… in DeviceInfoDS() local
81 if (FAILED(hr)) in DeviceInfoDS()
86 if (hr == RPC_E_CHANGED_MODE) in DeviceInfoDS()
96 hr); in DeviceInfoDS()
113 HRESULT hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC, in Init() local
115 if (hr != NOERROR) in Init()
118 "Failed to create CLSID_SystemDeviceEnum, error 0x%x", hr); in Init()
161 HRESULT hr = in GetDeviceInfo() local
164 if (hr != NOERROR) in GetDeviceInfo()
168 " No webcam exist?", hr); in GetDeviceInfo()
[all …]
Dhelp_functions_ds.cc37 HRESULT hr; in GetInputPin() local
47 hr = pPinEnum->Reset(); // set to first pin in GetInputPin()
70 HRESULT hr; in GetOutputPin() local
79 hr = pPinEnum->Reset(); // set to first pin in GetOutputPin()
103 HRESULT hr = pPin->QueryInterface(IID_PPV_ARGS(&pKs)); in PinMatchesCategory() local
104 if (SUCCEEDED(hr)) in PinMatchesCategory()
108 hr = pKs->Get(AMPROPSETID_Pin, AMPROPERTY_PIN_CATEGORY, NULL, 0, &PinCategory, in PinMatchesCategory()
110 if (SUCCEEDED(hr) && (cbReturned == sizeof(GUID))) in PinMatchesCategory()
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_core_win.cc188 HRESULT hr(S_OK); in CoreAudioIsSupported() local
269 hr = CoCreateInstance( in CoreAudioIsSupported()
276 if (FAILED(hr)) in CoreAudioIsSupported()
279 … "AudioDeviceWindowsCore::CoreAudioIsSupported() Failed to create the required COM object", hr); in CoreAudioIsSupported()
281 …iceWindowsCore::CoreAudioIsSupported() CoCreateInstance(MMDeviceEnumerator) failed (hr=0x%x)", hr); in CoreAudioIsSupported()
291 hr, in CoreAudioIsSupported()
314 …udioDeviceWindowsCore::CoreAudioIsSupported() CoCreateInstance(MMDeviceEnumerator) succeeded", hr); in CoreAudioIsSupported()
529 HRESULT hr; in AudioDeviceWindowsCore() local
548 hr = CoCreateInstance(CLSID_CWMAudioAEC, in AudioDeviceWindowsCore()
553 if (FAILED(hr) || ptrDMO == NULL) in AudioDeviceWindowsCore()
[all …]
/external/webrtc/webrtc/base/
Dwin32regkey.cc147 HRESULT hr = GetValueStaticHelper(full_key_name, value_name, in GetValue() local
149 if (SUCCEEDED(hr)) { in GetValue()
155 return hr; in GetValue()
166 HRESULT hr = GetValueStaticHelper(full_key_name, value_name, in GetValue() local
168 if (SUCCEEDED(hr)) { in GetValue()
174 return hr; in GetValue()
193 HRESULT hr = RegKey::GetValue(full_key_name, value_name, buffer.accept()); in GetValue() local
194 if (SUCCEEDED(hr)) { in GetValue()
197 return hr; in GetValue()
226 HRESULT hr = HRESULT_FROM_WIN32(res); in DeleteSubKey() local
[all …]
Dwinfirewall.cc46 HRESULT hr = CoCreateInstance(__uuidof(NetFwMgr), in Initialize() local
50 if (SUCCEEDED(hr) && (mgr_ != NULL)) in Initialize()
51 hr = mgr_->get_LocalPolicy(&policy_); in Initialize()
52 if (SUCCEEDED(hr) && (policy_ != NULL)) in Initialize()
53 hr = policy_->get_CurrentProfile(&profile_); in Initialize()
56 *result = hr; in Initialize()
57 return SUCCEEDED(hr) && (profile_ != NULL); in Initialize()
91 HRESULT hr = profile_->get_AuthorizedApplications(&apps); in QueryAuthorizedW() local
92 if (SUCCEEDED(hr) && (apps != NULL)) { in QueryAuthorizedW()
94 hr = apps->Item(bfilename, &app); in QueryAuthorizedW()
[all …]
/external/skia/src/ports/
DSkImageEncoder_WIC.cpp122 HRESULT hr = S_OK; in SkEncodeImageWithWIC() local
126 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
127 hr = CoCreateInstance( in SkEncodeImageWithWIC()
137 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
138 hr = SkWIStream::CreateFromSkWStream(stream, &piStream); in SkEncodeImageWithWIC()
143 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
144 hr = piImagingFactory->CreateEncoder(type, nullptr, &piEncoder); in SkEncodeImageWithWIC()
147 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
148 hr = piEncoder->Initialize(piStream.get(), WICBitmapEncoderNoCache); in SkEncodeImageWithWIC()
154 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
[all …]
DSkImageGeneratorWIC.cpp24 HRESULT hr = CoCreateInstance(CLSID_WICImagingFactory, nullptr, CLSCTX_INPROC_SERVER, in NewFromEncodedWIC() local
26 if (FAILED(hr)) { in NewFromEncodedWIC()
34 hr = SkIStream::CreateFromSkStream(new SkMemoryStream(sk_ref_sp(data)), true, &iStream); in NewFromEncodedWIC()
35 if (FAILED(hr)) { in NewFromEncodedWIC()
41 hr = imagingFactory->CreateDecoderFromStream(iStream.get(), nullptr, in NewFromEncodedWIC()
43 if (FAILED(hr)) { in NewFromEncodedWIC()
49 hr = decoder->GetFrame(0, &imageFrame); in NewFromEncodedWIC()
50 if (FAILED(hr)) { in NewFromEncodedWIC()
56 hr = imageFrame->QueryInterface(IID_PPV_ARGS(&imageSource)); in NewFromEncodedWIC()
57 if (FAILED(hr)) { in NewFromEncodedWIC()
[all …]
/external/wpa_supplicant_8/src/drivers/
Dndis_events.c48 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/mdnsresponder/mDNSWindows/DLLX/
DDLLX.cpp113 HRESULT hr = PrxDllCanUnloadNow(); in DllCanUnloadNow() local
115 if (hr != S_OK) in DllCanUnloadNow()
117 return hr; in DllCanUnloadNow()
159 HRESULT hr = _AtlModule.DllRegisterServer(); in DllRegisterServer() local
163 if (FAILED(hr)) in DllRegisterServer()
165 return hr; in DllRegisterServer()
167 hr = PrxDllRegisterServer(); in DllRegisterServer()
171 return hr; in DllRegisterServer()
185 HRESULT hr = _AtlModule.DllUnregisterServer(); in DllUnregisterServer() local
189 if (FAILED(hr)) in DllUnregisterServer()
[all …]
DTXTRecord.cpp50 HRESULT hr = S_OK; in SetValue() local
68 require_action( ok, exit, hr = S_FALSE ); in SetValue()
74 require_action( ok, exit, hr = S_FALSE ); in SetValue()
80 require_action( !err, exit, hr = S_FALSE ); in SetValue()
88 return hr; in SetValue()
98 HRESULT hr = S_OK; in RemoveValue() local
116 require_action( ok, exit, hr = S_FALSE ); in RemoveValue()
122 require_action( !err, exit, hr = S_FALSE ); in RemoveValue()
132 return hr; in RemoveValue()
196 HRESULT hr = S_OK; in GetValueForKey() local
[all …]
D_IDNSSDEvents_CP.h15 HRESULT hr = S_OK; in Fire_DomainFound() local
37hr = pConnection->Invoke(1, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &params, NULL, NULL, N… in Fire_DomainFound()
40 return hr; in Fire_DomainFound()
44 HRESULT hr = S_OK; in Fire_DomainLost() local
66hr = pConnection->Invoke(2, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &params, NULL, NULL, N… in Fire_DomainLost()
69 return hr; in Fire_DomainLost()
73 HRESULT hr = S_OK; in Fire_ServiceFound() local
99hr = pConnection->Invoke(3, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &params, NULL, NULL, N… in Fire_ServiceFound()
102 return hr; in Fire_ServiceFound()
106 HRESULT hr = S_OK; in Fire_ServiceLost() local
[all …]
/external/webrtc/talk/media/devices/
Dwin32devicemanager.cc115 HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); in Init() local
116 need_couninitialize_ = SUCCEEDED(hr); in Init()
117 if (FAILED(hr)) { in Init()
118 LOG(LS_ERROR) << "CoInitialize failed, hr=" << hr; in Init()
119 if (hr != RPC_E_CHANGED_MODE) { in Init()
184 HRESULT hr; in GetDevices() local
191 if (FAILED(hr = sys_dev_enum.CoCreateInstance(CLSID_SystemDeviceEnum)) || in GetDevices()
192 FAILED(hr = sys_dev_enum->CreateClassEnumerator(catid, &cam_enum, 0))) { in GetDevices()
193 LOG(LS_ERROR) << "Failed to create device enumerator, hr=" << hr; in GetDevices()
199 if (hr == S_OK) { in GetDevices()
[all …]
/external/markdown/MarkdownTest/Tests_2007/
DInline HTML (Simple).text48 <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/
Dinline-html-simple.txt48 <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/
Dinline-html-simple.txt48 <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_2004/
DInline HTML (Simple).text48 <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/pdfium/core/fxge/win32/
Dfx_win32_dwrite.cpp158 HRESULT hr = S_OK; in DwCreateFontFaceFromStream() local
159 hr = pDwFactory->CreateCustomFontFileReference( in DwCreateFontFaceFromStream()
162 if (FAILED(hr)) { in DwCreateFontFaceFromStream()
165 hr = pDwFontFile->Analyze(&isSupportedFontType, &fontFileType, &fontFaceType, in DwCreateFontFaceFromStream()
167 if (FAILED(hr) || !isSupportedFontType || in DwCreateFontFaceFromStream()
171 hr = pDwFactory->CreateFontFace(fontFaceType, 1, &pDwFontFile, 0, fontStyle, in DwCreateFontFaceFromStream()
173 if (FAILED(hr)) { in DwCreateFontFaceFromStream()
192 HRESULT hr = S_OK; in DwCreateRenderingTarget() local
193 hr = pDwFactory->GetGdiInterop(&pGdiInterop); in DwCreateRenderingTarget()
194 if (FAILED(hr)) { in DwCreateRenderingTarget()
[all …]
/external/ImageMagick/coders/
Dxtrn.c186 hr; in ReadXTRNImage() local
200 hr=S_OK; in ReadXTRNImage()
204 hr = SafeArrayGetLBound(pSafeArray, 1, &lBoundl); in ReadXTRNImage()
205 if (SUCCEEDED(hr)) in ReadXTRNImage()
207 hr = SafeArrayGetUBound(pSafeArray, 1, &lBoundu); in ReadXTRNImage()
208 if (SUCCEEDED(hr)) in ReadXTRNImage()
211 hr = SafeArrayAccessData(pSafeArray,(void**) &blob_data); in ReadXTRNImage()
212 if(SUCCEEDED(hr)) in ReadXTRNImage()
221 hr=SafeArrayUnaccessData(pSafeArray); in ReadXTRNImage()
367 HRESULT hr = S_OK; in SafeArrayFifo() local
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dadapter9.c43 HRESULT hr = NineUnknown_ctor(&This->base, pParams); in NineAdapter9_ctor() local
44 if (FAILED(hr)) { return hr; } in NineAdapter9_ctor()
194 HRESULT hr; in NineAdapter9_CheckDeviceType() local
204 hr = NineAdapter9_GetScreen(This, DevType, &screen); in NineAdapter9_CheckDeviceType()
205 if (FAILED(hr)) { return hr; } in NineAdapter9_CheckDeviceType()
257 HRESULT hr; in NineAdapter9_CheckDeviceFormat() local
272 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDeviceFormat()
273 if (FAILED(hr)) in NineAdapter9_CheckDeviceFormat()
274 return hr; in NineAdapter9_CheckDeviceFormat()
383 HRESULT hr; in NineAdapter9_CheckDeviceMultiSampleType() local
[all …]
Dvertexshader9.c43 HRESULT hr; in NineVertexShader9_ctor() local
49 hr = NineUnknown_ctor(&This->base, pParams); in NineVertexShader9_ctor()
50 if (FAILED(hr)) in NineVertexShader9_ctor()
51 return hr; in NineVertexShader9_ctor()
73 hr = nine_translate_shader(device, &info, pipe); in NineVertexShader9_ctor()
74 if (hr == D3DERR_INVALIDCALL && in NineVertexShader9_ctor()
78 hr = nine_translate_shader(device, &info, pipe); in NineVertexShader9_ctor()
81 if (hr == D3DERR_INVALIDCALL) in NineVertexShader9_ctor()
83 if (FAILED(hr)) in NineVertexShader9_ctor()
84 return hr; in NineVertexShader9_ctor()
[all …]
Dswapchain9.c52 HRESULT hr; in NineSwapChain9_ctor() local
57 hr = NineUnknown_ctor(&This->base, pParams); in NineSwapChain9_ctor()
58 if (FAILED(hr)) in NineSwapChain9_ctor()
59 return hr; in NineSwapChain9_ctor()
96 HRESULT hr; in D3DWindowBuffer_create() local
109 hr = ID3DPresent_NewD3DWindowBufferFromDmaBuf(This->present, in D3DWindowBuffer_create()
117 assert (SUCCEEDED(hr)); in D3DWindowBuffer_create()
119 if (FAILED(hr)) { in D3DWindowBuffer_create()
137 HRESULT hr; in NineSwapChain9_Resize() local
215 hr = ID3DPresent_SetPresentParameters(This->present, pParams, This->mode); in NineSwapChain9_Resize()
[all …]
/external/lzma/CPP/Windows/
DPropVariant.cpp278 HRESULT hr = Clear(); in Attach() local
279 if (FAILED(hr)) in Attach()
280 return hr; in Attach()
290 HRESULT hr = PropVariant_Clear(pDest); in Detach() local
291 if (FAILED(hr)) in Detach()
292 return hr; in Detach()
303 HRESULT hr = Clear(); in InternalClear() local
304 if (FAILED(hr)) in InternalClear()
307 scode = hr; in InternalClear()
309 return hr; in InternalClear()
[all …]
/external/skia/src/utils/win/
DSkDWrite.cpp31 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in create_dwrite_factory() local
32 if (!IS_ERROR(hr)) { in create_dwrite_factory()
33 hr = ERROR_PROC_NOT_FOUND; in create_dwrite_factory()
35 HRVM(hr, "Could not get DWriteCreateFactory proc."); in create_dwrite_factory()
119 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in SkGetGetUserDefaultLocaleNameProc() local
120 if (!IS_ERROR(hr)) { in SkGetGetUserDefaultLocaleNameProc()
121 hr = ERROR_PROC_NOT_FOUND; in SkGetGetUserDefaultLocaleNameProc()
123 return hr; in SkGetGetUserDefaultLocaleNameProc()
DSkIStream.cpp149 HRESULT hr = S_OK; in Seek() local
154 hr = E_FAIL; in Seek()
161 hr = E_FAIL; in Seek()
172 hr = E_FAIL; in Seek()
178 hr = E_FAIL; in Seek()
187 hr = E_FAIL; in Seek()
193 hr = STG_E_INVALIDFUNCTION; in Seek()
200 return hr; in Seek()
246 HRESULT hr = S_OK; in Write() local
252 hr = S_FALSE; in Write()
[all …]

12345678910>>...22